List lists
Auth: Bearer key.
bearerAuthorizationBearer <token>An API key in the Authorization header.
limit?integerHow many lists to return, at most 200.
1 <= value <= 20050cursor?stringId of the last list on the previous page.
domain?stringOnly lists on this domain.
include?stringComma-separated expansions to add: member_counts (members by status: pending, subscribed and unsubscribed).
fields?stringComma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, domain_id, name, double_opt_in, created_at, updated_at, member_counts.
A page of the organization's lists, newest first.
application/json- response
data?array<>The page of lists, newest first.
next_cursor?|Id to pass as cursor for the next page. Null on the last page.
curl -X GET 'https://pouch.example.com/v1/lists'{ "data": [ { "id": "string", "domain_id": "string", "name": "string", "double_opt_in": true, "created_at": "string", "updated_at": "string", "member_counts": { "pending": 0, "subscribed": 0, "unsubscribed": 0 } } ], "next_cursor": "string"}Read a list GET
Auth: Bearer key scoped to the list's domain.
Update a member's attributes PATCH
Auth: Bearer key scoped to the list's domain. Replaces the attribute map outright rather than merging it, so a key left out is gone. Address, status and source aren't editable: a different address is a different member, and consent moves through the confirm and unsubscribe doors.