Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | integer | The campaign ID. |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number. Defaults to 1. |
per_page | integer | Results per page. Defaults to 50. |
Response
{
"success": true,
"data": {
"attempts": [
{
"id": 101,
"campaign_id": 1,
"lead_id": 42,
"call_sid": "qall_abc123def456",
"started_at": "2025-01-15T14:30:00",
"ended_at": "2025-01-15T14:31:45",
"duration_seconds": 105,
"outcome": "answered",
"amd_status": "HUMAN",
"amd_cause": null,
"consent_dtmf": "1",
"consent_result": "accepted",
"error_message": null,
"created_at": "2025-01-15T14:30:00"
},
{
"id": 100,
"campaign_id": 1,
"lead_id": 38,
"call_sid": "qall_xyz789ghi012",
"started_at": "2025-01-15T14:28:00",
"ended_at": "2025-01-15T14:28:12",
"duration_seconds": 12,
"outcome": "voicemail_dropped",
"amd_status": "MACHINE",
"amd_cause": "LONGGREETING",
"consent_dtmf": null,
"consent_result": "skipped",
"error_message": null,
"created_at": "2025-01-15T14:28:00"
}
],
"total": 2,
"page": 1,
"page_size": 50,
"total_pages": 1
}
}
Attempt Fields
| Field | Type | Description |
|---|---|---|
id | integer | Unique attempt identifier. |
campaign_id | integer | The parent campaign. |
lead_id | integer | The lead this attempt was made for. |
call_sid | string | Unique call session identifier. |
started_at | string | ISO 8601 timestamp when the call was initiated. |
ended_at | string | ISO 8601 timestamp when the call ended. null if still in progress. |
duration_seconds | integer | Total call duration in seconds. null if still in progress. |
outcome | string | Final result of the attempt. See Stats for the full list of outcomes. |
amd_status | string | AMD result: HUMAN or MACHINE. null if AMD was disabled. |
amd_cause | string | AMD detection reason (e.g., LONGGREETING, INITIALSILENCE). null for human-answered calls. |
consent_dtmf | string | The DTMF key pressed by the callee (e.g., 1). null if consent was not enabled. |
consent_result | string | Consent outcome: accepted, denied, timeout, or skipped. |
error_message | string | Human-readable error description if the attempt failed. |