List contact subscriptions to lists

One row per contact-to-list subscription, carrying the contact id, the list id, the subscription status and its dates. Filter with contact to see every list one contact is on, with status to see the subscriptions in one state, or with sourceIds to see the subscriptions created through given sources, for example imports. There is no filter by list: a listid parameter is ignored and the unfiltered rows come back. There is no filter by date. Order parameters are ignored too: rows come back in table order whatever orders[...] is sent. meta.total is the number of subscription rows that match, as a string, not a number of contacts. To list or count the contacts on a list, use GET /contacts with listid, adding status for one membership status and meta=only for a count without records. 20 rows per request by default and at most 100; page with offset.

Query Params
int32

Return only the subscriptions of this contact id.

int32
enum

Return only subscriptions in this state: 0 unconfirmed, 1 active, 2 unsubscribed, 3 bounced.

Allowed:
sourceIds
array of int32s

Return only subscriptions created through these sources. Repeat the key for several values: sourceIds[]=1&sourceIds[]=5. A comma-separated value is not split: only its first number is used. Values: 0 unknown, 1 import, 2 sync, 3 account user, 4 API, 5 form, 6 form opt-in, 7 trigger, 8 SMS, 9 automation, 10 bulk edit, 11 email, 12 Gmail.

sourceIds
int32

Return only the subscriptions to this list id. Must be a whole number; anything else returns 400. A blank or 0 is the same as leaving it out.

string

Return only subscriptions whose sdate is later than this date or time. The bound is exclusive. Any date or datetime that PHP strtotime reads works, such as 2026-10-01, 10/01/2026 or 2026-10-01T13:45:10-05:00; a blank or unreadable value returns 400. Without an offset the time is read in the time zone the dates in the response are shown in. sdate is reset when a contact resubscribes. It narrows meta.total as well as the page.

string

Return only subscriptions whose sdate is earlier than this date or time. The bound is exclusive, with the same formats, time zone and 400 as filters[subscribed_after]. For a calendar month, send the last instant of the month before as filters[subscribed_after] and the first instant of the next month as this.

string

Return only subscriptions whose udate is later than this date or time. The bound is exclusive, with the same formats, time zone and 400 as filters[subscribed_after]. udate is set when the status becomes unsubscribed or bounced, and is null while the subscription is active, so a window on it never returns active rows. Send status=2 to leave out bounces.

string

Return only subscriptions whose udate is earlier than this date or time. The bound is exclusive, with the same formats, time zone and 400 as filters[subscribed_after]. Rows with no udate are never returned. Send status=2 to leave out bounces.

integer
≤ 100
Defaults to 20

Number of subscription rows to return per request. Defaults to 20; the maximum is 100, and asking for more is capped at 100.

integer
Defaults to 0

Number of subscription rows to skip before returning results. Use with limit to page.

Responses

400

A query parameter is invalid. Body: errors, a list with one item whose status is the string "400" and whose detail says why: filters[subscribed_after], filters[subscribed_before], filters[unsubscribed_after] or filters[unsubscribed_before] is blank or not a date ("Invalid date format provided: ..."); or filters[listid] is not a whole number ("filters[listid] must be a whole number").

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json