Skip to main content
GET
Export campaign recipients

Authorizations

Authorization
string
header
required

Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.

Path Parameters

campaignId
string
required

Identifier for the campaign.

Query Parameters

projectId
string<uuid>

Project the campaign belongs to. Required with a team API key; a project token is bound to its own project and omits it.

Value constraints

status
enum<string>

Current status of this resource or operation.

Allowed values

Available options:
queued,
sending,
sent,
delivered,
read,
failed,
skipped
reason
enum<string>

Only recipients whose failureReason is this code.

Allowed values

Available options:
opted_out,
cold_held,
campaign_cancelled,
invalid_recipient,
session_not_connected,
ack_timeout,
blocked_by_safety,
send_failed,
missing_variable,
other
cursor
string

Specifies cursor for this query parameter.

Value constraints

Required string length: 1 - 256
limit
integer
default:1000

Specifies limit for this query parameter.

Value constraints

Required range: 1 <= x <= 1000

Response

One CSV page.

Header row, then one row per recipient. Columns: recipientId, phone, status, failureReason, attempts, variantKey, queuedAt, sentAt, deliveredAt, readAt, failedAt, respondedAt. Times are ISO 8601 in UTC. Empty fields are null. Text that begins with =, +, -, @, tab or carriage return is prefixed with an apostrophe, including phone numbers in international format. Machine readers should remove that leading apostrophe from phone cells.