Skip to main content
Trigger outbound voice calls from your agents — pass details straight into the agent as variables it can use during the conversation. This is the API’s automation payoff: fire a call from your own systems when a lead comes in.

List phone numbers

Returns the phone numbers in your workspace. Use a number’s id as the fromPhoneNumberId when placing a call.
array

Place an outbound call

Requires the Scale plan (write access).
Places a call from the given agent, using one of your phone numbers. Any dynamicVariables you pass are available to the agent as {{variables}} during the call — for example a lead’s name or the reason for the call.
string
required
The agent to call from.
string
required
The number to call, with country code (e.g. +15551234567).
string
required
The phone number to call from (an id from List phone numbers). It must be assigned to this agent.
object
Key–value pairs passed into the agent as {{variables}}. Values may be strings, numbers, or booleans.
string
Override the agent’s opening line for this call only.
The call is placed and a 202 is returned with the conversationId. You can fetch its transcript afterward from Get a conversation.

Common errors

Placing a call spends usage credits, just like a call started any other way. Make sure the destination number and agent are correct before calling in a loop.