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.
Create a call — Send a POST /api/outbound request with the target phone number, AI assistant ID, and outbound phone number ID. The call is dispatched immediately and you receive an outboundCallId in the response.
Monitor the call — Poll GET /api/outbound/{id}/status using the outboundCallId to track the call’s progress. The status transitions from calling to a terminal state (completed, failed, busy, or no-answer).
Receive a webhook (optional) — If you provide a callbackUrl when creating the call, AlloMia will send a POST request to that URL when the call reaches a terminal state.
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.
When you provide a callbackUrl, 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: