Skip to content

Queue an outbound agent call on a campaign (not generally available)

POST
/api/v2/aura/calls
curl --request POST \
--url https://api.sipstack.com/api/v2/aura/calls \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "campaignId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "to": "+14165550100", "agentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "language": "en", "externalRef": "example" }'

Queues one outbound Aura AI call on one of your campaigns. This endpoint does not dial: the number is added to the campaign as a contact, checked against your do-not-call list and consent records, and the campaign places the call inside its calling window, with its purpose, voice, caller ID and retry rules.

:::caution[Not generally available] This endpoint is not enabled for API access and returns 403 (“outbound Aura calling is not enabled for API access”). It is documented for completeness; the read endpoints above are the supported surface today. Contact support if outbound agent calling is on your roadmap. :::

When enabled, it requires the aura:write scope and a campaignId on your organization, and returns 202 with status queued (or refused with a refusedReason, for example consent_missing or internal_dnc). A number already on the campaign returns 200 with the existing contact.

Media type application/json
object
campaignId
required

An outbound Aura campaign on your organization (draft, scheduled, running or paused). The campaign sets the purpose, voice, caller ID, calling window and retries.

string format: uuid
to
required

US or Canadian destination phone number (E.164 or 10 digits). Emergency numbers are refused.

string
Example
+14165550100
agentId

Optional. When sent, it must equal the campaign’s voice agent.

string format: uuid
name

Optional contact name (≤ 120 characters).

string
language

Optional call language. Unset, Quebec numbers are called in French.

string
Allowed values: en fr
externalRef

Optional reference from your system (≤ 120 characters).

string

The number is already on the campaign; the existing contact is returned (duplicate true).

Contact queued (or refused by the pre-check) on the campaign.

Media type application/json
object
success
boolean
data
object
status
string
Allowed values: queued refused
contactId
string format: uuid
campaignId
string format: uuid
refusedReason
string
nullable
Example
{
"data": {
"status": "queued",
"refusedReason": "consent_missing"
}
}

Missing campaignId, an invalid to, or an agentId that is not the campaign’s agent.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}

Missing or invalid API key.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}

Outbound Aura calling is not enabled for API access, or the key is missing the aura:write scope.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}

The campaign is not one of yours.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}

The campaign is completed, cancelled or suspended.

Media type application/json

Inline error shape used by the messaging API and management endpoints.

object
success
boolean
error
string
Example
{
"success": false,
"error": "Recipient phone number (to) is required"
}