Skip to Content
Campaigns

List campaign recipients

Permissioncampaigns:readAuthentication
GET
/campaigns/{id}/recipients

Lists the campaign's recipient rows in file order, each with its dial status and — once fed — the outbound job it produced. Excluded rows (rejected at import, or blocked by the do-not-call register at dial time) are included and carry an exclusion_reason.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Path Parameters

id*string
Formatuuid

Query Parameters

cursor?string

Opaque pagination cursor from a previous response's next_cursor.

limit?integer
Range1 <= value <= 200
Default50
status?string

Return only recipients in this status.

Value in"pending""queued""calling""completed""failed""canceled""excluded"

Response Body

Matching recipients.

application/json
  1. response
data*array<>
next_cursor*string|null
Example Request
curl -X GET 'https://api.kejue.co/v1/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/recipients'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "campaign_id": "78614b6c-fe7c-41e2-8e25-c9b3a3c91904",      "row_number": 1,      "phone_e164": "string",      "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",      "variables": {        "property1": "string",        "property2": "string"      },      "status": "pending",      "exclusion_reason": "string",      "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}