Campaigns
Trigger outbound call
Place an immediate outbound campaign call via project API key
POST
Starts a real-time outbound voice call using a campaign configured in the dashboard.
Required scope:
See Authentication.
calls:create
Prerequisites
- Outbound campaign with workflow (or static script + voice) and caller ID
- Project API key with
calls:createfor the same organization and project
Authentication
string
required
Project API key with the
calls:create scope. Format: bot_live_…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 queued and dispatched.string
required
Created outbound queue ID.
string
required
Human-readable confirmation.
Errors
Bad Request
Missing/invalid body, invalid phone, or campaign not ready.
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.

