Skip to Content
Pouch
Lists

Unsubscribe an address from a list

POST
/v1/lists/{id}/unsubscribe

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

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
address*string

Address to unsubscribe.

Length3 <= length

Response Body

Confirms the unsubscribe. Emits email.unsubscribed.

application/json
  1. response
address?string

The address unsubscribed.

Example Request
curl -X POST 'https://pouch.example.com/v1/lists/string/unsubscribe' \  -H 'Content-Type: application/json' \  -d '{  "address": "string"}'
Example Response
{  "address": "string"}