Skip to main content
POST
/
calls
Start outbound call
curl --request POST \
  --url https://api.helloannie.com/v1/calls \
  --header 'Content-Type: application/json' \
  --data '
{
  "fromNumber": "+15551234567",
  "toNumber": "+15559876543",
  "patientInfo": {
    "firstName": "Sarah",
    "lastName": "Johnson",
    "dateOfBirth": "1988-03-22T00:00:00.000Z",
    "patientId": "PAT-10432"
  },
  "appointmentInfo": {
    "startTime": "2025-03-10T15:00:00-06:00",
    "endTime": "2025-03-10T15:30:00-06:00",
    "appointmentTypeId": "apt-type-cleaning",
    "appointmentDescription": "6-month routine cleaning and exam",
    "appointmentId": "81260683"
  },
  "context": "Confirming upcoming cleaning appointment scheduled for March 10th at 3:00 PM",
  "voicemailMessage": "Hi, this is Annie from Bright Smile Dental. Please call us back."
}
'
{
  "success": true,
  "data": {
    "conversationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.helloannie.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

Request body for starting an outbound call

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 (must be in the allowed allowlist)

Example:

"+15559876543"

patientInfo
object

Patient information for the call

Example:
{
"firstName": "Sarah",
"lastName": "Johnson",
"dateOfBirth": "1988-03-22T00:00:00.000Z",
"patientId": "PAT-10432"
}
appointmentInfo
object

Appointment information for context during the call

Example:
{
"startTime": "2025-03-10T15:00:00-06:00",
"endTime": "2025-03-10T15:30:00-06:00",
"appointmentTypeId": "apt-type-cleaning",
"appointmentDescription": "6-month routine cleaning and exam",
"appointmentId": "81260683"
}
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."

Response

Response returned when an outbound call is successfully initiated

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

Data returned when an outbound call is successfully initiated