Skip to Content
Pouch
Lists

Update a list

PATCH
/v1/lists/{id}

Auth: Bearer key scoped to the list's domain.

double_opt_in governs adds from here on. A membership stores the mode it was added under, so nothing already on the list changes status.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Request Body

application/json
  1. body
name?string

List name, unique per domain.

Length1 <= length <= 200
double_opt_in?boolean

Whether a new membership must confirm before it can receive a batch. Memberships already on the list keep the mode they were added under.

Response Body

The updated list.

application/json
  1. response
id?string

Opaque id, prefixed lst_.

domain_id?string

The domain this list belongs to.

name?string

List name, unique per domain.

double_opt_in?boolean

Whether a new membership must confirm before it can receive a batch.

created_at?string

ISO 8601 timestamp.

updated_at?string

ISO 8601 timestamp.

Example Request
curl -X PATCH 'https://pouch.example.com/v1/lists/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "string",  "domain_id": "string",  "name": "string",  "double_opt_in": true,  "created_at": "string",  "updated_at": "string"}