Skip to main content
POST
Initiates an outbound AI phone call by providing the destination phone number and contact details directly. Use this endpoint when you want to call any phone number without first creating a contact record. For calling an existing contact in your system, see Call a Contact instead.

Headers

string
requerido
Your API key for authentication. Found in your dashboard under API settings.

Body

string
requerido
The phone number to call from, in E.164 format (e.g. +12025551234). Must be a number registered in your organization. Use List Phone Numbers to get available numbers.
string
requerido
The destination phone number to call, in E.164 format (e.g. +14155552678).
string
requerido
Full name of the person being called. The AI agent uses this to personalize the conversation.
string
requerido
UUID of the AI agent to use for the call. Use List Agents to get available agents.
string
Email address of the contact. Passed to the agent for context.
string
Country of the contact (e.g. Mexico, United States). Passed to the agent for context.
number
Delay in minutes before placing the call. Useful for scheduling calls slightly in the future. Defaults to 0 (immediate).
object
Schedule the call for a specific date and time.
array
Key-value pairs with extra context passed to the agent (e.g. account balance, product name).
string
URL to receive call event webhooks (call started, ended, transcript ready, etc.) for this specific call.
object
Arbitrary key-value metadata to attach to the call for your own tracking purposes.

Response

string
Unique identifier for the created call.
string
UUID of the AI agent handling the call.
string
UUID of the contact associated with the call, if applicable.
string
Timestamp when the call was created (ISO 8601).

Error Codes

  • 400 Bad Request — Invalid or missing required fields
  • 401 Unauthorized — Invalid or missing API key
  • 500 Internal Server Error — Server-side error

Code Examples