Lists
Read a list
GET
Auth: Bearer key scoped to the list's domain.
bearerheader
AuthorizationBearer <token>An API key in the Authorization header.
id*stringAn opaque, type-prefixed id.
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.
The list.
application/json- response
id?stringOpaque id, prefixed lst_.
domain_id?stringThe domain this list belongs to.
name?stringList name, unique per domain.
double_opt_in?booleanWhether a new membership must confirm before it can receive a batch.
created_at?stringISO 8601 timestamp.
updated_at?stringISO 8601 timestamp.
member_counts?With include=member_counts. Members of the list by status, counted on read.
curl -X GET 'https://pouch.example.com/v1/lists/string'Example Response
{ "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 }}