API Endpoint
Request Headers
Request Body
List of calls to queue. Minimum 1, maximum 100 per request. Each item must include
phoneNumber and optionally promptVariables and metadata.The phone number to call (e.g.,
"966501234567"). Must match your SIP trunk’s outbound format.Dynamic variables injected into the agent’s prompt for this specific call. Key-value pairs of strings.
Example Request
Example Request
Response
DEDUPE — duplicate phone numbers within the same request are dropped. SPACED — duplicates are allowed but spaced 10 minutes apart.Calls queued with a future scheduled time (only applies in
SPACED mode for duplicates).Calls dropped because the same phone number already appeared earlier in the request (only in
DEDUPE mode).Example Response
Example Response
Duplicate Handling
The duplicate policy is configured per company in the dashboard. The default isDEDUPE.
DEDUPE (default): If the same phone number appears more than once in a single request, only the first occurrence is queued. The rest are dropped with action: "deduped".
SPACED: All occurrences are queued but spaced 10 minutes apart. Later duplicates will have action: "queued_later" with a scheduledFor timestamp.
Error Handling
Top-level error message when the entire request fails (e.g., agent not found, missing SIP trunk).
data.items with action: "failed" and a reason field — they do not cause the whole request to fail.
Common Errors
Example Partial Failure Response
Example Partial Failure Response
Webhooks
Real-time Call Events
Subscribe to webhooks to receive real-time notifications for each call in the batch. All calls in a batch share the same
webhookId.