Overview
The Outbound Calls API allows you to programmatically trigger AI-powered outbound phone calls to any contact and monitor their status in real time. These endpoints require either a tenant-level or organization-level API key for authentication.Available Endpoints
Create Outbound Call
Trigger an immediate outbound call to a phone number using a specified AI assistant
Get Outbound Call Status
Retrieve the current status and details of a previously created outbound call
Authentication
All Outbound Call API endpoints require a tenant-level or organization-level API key in the format:How It Works
-
Create a call — Send a
POST /api/outboundrequest with the target phone number, AI assistant ID, and outbound phone number ID. The call is dispatched immediately and you receive anoutboundCallIdin the response. -
Monitor the call — Poll
GET /api/outbound/{id}/statususing theoutboundCallIdto track the call’s progress. The status transitions fromcallingto a terminal state (completed,failed,busy, orno-answer). -
Receive a webhook (optional) — If you provide a
callbackUrlwhen creating the call, AlloMia will send aPOSTrequest to that URL when the call reaches a terminal state.
Data Structures
Outbound Call Request
Outbound Call Response
Call Status Object
Call Status Values
callDetails Object (terminal states only)
Using Dynamic Variables
Dynamic variables allow you to pass contextual information to the AI assistant at call time. The assistant can use these values to personalize the conversation — for example, addressing the patient by name or referencing a specific appointment.Webhook Callback
When you provide acallbackUrl, AlloMia sends a POST request to that URL when the call reaches a terminal state. The payload mirrors the response from Get Outbound Call Status: