Skip to Content
Pouch
Suppressions

List suppressions

GET
/v1/suppressions

Auth: Bearer key with no domain scope.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Query Parameters

limit?integer

How many suppressions to return, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Id of the last suppression on the previous page.

reason?string

Only suppressions with this reason.

Value in"hard_bounce""complaint""manual"
address?string

Only this address, matched on its normalized form.

Length3 <= length
domain?string

Only suppressions caused by a message sent from this domain id.

since?unknown

Only suppressions added at or after this ISO 8601 timestamp.

until?unknown

Only suppressions added at or before this ISO 8601 timestamp.

fields?string

Comma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, address, reason, detail, bounce_type, source, source_message_id, created_at.

Response Body

A page of the organization's suppressions, newest first.

application/json
  1. response
data?array<>

Suppressions on this page.

next_cursor?|

Pass as cursor for the next page. Null on the last page.

Example Request
curl -X GET 'https://pouch.example.com/v1/suppressions'
Example Response
{  "data": [    {      "id": "string",      "address": "string",      "reason": "hard_bounce",      "detail": "string",      "bounce_type": "string",      "source": "string",      "source_message_id": "string",      "created_at": "string"    }  ],  "next_cursor": "string"}