Skip to main content
POST

Request

Initiate an outbound call to a phone number using a specified agent.

Headers

string
required
Bearer token for authentication. Format: Bearer YOUR_API_KEY
string
required
Must be application/json

Body Parameters

string
required
The destination phone number in E.164 format (e.g., +14155551234)
string
required
The ID of the agent to use for this call
string
The phone number to call from. Must be a number you own. Defaults to your primary number.
object
Custom key-value pairs to attach to the call for your reference
string
URL to receive real-time call events. Overrides account-level webhook settings.
boolean
default:"true"
Whether to record the call
integer
default:"3600"
Maximum call duration in seconds (1-3600)

Response

string
Unique identifier for the call
string
Current status: queued, ringing, in_progress, completed, failed
string
The destination phone number
string
The agent ID used for the call
string
ISO 8601 timestamp of when the call was created

Error Codes