Skip to main content

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:
For more information on authentication, see the Authentication guide.

How It Works

  1. 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.
  2. 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).
  3. 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.

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.
The keys available depend on how your AI assistant is configured in AlloMia.

Webhook Callback

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: