Skip to main content
GET
/
api
/
v1
/
calls
/
{callId}
Get call
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/calls/{callId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "callId": "<string>",
  "orgId": "<string>",
  "agentId": "<string>",
  "endpoint": "<string>",
  "status": "Unknown",
  "recordId": "<string>",
  "completedTime": "2023-11-07T05:31:56Z",
  "inspectorUrl": "<string>"
}

Path Parameters

callId
string
required

Call identifier

Response

Returns the call details successfully

Information about a completed call including final status, recording, and inspection details. Used for post-call analysis, quality assurance, and retrieving conversation recordings.

callId
string | null
required

Unique identifier of the completed call.

orgId
string | null
required

Organization that owns this call.

agentId
string | null
required

Agent that handled this call.

endpoint
string | null
required

Phone number or SIP endpoint that was called.

status
enum<string>

Final status of the call. Typically Completed (successfully finished) or Failed (error occurred during the call).

Available options:
Unknown,
Created,
Pending,
Queued,
Completed,
Failed,
Canceled,
Running
recordId
string | null

Identifier for the call recording if recording was enabled. Use this ID to retrieve or download the audio recording of the conversation. Null if recording was not enabled or the recording is not yet available.

completedTime
string<date-time> | null

Timestamp when the call completed (ended or failed). Null if the call is still in progress or was never started.

inspectorUrl
string | null

URL to the call inspector interface for analyzing conversation flow, agent behavior, and call quality. Provides detailed debugging and analysis tools for understanding call execution. Null if inspector is not available for this call.