Update a list
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.
bearerAuthorizationBearer <token>An API key in the Authorization header.
id*stringAn opaque, type-prefixed id.
application/json- body
name?stringList name, unique per domain.
1 <= length <= 200double_opt_in?booleanWhether a new membership must confirm before it can receive a batch. Memberships already on the list keep the mode they were added under.
The updated 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.
curl -X PATCH 'https://pouch.example.com/v1/lists/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "domain_id": "string", "name": "string", "double_opt_in": true, "created_at": "string", "updated_at": "string"}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.
Add or import members POST
Auth: Bearer key scoped to the list's domain. A single { address, ... } JSON body adds one member and returns 201 with the membership. A { members: [...], confirmed } JSON body, or a text/csv body (a header row with an address column, an optional confirmed column and any other column becoming an attribute), imports up to 5000 at once — same header shape GET /v1/lists/:id/export writes, so a re-upload of an export round-trips. Both import forms return 200 with { imported: Membership[], added, already_present, invalid, errors: [{ line, address, message }] }, where imported holds every named membership, new or not; a bad row is reported, not fatal to the rest. Never resurrects an address that already unsubscribed.