Skip to Content
Pouch
Addresses

Read an address

GET
/v1/addresses/{id}

Auth: Bearer live key scoped to the address's domain.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Query Parameters

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

The address, with its counts.

application/json
  1. response
id?string

Opaque id, prefixed adr_.

address?string

The full address: <local_part>@<the domain's inbound host>.

domain_id?string

The domain it lives on.

local_part?string

The part before the @, lowercased.

label?|

Your note, or null.

status?string

active delivers. expired and revoked drop mail silently and count it. Only revoked is final.

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

ISO 8601 timestamp the address stops delivering.

message_cap?|

Most messages it delivers over its life, or null for no cap.

key_id?|

The key that created it. That key's endpoints subscribed to address.received hear its mail.

counts?

Messages delivered, over its life and on the current UTC day, and messages dropped after expiry or revocation, past the cap or the daily limit, or for failing a virus scan. forwarded counts copies sent on to forward targets.

last_received_at?|

ISO 8601 timestamp of the last delivered message, or null.

revoked_at?|

ISO 8601 timestamp, or null.

created_at?string

ISO 8601 timestamp.

updated_at?string

ISO 8601 timestamp.

Example Request
curl -X GET 'https://pouch.example.com/v1/addresses/string'
Example Response
{  "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"}