Authorization header as a Bearer token or the X-API-Key header.
Request Body
number
required
The numeric ID of the AI agent script you want to use for this call. You can find script IDs in your Scalysis dashboard under Scripts.
string
required
The customer’s phone number to dial. Include the country code (e.g.
+14155550123).string
Your brand name, required when the selected script references it. If you receive a
400 error with the message Missing required script variables: brand_name, add this field to your request.string
The customer’s full name. When provided, the agent can address the customer by name during the call.
string
Your internal order or reference number. Passed to the agent as context and stored on the resulting order record.
string
Free-text notes about the order or customer that the agent should be aware of during the call.
string
An optional label to associate this call with a named campaign for reporting purposes.
Example Request
Response Fields
boolean
true when the call was successfully initiated.string
The action that was performed. Always
"trigger_call" for this endpoint.number
The unique identifier assigned to this call record. Use this value with the Get Outcome endpoint to retrieve results after the call completes.
number
The ID of the script used for this call, echoed back from your request.
string
The current status of the call. Returns
"in_progress" immediately after triggering.string
A human-readable status message. Returns
"Call started" on success.