Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | integer | The campaign ID. |
Response
{
"success": true,
"data": {
"lead_states": {
"pending": 120,
"leased": 0,
"dialing": 2,
"amd_pending": 1,
"in_progress": 3,
"completed": 85,
"failed": 12,
"canceled": 5
},
"attempt_outcomes": {
"answered": 78,
"no_answer": 30,
"busy": 8,
"failed": 4,
"error": 2,
"voicemail_dropped": 15,
"machine_detected": 22,
"consent_denied": 3,
"consent_timeout": 1,
"canceled": 5
}
}
}
Lead States
| State | Description |
|---|---|
pending | Waiting to be dialed. |
leased | Reserved by the scheduler for dialing. |
dialing | Call is currently being placed. |
amd_pending | Call connected, awaiting AMD result. |
in_progress | Live call connected to the AI assistant. |
completed | Call finished successfully. |
failed | Call failed (no answer, busy, error). |
canceled | Lead was manually canceled or canceled by campaign stop. |
Attempt Outcomes
| Outcome | Description |
|---|---|
answered | Call was answered by a human and connected to AI. |
no_answer | No one picked up within the ring timeout. |
busy | Line was busy. |
failed | Call could not be placed (network/provider error). |
error | Internal system error during the call. |
voicemail_dropped | Answering machine detected; voicemail was left. |
machine_detected | Answering machine detected; call was hung up. |
consent_denied | Callee declined consent via DTMF. |
consent_timeout | Callee did not respond to consent prompt in time. |
canceled | Attempt was canceled before completion. |