Get all conversation logs
Retrieve paginated conversation logs with support for various filters. Returns call logs for agents belonging to the authenticated user's organization.
Query parameters
Page number for pagination
Number of items per page. Server-side cap is 500 — values above 500 are silently clamped.
Comma-separated list of agent IDs to filter by
Comma-separated list of campaign IDs to filter by
Comma-separated list of call types to filter by
Search query to filter by callId, fromNumber, or toNumber
Comma-separated list of call statuses to filter by. Available statuses: pending, in_progress, in_queue, processing, active, completed, failed, no_answer, cancelled
Comma-separated list of disconnect reasons to filter by. Available reasons: user_hangup, agent_hangup, connection_error, timeout, system_error, transfer_complete
Comma-separated list of call attempt types to filter by. Available filters: initial (first attempt calls), retry (retry attempt calls), all (all calls)
Comma-separated list of duration ranges to filter by. Available ranges: 0-30 (0-30 seconds), 30-60 (30-60 seconds), 1-5 (1-5 minutes), 5+ (more than 5 minutes)
Field to sort results by
Sort direction
ISO date — return calls created on or after this date
ISO date — return calls created on or before this date
Comma-separated version IDs to filter calls by the agent version that handled them
Response
Successful response
Example response
{
"status": true,
"data": {
"logs": [
{
"_id": "60d0fe4f5311236168a109ca",
"callId": "CALL-1737000000000-abc123",
"status": "completed",
"duration": 120,
"from": "+15551234567",
"to": "+15559876543",
"type": "telephony_outbound",
"agentId": "60d0fe4f5311236168a109ca",
"recordingUrl": "https://storage.example.com/recordings/call-123.mp3",
"recordingDualUrl": "https://storage.example.com/recordings/call-123-dual.mp3",
"disconnectionReason": "user_hangup",
"createdAt": "2025-01-15T10:30:00.000Z",
"dispositionMetrics": {
"interested": "yes",
"follow_up_needed": "no"
}
}
],
"pagination": {
"total": 150,
"page": 1,
"limit": 10,
"hasMore": true,
"totalPages": 15
}
}
}