Lists
Create a list
POST
Auth: Bearer key.
bearerheader
AuthorizationBearer <token>An API key in the Authorization header.
application/json- body
domain_id*stringDomain this list belongs to.
Length
1 <= lengthname*stringList name, unique per domain.
Length
1 <= length <= 200double_opt_in?booleanWhether a new membership must confirm before it can receive a batch. Default true.
The created 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 POST 'https://pouch.example.com/v1/lists' \ -H 'Content-Type: application/json' \ -d '{ "domain_id": "string", "name": "string"}'Example Response
{ "id": "string", "domain_id": "string", "name": "string", "double_opt_in": true, "created_at": "string", "updated_at": "string"}