Skip to main content
POST
Trigger an AI outbound contact

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Client-Id
string
required

The location id of the practice

Body

application/json

The AI outbound contact to trigger

Provide contact_number to identify the target client. client_id may also be supplied to resolve the client directly.

purpose
enum<string>
required

The reason for the outreach. Required.

Available options:
scheduling,
callback_followup,
refill,
general
contact_number
string
required

The client's phone number in E.164 or local format. Required.

channel
enum<string>
default:sms

The outreach channel. Defaults to sms.

Available options:
sms,
voice
client_id
string

Oliver's identifier for the target client. Optional; resolves the client directly.

client_name
string

Client name used to disambiguate when a contact_number is shared across multiple client records (e.g. a household).

patient_id
string

Oliver's identifier for the patient the outreach concerns, if applicable.

patient_name
string

Patient name, used to match a patient within the resolved client.

context
string

Free-text context that guides the AI opener (e.g. "overdue for annual wellness exam").

initial_message_script
string

The exact opening message for the AI to send. If provided, Oliver uses it verbatim; otherwise Oliver generates an opener based on the purpose.

partner_request_id
string

Your idempotency key. Re-submitting the same value returns the existing request instead of creating a new one.

callback_url
string<uri>

HTTPS URL that receives the outcome webhook when the request reaches a terminal status. Must begin with https://.

Response

Request suppressed, or an existing request returned for a duplicate partner_request_id

success
boolean
required
data
object
required
message
string | null