Campaigns
List campaign recipients
Permission
campaigns:readAuthenticationGET
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.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidcursor?stringOpaque pagination cursor from a previous response's next_cursor.
limit?integerRange
1 <= value <= 200Default
50status?stringReturn only recipients in this status.
Value in
"pending""queued""calling""completed""failed""canceled""excluded"Matching recipients.
application/json- response
data*array<>next_cursor*string|nullcurl -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"}