Skip to main content
POST
Queues an outbound voice call on a campaign configured in the dashboard. The call follows the campaign’s rules:
  • Calling hours: inside the campaign’s calling hours the call starts right away. Outside them it waits for the next window.
  • Capacity: if every calling slot is busy, the call waits in the campaign queue and starts when one frees up.
  • Retries: unanswered calls are retried using the campaign’s retry settings.
To call at any time of day, widen the campaign’s calling hours. Required scope: calls:create

Prerequisites

  • Outbound campaign with workflow (or static script + voice) and caller ID
  • Project API key with calls:create for the same organization and project
You do not need a dial list or to start the campaign for API-triggered calls.

Authentication

string
required
Project API key with the calls:create scope. Format: bot_live_…
See Authentication.

Path parameters

string
required
Organization ID. Must match the API key.
string
required
Project ID. Must match the API key.
string
required
Outbound campaign ID.

Body

Send a JSON object representing the customer. Extra fields are available in prompts as {{ customer.<key> }}.
string
required
Destination number. Prefer E.164 (for example +14155552671).
string
Optional display name ({{ customer.name }}).
string
Optional email ({{ customer.email }}).
string | number | boolean
Any additional keys (for example order_id) are available as {{ customer.order_id }}.

Response

boolean
required
true when the call was accepted (started or queued).
string
required
Campaign queue ID for this call.
string
required
Human-readable confirmation.
boolean
required
false when the call has started. true when it is waiting: for the campaign’s calling hours, for a free calling slot, or because a call to this number is already queued.
string
When the call is waiting for the campaign’s calling hours, the ISO 8601 time it will be placed.

Errors

Bad Request
Missing/invalid body, invalid phone, campaign not ready, or campaign past its end date.
Unauthorized
Missing, invalid, or revoked API key.
Forbidden
Missing calls:create, or key does not match org/project.
Not Found
Campaign not found.
Internal Server Error
Unexpected dispatch failure.