Skip to main content
POST
Create Outbound Call

Create Outbound Call

Triggers a single outbound call to a phone number using the specified AI assistant. The call is dispatched immediately upon receiving the request. Requires a tenant or organization-level API key for authentication.

Headers

string
required
API key is required. Enter either your tenant-specific or organization-specific API key in the format Bearer YOUR-API-KEY

Body Parameters

string
required
Phone number to call. E.164 format is recommended (e.g. +15145551234). Must be between 10 and 20 characters.
string
required
UUID of the AI assistant to use for the call. The assistant must belong to the organization associated with the API key.
string
required
UUID of the AlloMia phone number to call from. The phone number must belong to the organization associated with the API key.
string
Name of the person being called. When provided, the AI assistant can use this to personalize the conversation.
object
Key-value pairs passed as dynamic variables to the AI assistant at call time. Values must be strings. These allow the assistant to personalize the conversation based on contextual information (e.g., patient name, appointment slot, practitioner name).
string
A URL to receive a POST webhook request when the call reaches a terminal state (completed, failed, busy, or no-answer). The payload will mirror the Get Outbound Call Status response.

Response

string
UUID uniquely identifying this outbound call record. Use this ID to poll Get Outbound Call Status and track the call’s progress.
string
UUID of the contact record created for this outbound call.
string
Initial status of the call. Always calling on success, indicating the call has been dispatched.
string
Human-readable description of the dispatched status (e.g., "Outbound call dispatched").

Example Request

Example Response

Error Responses

Returned when the request body fails validation. The details array lists each field-level error.
Returned when the API key is missing or invalid.
Returned when the API key does not have the required permissions to trigger outbound calls.
Returned when the specified assistant or phone number does not exist or does not belong to the organization.
Returned when the organization associated with the API key is inactive.