List Campaigns

List all campaigns for the authenticated user.

GET/campaigns

List all campaigns with optional status filtering.

Query Parameters

Filter by status (draft, running, paused, completed)
Max results to return
Pagination offset

Query Parameters

ParameterTypeDefaultDescription
statusstringAllFilter by: draft, running, paused, completed, failed
limitinteger20Maximum number of campaigns to return
offsetinteger0Pagination offset

Response 200

{
  "campaigns": [
    {
      "id": "camp_a1b2c3d4",
      "name": "Follow-up Campaign",
      "status": "running",
      "type": "voice",
      "agent_id": "ag_c47e7c97_b2f2",
      "total_contacts": 150,
      "completed": 45,
      "failed": 3,
      "created_at": "2026-03-07T14:00:00Z"
    }
  ],
  "total": 1
}

Response Fields

FieldTypeDescription
campaigns[].idstringCampaign ID
campaigns[].namestringCampaign name
campaigns[].statusstringdraft, running, paused, completed, failed
campaigns[].typestringvoice or sms
campaigns[].total_contactsintegerTotal contacts in the campaign
campaigns[].completedintegerSuccessfully reached contacts
campaigns[].failedintegerFailed contact attempts

Errors

CodeDescription
401Missing or invalid authentication

On this page