Skip to main content
PATCH
Update opportunities

Authorizations

Authorization
string
header
required

Bearer access token issued by Peerlogic.

Path Parameters

id
string
required

A unique value identifying this opportunity.

Body

application/json
is_open
boolean
status
enum<string> | null
Available options:
success,
failure,
omitted

Response

Successful response for update opportunities.

id
string
read-only
Minimum string length: 1
created_at
string<date-time>
read-only
modified_at
string<date-time>
read-only
followed_up_at
string<date-time> | null
read-only
is_open
boolean
status
enum<string> | null
Available options:
success,
failure,
omitted
trigger_type
enum<string>
read-only
Available options:
missed_call,
missed_call_existing_patient,
missed_call_cancellation_reschedule,
missed_call_current_appointment,
missed_call_non_business,
missed_call_business,
high_value_missed_call,
connected_call,
connected_call_existing_patient,
connected_call_new_patient,
connected_call_high_value,
lost_opportunity,
lost_opportunity_new_patient,
lost_opportunity_existing_patient,
lost_opportunity_high_value,
aimee_escalation,
aimee_booked,
aimee_reschedule,
aimee_cancellation,
aimee_inbound_message,
extracted_opportunity,
care_task_handed_off,
voip_integration_disconnect,
ehr_integration_disconnect,
fax_inbound_received,
fax_outbound_failed
opportunity_origin_type
enum<string>
read-only
Available options:
call_connected,
call_missed,
message_received,
voicemail_received
originated_at
string<date-time>
read-only
originating_call_id
string
read-only
resolving_call_id
string
read-only
has_any_follow_up
boolean
read-only