Calls
Get Call
Fetch the full record for a single call, including status, duration, agent details, and once available, the recording URL and transcript.
GET
Get a call
Fetches the complete record for a single call by
call_id. The response includes the call’s current status, the destination and source numbers, the assigned agent_id, timestamps for when the call was placed and when it ended, and, once the call reaches a terminal state, the duration, recording URL, and transcript. Use this endpoint to poll for completion after triggering a call, render a call detail page, or sync per-call data into a downstream system.
When to use this
- Synchronous workflows: trigger a call and poll until it reaches a terminal status before continuing.
- Operational dashboards: render a call detail view with status, duration, and the linked agent.
- CRM sync: write back the call outcome to the customer record the call was made for.
Polling vs. webhooks
For production traffic, webhooks are the preferred way to know when a call has ended, they avoid the request volume and latency of repeated polling. Subscribe tocall.completed and call.failed via Create Webhook and use this endpoint only when you specifically need to fetch the latest state on demand (for example, a user opens a call detail page).
When polling is required, the call’s status transitions from initiated to in-progress, then to one of completed, failed, busy, or no-answer. Poll every 5 to 10 seconds with an exponential cap; do not poll faster than once per second.
Path parameters
| Parameter | Description |
|---|---|
id | The call ID, for example call_x9y3zp4mq7r1. |
Errors
404 Not Foundis returned when the call does not exist.403 Forbiddenis returned when the API key cannot read calls on this workspace.
Request
Response
Related endpoints
- Trigger a Call: start an outbound call.
- List Calls: paginate across many calls.
- Get Call Details: full transcript and post-call analysis.
- Create Webhook: subscribe to
call.completedinstead of polling.
Authorizations
Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Response
Success.
Example:
"call_abc123"
Example:
"agt_abc123"
Example:
1
Example:
"+919876543210"
Example:
"+912234567890"
Canonical call status. Use with end_reason for final outcome review.
Available options:
created, initiated, sent, received, completed, did_not_pick, busy, no_answer, failed, cancelled, retry_expired Example:
"completed"
Example:
145
Example:
"https://recordings.dialnexa.com/call_abc123.mp3"
Example:
{
"customer_name": "Priya Sharma",
"account_id": "ACC-9912"
}Example:
"2024-03-01T10:00:00.000Z"
Example:
"2024-03-01T10:02:25.000Z"
Get a call