Make Agent Outbound Call

Introduction

Description: Makes an outbound call to a specific destination on behalf of an Agent logged into CX. Supports any Agent CX extension type.

scope: cx.agent-calls

API Request

curl -XPOST --location 'https://cpaas.sangoma.com/cx/api/v1/agents/call/' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer <YOUR_ACCESS_TOKEN>' \ --data '{ "agent_name": "agent.test", "destination": "9001", "tenant_domain": "acme.cx.sangoma.com" }'

Note: Replace <YOUR_ACCESS_TOKEN> with your Access Token obtained from the Requesting Access Token authentication step detailed in API Authentication .

This API call will enable the specified agent (agent_name) within the tenant_domain to make calls to the provided destination.

Return to Documentation Home I Return to Sangoma Support