Make a SIP trunk call

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

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Request

This endpoint expects an object.
model_idstringRequired

Model-ID which you can obtain from your Synthflow Agent Page

to_phone_numberstringRequired
Phone number that the call goes to
namestringRequired
Name of the person that gets called
custom_variableslist of objectsOptional

Key-Value pairs of custom variables that you can dynamically inject into the prompt. Learn more.

lead_emailstringOptional
Optional email of the lead for appointment booking.
lead_timezonestringOptional

Optional time zone name of the lead for appointment booking. List of possible time zones.

team_idstringOptional
The ID of the team can be obtained by opening a team and under the name of the team you should be able to copy it

Response

200
statusstring or null
responseobject or null

Errors