Skip to Content
Pouch
Lists

List lists

GET
/v1/lists

Auth: Bearer key.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Query Parameters

limit?integer

How many lists to return, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Id of the last list on the previous page.

domain?string

Only lists on this domain.

include?string

Comma-separated expansions to add: member_counts (members by status: pending, subscribed and unsubscribed).

fields?string

Comma-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.

Response Body

A page of the organization's lists, newest first.

application/json
  1. 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.

Example Request
curl -X GET 'https://pouch.example.com/v1/lists'
Example Response
{  "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"}