Addresses
List addresses
GET
Auth: Bearer live key.
bearerheader
AuthorizationBearer <token>An API key in the Authorization header.
limit?integerHow many addresses to return, at most 200.
Range
1 <= value <= 200Default
50cursor?stringId of the last address on the previous page.
domain?stringOnly addresses on this domain id.
status?stringOnly addresses in this status.
Value in
"active""expired""revoked"fields?stringComma-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.
A page of the addresses on the key's domains, newest first.
application/json- 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.
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"}