Trigger an outbound agent call (not generally available)
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 '{ "agentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "to": "+14165550100" }'import requests
url = "https://api.sipstack.com/api/v2/aura/calls"
payload = { "agentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "to": "+14165550100"}headers = { "x-api-key": "<x-api-key>", "Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.json())const url = 'https://api.sipstack.com/api/v2/aura/calls';const options = { method: 'POST', headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'}, body: '{"agentId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","to":"+14165550100"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}import axios from 'axios';
const options = { method: 'POST', url: 'https://api.sipstack.com/api/v2/aura/calls', headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'}, data: {agentId: '2489E9AD-2EE2-8E00-8EC9-32D5F69181C0', to: '+14165550100'}};
try { const { data } = await axios.request(options); console.log(data);} catch (error) { console.error(error);}Triggers an outbound Aura voice-agent call for your organization.
:::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 an agentId
provisioned on your organization, and returns 202 with an
outboundCallId.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
A voice agent provisioned on your organization.
Destination phone number (optional leading +, 3–20 digits).
Example
+14165550100Responses
Section titled “ Responses ”Origination accepted (only when the feature is enabled).
object
object
Example
{ "data": { "status": "originating" }}Missing agentId or an invalid to.
Inline error shape used by the messaging API and management endpoints.
object
Example
{ "success": false, "error": "Recipient phone number (to) is required"}Missing or invalid API key.
Inline error shape used by the messaging API and management endpoints.
object
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.
Inline error shape used by the messaging API and management endpoints.
object
Example
{ "success": false, "error": "Recipient phone number (to) is required"}No Aura voice service provisioned, or agentId is not one of your agents.
Inline error shape used by the messaging API and management endpoints.
object
Example
{ "success": false, "error": "Recipient phone number (to) is required"}