Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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.

  • No labels