Voip Calls API
This page contains details on how to trigger voip calls through an API and check their status
Triggering Calls through API
curl --location 'https://voicehub.dataqueue.ai/api/v1/calls/api-call' \
--header 'x-dq-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"to": "<voip-call-phone-number-destination>",
"agentId": "<agent-id-to-be-used>"
"context": {<json-dict-of-context>}
"scheduledAt": "yyyy-mm-ddThh:mm",
"from": "<voip-call-phone-number-source>",
}'{
"id": "<generated-call-id>",
"status": "<call-status>", // Queued or Scheduled
"type": "voip"
}Checking status of the call
Getting the call Recording
Last updated