Skip to main content
POST
Queue an outbound call

Authorizations

Authorization
string
header
required

An API key (annie-sk-v2-...) or an OAuth access token, sent as Authorization: Bearer <token>.

Body

fromNumber
string
required

The Annie phone number to call from (must be configured in the system)

Example:

"+15551234567"

toNumber
string
required

The phone number to call, with country code

Example:

"+15559876543"

idempotencyKey
string
required

Unique per intended call. Reuse with identical field values on retries; JSON property order is ignored, but string formatting, including phone numbers, must match. Retained for 30 days after processing.

Required string length: 1 - 128
Pattern: ^[!-~]+$
patientInfo
object

Patient information for the call

Example:
appointmentInfo
object

Appointment information for context during the call

Example:
context
string

Context about the call being initiated (e.g., appointment confirmation details)

Maximum string length: 500
Example:

"Confirming upcoming cleaning appointment scheduled for March 10th at 3:00 PM"

voicemailMessage
string

If present, Annie will leave this voicemail message when voicemail is detected

Maximum string length: 500
Example:

"Hi, this is Annie from Bright Smile Dental. Please call us back."

test
boolean
default:false

Mark this as a demo call. Test calls skip per-number limits, so you can call the same number again. Numbers on the calling organization's test phone number list are unlimited; other numbers are capped at 20 test calls per UTC day for the calling organization. Every call, including test calls, must be placed within calling hours. Test calls do not count toward per-number limits for later calls.

Example:

true

Response

Response for status 202

success
enum<boolean>
required
Available options:
true
data
object
required