ResoneraDocs
Campaigns

Get a campaign

GET
/campaigns/{campaign_id}

Returns a campaign and contacts_by_status, the number of contacts in each status (pending, initiated, completed, no_answer, busy, failed, do_not_call). Calling is finished when no contacts are pending or initiated, and the campaign then changes to completed.

waiting_reason explains why a running campaign is not placing calls. paused_reason explains why the system paused a campaign.

Requires the calls:read scope.

Authorization

apiKey
headerX-API-Key<token>

Your API key, from Settings → API access in the dashboard.

Path Parameters

campaign_id*string

The campaign's id.

Formatuuid

Response Body

The campaign.

application/json
  1. response
id?string
Formatuuid
name?string
status?CampaignStatus
Value in"draft""scheduled""running""paused""completed"
direction?string
Value in"outbound""inbound"
agent_id?|

Null if the agent was deleted.

Formatuuid
agent_name?string
language?string
voice_name?string
campaign_prompt?string
phone_number_id?|

Inbound campaigns only.

Formatuuid
total_contacts?integer
calls_initiated?integer
calls_completed?integer
calls_failed?integer
scheduled_at?|

When a scheduled campaign starts.

Formatdate-time
waiting_reason?|

Why a running campaign is not placing calls: outside its calling hours, all lines in use, or only retries remaining that are not yet due.

Value in"calling_hours""concurrency""retry"null
paused_reason?|

Set when the system paused the campaign (out of minutes). Null when you paused it.

Value in"minutes"null
max_attempts?integer
retry_delay_minutes?integer
call_window_start?string
call_window_end?string
call_timezone?string
created_at?string
Formatdate-time
updated_at?string
Formatdate-time
contacts_by_status?
curl -X GET "https://example.com/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "3f1d9a52-7c0e-4b8a-a1f3-5e2c9d8b7a64",  "name": "October leads",  "status": "running",  "direction": "outbound",  "agent_id": "8b8e3307-2c1a-4f6e-9a51-0d7c2b9e4f10",  "agent_name": "Neha",  "language": "hi-IN",  "voice_name": "neha_chariot",  "campaign_prompt": "Qualify the lead and offer a demo this week.",  "phone_number_id": null,  "total_contacts": 120,  "calls_initiated": 80,  "calls_completed": 68,  "calls_failed": 9,  "created_at": "2026-10-05T08:30:00+00:00",  "updated_at": "2026-10-05T09:14:13+00:00",  "contacts_by_status": {    "pending": 40,    "initiated": 3,    "completed": 68,    "failed": 9  }}