Make SIP Trunk Call
POST
https://api.anunzi.net/v2/agent/make_call_sip_outbound
Initiates a real-time phone call through the AI assistant using SIP (Session Initiation Protocol). This method is intended for VoIP-based integrations, allowing direct calls through SIP trunking instead of traditional phone networks.
Body Parameters
model_id
string
Yes
The Model-ID, which can be obtained from your Anunzi Agent Page.
to_phone_number
string
Yes
The SIP-enabled phone number or VoIP endpoint that the assistant will call.
name
string
Yes
Name of the person being called.
custom_variables
array of objects
No
Key-value pairs of custom variables dynamically injected into the prompt.
lead_email
string
No
Optional email of the lead for appointment booking.
lead_timezone
string
No
Optional time zone of the lead for appointment booking.
team_id
string
No
The ID of the team, which can be copied from the team details section.
Example Request (cURL)
Example Response (200 OK)
Status Codes
200
SIP call initiated successfully.
400
Bad Request. Invalid or missing parameters.
Última actualización
¿Te fue útil?