Create list
POST/api/v1/lists
A new list. Double opt-in is on unless you say otherwise.
Scope
lists:writeEdit lists – the person behind the key must be editor or higher.
Body
JSON, Content-Type: application/json. Unknown fields return 422.
namestringrequired- at least 1 characters · at most 200 characters
descriptionstring | null- at most 1000 characters
double_opt_inboolean- New sign-ups must confirm by email. Default: true.
Retrying a request
Feel free to send the Idempotency-Key header (e.g. a UUID). If the same request is sent again with the same key within 24 hours, the first response is returned, without anything being done twice. Batch and idempotency
Response
201 The new list.
idstringrequirednamestringrequireddescriptionstring | nullrequireddouble_opt_inbooleanrequired- New sign-ups must confirm by email before they are added.
form_enabledbooleanrequired- The list's public sign-up form is open.
countsobjectrequired- Only the contacts that the person behind the key may see.
counts.subscribedintegerrequired- Receive mailings: on the list, active and not suppressed.
counts.pendingintegerrequired- Has signed up but not confirmed yet.
counts.unsubscribedintegerrequiredcounts.blockedintegerrequired- On the list but not reachable: they bounce, have made a spam complaint or are suppressed.
created_atstring (time, ISO 8601)required- When the list was created.
Errors
- 400
- bad_request
- 429
- rate_limited