Text Calls API
This page contains details on how to trigger text calls through an API that you can continue at any time with the agent.
Triggering Calls through API
curl --location 'https://voicehub.dataqueue.ai/api/v1/calls/text-call' \
--header 'x-dq-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"callId": "<this-is-sent-to-continue-on-specific-conversation>",
"agentId": "<agent-id-to-be-used>"
"context": {<json-dict-of-context>}
"userText": "<text-to-be-sent-to-agent>"
}'{
"callId": "<generated-call-id>",
"answer": "<text-answer-from-agent>"
}Streaming responses
Last updated