Introduction
Description: You can place a call - initiated as Outbound - to a specific destination and, when answered, it will be treated as a regular Inbound Queue Call, waiting in the Queue to be answered by an agent.
scope: cx.queue-calls
API Request
curl -XPOST --location 'https://cpaas.sangoma.com/cx/api/v1/queues/call/' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer <YOUR_ACCESS_TOKEN>' \ --data '{ "queue_name": "queue_test", "destination": "9001", "tenant_domain": "acme.cx.sangoma.com" }'
Note: Replace <YOUR_ACCESS_TOKEN>
with your Access Token obtained from the authentication step.
This API call will enable the specified Queue (queue_name
) within the tenant_domain
to make calls to the provided destination
.