Make a SIP trunk call

Initiates a real-time phone call through the AI assistant.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
model_idstringRequired

Agent ID. You can find it on the agent’s page in your dashboard.

to_phone_numberstringRequired
Call recipient's phone number.
namestringRequired
Call recipient's name.
custom_variableslist of objectsOptional

The key and value pairs of custom variables that you can dynamically inject into the prompt. For more details, see Custom variables.

lead_emailstringOptional
The customer's email that can be used to book an appointment.
lead_timezonestringOptional

The customer’s time zone that can be used to book an appointment. For a list of all available time zones, see Time zones.

Response

200
statusstring or null
responseobject or null

Errors