Skip to main content
GET
/
call-logs
/
{id}
/
details
Get call details
curl --request GET \
  --url https://api.dialnexa.com/v1/call-logs/{id}/details \
  --header 'Authorization: Bearer <token>'
{
  "id": "log_abc123",
  "call_id": "call_abc123",
  "agent_id": "agt_abc123",
  "status": "completed",
  "sentiment": "positive",
  "duration_seconds": 145,
  "recording_url": "https://recordings.dialnexa.com/call_abc123.mp3",
  "transcript": "Agent: Hello! How can I help you today?\nUser: I need to check on my order status.\nAgent: Of course! Can I get your order number?",
  "analysis": {
    "customer_satisfaction": 8,
    "issue_resolved": true
  },
  "timeline": [
    {
      "event": "call_started",
      "timestamp": "2024-03-01T10:00:00.000Z"
    },
    {
      "event": "call_answered",
      "timestamp": "2024-03-01T10:00:05.000Z"
    },
    {
      "event": "call_ended",
      "timestamp": "2024-03-01T10:02:25.000Z"
    }
  ],
  "created_at": "2024-03-01T10:00:00.000Z"
}
Returns the full detail view for a completed call. This is the richest response in the Calls API, and includes:
  • Transcript: A full text transcript of the conversation, speaker-labeled.
  • Recording URL: A link to the audio recording (if enabled).
  • Post-call analysis: Any custom fields your agent extracted from the transcript (e.g., sentiment, intent, CSAT score, whether an appointment was booked).
  • Timeline events: Key moments in the call such as when the agent spoke, when the caller interrupted, and when tools were invoked.

When to use this

Use this endpoint when you need to display a call’s full transcript in your dashboard, push extracted data to your CRM, or audit an agent’s behavior on a specific call. For bulk analytics, use List Call Logs with filters rather than fetching details for each call individually.

Request

curl "https://api.dialnexa.com/v1/call-logs/call_x9y3zp4mq7r1/details" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "id": "call_x9y3zp4mq7r1",
  "status": "completed",
  "duration_sec": 142,
  "sentiment": "positive",
  "recording_url": "https://storage.dialnexa.com/recordings/call_x9y3zp4mq7r1.wav",
  "transcript": [
    { "role": "agent",  "text": "Hi Priya, thanks for calling Acme Corp! How can I help you today?" },
    { "role": "user",   "text": "Hi, I saw your ad and wanted to learn more about the enterprise plan." },
    { "role": "agent",  "text": "Great! I have a few quick questions to see if it is a good fit." }
  ],
  "analysis": {
    "qualified": true,
    "follow_up_booked": false
  },
  "created_at": "2024-05-01T14:22:00.000Z",
  "ended_at":   "2024-05-01T14:24:22.000Z"
}

Authorizations

Authorization
string
header
required

Pass your API key as a Bearer token in the Authorization header.

Path Parameters

id
string
required

Response

200 - application/json

Success.

id
string
Example:

"log_abc123"

call_id
string
Example:

"call_abc123"

agent_id
string
Example:

"agt_abc123"

status
enum<string>
Available options:
created,
initiated,
sent,
received,
completed,
did_not_pick,
busy,
no_answer,
failed,
cancelled,
retry_expired
Example:

"completed"

sentiment
string
Example:

"positive"

duration_seconds
integer
Example:

145

recording_url
string
Example:

"https://recordings.dialnexa.com/call_abc123.mp3"

transcript
string
Example:

"Agent: Hello! How can I help you today?\nUser: I need to check on my order status.\nAgent: Of course! Can I get your order number?"

analysis
object
Example:
{
"customer_satisfaction": 8,
"issue_resolved": true
}
timeline
object[]
Example:
[
{
"event": "call_started",
"timestamp": "2024-03-01T10:00:00.000Z"
},
{
"event": "call_answered",
"timestamp": "2024-03-01T10:00:05.000Z"
},
{
"event": "call_ended",
"timestamp": "2024-03-01T10:02:25.000Z"
}
]
created_at
string<date-time>
Example:

"2024-03-01T10:00:00.000Z"