List recipients
curl --request GET \ --url 'https://rocketem.fotone.io/api/v2/recipients?audience=aud_xxxxxxxxxxxx&doi_status=not_required&sort=created_at&page=1&per_page=50&include_total=false' \ --header 'Authorization: Bearer <token>'Required scope: recipients:read
Returns a paginated list of recipients from the organisation’s database.
PII fields are only included if the token has recipients:read_pii scope.
Email lookup (?email=) requires recipients:read_pii scope.
Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Query Parameters
Abschnitt betitelt „Query Parameters“Example
aud_xxxxxxxxxxxxThe audience to work on, by its identifier (aud_ plus 12 characters). The app shows it under Settings >
Preference Center (pick the audience) > General and, with Custom Audiences on, lists all under Settings > API;
GET /audiences returns them as id. The first audience’s identifier, or no
parameter, addresses the newsletter. Unknown or trashed audience: 404 audience_not_found; on an endpoint
without the parameter: 422 audience_not_supported.
Filter by exact email (requires read_pii scope)
Filter by external ID
Filter by country code (2-letter ISO)
Filter by DOI status. The read filter accepts every canonical
status including the neutral preference_only (rows created by
the preference center for connector-only recipients) — the write
endpoints deliberately do not accept preference_only.
Filter by updated_at >= (ISO 8601 date)
Filter by updated_at <= (ISO 8601 date)
Sort field. Prefix with - for DESC. Allowed: created_at, updated_at, email, first_name, last_name, order_count, total_revenue, first_order_at, last_order_at
Comma-separated list of fields to include (sparse fieldset). PII fields require read_pii scope.
Page number (default 1)
Results per page (1-100, default 50)
Include total count in meta (adds COUNT query)
Header Parameters
Abschnitt betitelt „Header Parameters“Unique key for idempotent requests. Responses cached 24h.
Responses
Abschnitt betitelt „Responses“Paginated list of recipients
object
A recipient of the list. PII fields (email, name, address, phone)
are only included if the token has recipients:read_pii scope.
The organisation’s custom fields (see GET /recipients/schema) are also
included under their own names; they are always treated as PII.
With audience the row comes from the audience table: no shop figures and no custom fields, but
birthday, source and extra (the signup form’s own fields, JSON); birthday and extra need recipients:read_pii.
object
Requires read_pii scope
Requires read_pii scope
Requires read_pii scope
Requires read_pii scope
Requires read_pii scope
Requires read_pii scope
Requires read_pii scope
Requires read_pii scope
Requires read_pii scope
Requires read_pii scope
Requires read_pii scope
Requires read_pii scope
Requires read_pii scope
1 when the language is a conscious recipient choice (preference center, or language_edited=true via PATCH). Plain API language writes no longer overwrite it.
When the DOI email was sent
When the recipient confirmed the DOI
JSON encoded
object
Only present if include_total=true
Example
{ "data": [ { "doi_status": "not_required" } ]}Invalid or missing API token
object
object
Example generated
{ "error": { "code": "example", "message": "example", "status": 1 }}Token lacks required scope
object
object
Example generated
{ "error": { "code": "example", "message": "example", "status": 1 }}Organisation not configured for API access
object
object
Example generated
{ "error": { "code": "example", "message": "example", "status": 1 }}