Create an address
Auth: Bearer live key scoped to the domain.
The domain needs inbound enabled. Mail to the address emits address.received to the creating key's endpoints. After expiry or revocation, mail is dropped silently and counted; nothing is refused or bounced.
bearerAuthorizationBearer <token>An API key in the Authorization header.
application/json- body
domain_id*stringThe domain the address lives on. Mail reaches it at <local_part>@<the domain's inbound host>, so inbound has to be enabled.
1 <= lengthlocal_part?stringThe part before the @. Lowercased. Random when omitted. postmaster and abuse stay with the domain.
^[a-z0-9](?:[a-z0-9._-]{0,62}[a-z0-9])?$label?stringA note for your own use, such as what the address is for.
1 <= length <= 200expires_at?stringWhen the address stops delivering, as an ISO 8601 timestamp. Give this or expires_in.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$date-timeexpires_in?integerSeconds from now until the address stops delivering, 60 to 31536000. Give this or expires_at.
60 <= value <= 31536000message_cap?integerMost messages the address delivers over its life. Mail past it is dropped and counted.
1 <= value <= 1000000The created address.
application/json- response
id?stringOpaque id, prefixed adr_.
address?stringThe full address: <local_part>@<the domain's inbound host>.
domain_id?stringThe domain it lives on.
local_part?stringThe part before the @, lowercased.
label?|Your note, or null.
status?stringactive delivers. expired and revoked drop mail silently and count it. Only revoked is final.
"active""expired""revoked"expires_at?stringISO 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?stringISO 8601 timestamp.
updated_at?stringISO 8601 timestamp.
curl -X POST 'https://pouch.example.com/v1/addresses' \ -H 'Content-Type: application/json' \ -d '{ "domain_id": "string"}'{ "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"}Reply from an address POST
Auth: Bearer live key scoped to the address's domain. Sends from the address to the message's Reply-To, or its sender, with In-Reply-To and References set from it. Every rule of POST /v1/emails applies, Idempotency-Key included. The address has to be active.
Remove a member DELETE
Auth: Bearer key scoped to the list's domain.