Campaigns
Check Progress
Read a campaign's progress, list its recipients and their outcomes, and re-check a deadline.
Get a campaign
curl https://api.tryvox.io/v1/voice/accounts/$TRYVOX_AUTH_ID/campaigns/$CAMPAIGN_ID \
-u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN{
"data": {
"campaign": {
"id": "b91963bd-6dd3-430d-9a11-0cc57ada16cb",
"name": "December renewals",
"target_type": "ai_agent",
"status": "running",
"from_number": "+912250658839",
"max_concurrent": 3,
"complete_within_seconds": 7200,
"total_recipients": 2000,
"started_at": "2026-11-19T09:00:00Z",
"created_at": "2026-11-19T08:29:35Z"
},
"progress": {
"total": 2000,
"pending": 1740,
"dialing": 3,
"done": 251,
"failed": 6,
"answered": 228,
"no_answer": 19,
"busy": 4,
"failed_outcome": 6,
"unknown": 0
},
"eta": {
"feasible": true,
"required_channels": 3,
"available_channels": 5
},
"edit": { "editable": false, "target_locked": true, "reason": "pause the campaign to change its settings" }
}
}progress
The first five fields are where recipients are; they sum to total.
| Field | Meaning |
|---|---|
pending | Not dialled yet, including anything waiting on a retry. |
dialing | Calls up right now. |
done | Finished — the call completed, whatever the outcome. |
failed | Could not be dialled, and will not be retried. |
The remaining fields are how the finished calls went, and sum to roughly done + failed.
| Field | Meaning |
|---|---|
answered | Someone picked up. |
no_answer | Rang out. |
busy | Line busy. |
failed_outcome | The call was placed but did not connect. |
unknown | The call ended without a reported outcome — see the note below. |
eta
Present only when the campaign has a deadline. required_channels is what finishing on time would take at about 58 seconds per attempt; available_channels is what your account has. When feasible is false the object also carries achievable_in and a message explaining the gap in words.
edit
What you are allowed to change right now. See Start, Pause and Edit.
List campaigns
curl "https://api.tryvox.io/v1/voice/accounts/$TRYVOX_AUTH_ID/campaigns?limit=20" \
-u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKENNewest first. limit defaults to 50, maximum 200. The list carries the summary fields only — name, status, totals and timestamps; call the single-campaign endpoint for progress.
List recipients
curl "https://api.tryvox.io/v1/voice/accounts/$TRYVOX_AUTH_ID/campaigns/$CAMPAIGN_ID/recipients?status=failed&limit=100" \
-u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN| Query | Description |
|---|---|
status | Filter: pending, dialing, done, failed, skipped, cancelled. |
limit | Default 50, maximum 500. |
offset | For paging. |
{
"data": {
"recipients": [
{
"id": "a4b1…",
"phone_number": "+919876543210",
"client_ref": "CUST-1001",
"variables": { "name": "Asha", "due_date": "2026-12-01" },
"status": "done",
"attempts": 1,
"outcome": "answered",
"dialed_at": "2026-11-19T09:04:12Z"
},
{
"id": "c7f2…",
"phone_number": "+919123456789",
"client_ref": "CUST-1002",
"status": "failed",
"attempts": 1,
"outcome": "failed",
"error": "integration has no number to call from"
}
],
"total": 2000,
"limit": 100,
"offset": 0
}
}total is the count matching your filter, not the campaign total, so you can page through just the failures.
Rows come back with the most recent activity first and the not-yet-dialled after, which keeps the order stable as a campaign progresses instead of rows jumping between pages when their status changes.
error carries the reason a recipient failed, in the words of whatever refused it. For AI campaigns that is the provider's own message.
Re-check a deadline
curl https://api.tryvox.io/v1/voice/accounts/$TRYVOX_AUTH_ID/campaigns/$CAMPAIGN_ID/feasibility \
-u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKENThe same assessment start runs, without starting anything. Useful after adding recipients to a campaign that already has a deadline — the maths changes with the list.
{
"data": {
"eta": {
"feasible": false,
"required_channels": 17,
"available_channels": 3,
"achievable_in": "5h22m0s",
"message": "1000 calls by that deadline needs about 17 concurrent channels at 58s per attempt, and this account has 3. Either allow about 5h22m0s, or add 14 more channels."
}
}
}A campaign with no deadline returns {"data": {"eta": null, "message": "this campaign has no deadline set"}}.
Per-call detail
A campaign reports the outcome of each call, not its transcript or recording. For the call itself:
- VoxML campaigns — your
hangup_urlreceives the full CDR for every call, and the call appears under Get Call and in your CDRs. - AI campaigns — the conversation, transcript and recording live with your provider, and reach TryVox over the integration webhook. Set
client_refon each recipient and it is carried on the call, which is what lets you match a conversation back to the row it came from.
When an outcome is unknown
A call is recorded as unknown when it ended but nothing told TryVox how it went — most often because the AI provider's post-call webhook did not arrive. The recipient is still finished; only the outcome is missing, and a campaign configured to retry unknown will dial it again.
If you see this across a whole AI campaign, check that your provider's post-call webhook is configured and pointing at TryVox.