Skip to Content
Pouch
Addresses

List addresses

GET
/v1/addresses

Auth: Bearer live key.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Query Parameters

limit?integer

How many addresses to return, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Id of the last address on the previous page.

domain?string

Only addresses on this domain id.

status?string

Only addresses in this status.

Value in"active""expired""revoked"
fields?string

Comma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, address, domain_id, local_part, label, status, expires_at, message_cap, key_id, counts, last_received_at, revoked_at, created_at, updated_at.

Response Body

A page of the addresses on the key's domains, newest first.

application/json
  1. response
data?array<>

The page of addresses, newest first.

next_cursor?|

Id to pass as cursor for the next page. Null on the last page.

Example Request
curl -X GET 'https://pouch.example.com/v1/addresses'
Example Response
{  "data": [    {      "id": "string",      "address": "string",      "domain_id": "string",      "local_part": "string",      "label": "string",      "status": "active",      "expires_at": "string",      "message_cap": 0,      "key_id": "string",      "counts": {        "received": 0,        "received_today": 0,        "dropped_expired": 0,        "dropped_over_limit": 0,        "dropped_virus": 0,        "forwarded": 0      },      "last_received_at": "string",      "revoked_at": "string",      "created_at": "string",      "updated_at": "string"    }  ],  "next_cursor": "string"}