List domains
Auth: Bearer key.
bearerAuthorizationBearer <token>An API key in the Authorization header.
limit?integerHow many domains to return, at most 200.
1 <= value <= 20050cursor?stringId of the last domain on the previous page.
status?stringOnly domains with this status.
"pending""verified""failed"include?stringComma-separated expansions to add: standing (reputation over the last 7 days, computed on read, returned by default).
fields?stringComma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, name, status, dns_records, missing_records, setup, errors, verified_at, last_checked_at, created_at, provider_id, pending, stall, bulk_allowed, layout, standing, standing_reason.
A page of the key's domains, newest first.
application/json- response
data?array<>The page of domains, 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/domains'{ "data": [ { "id": "string", "name": "string", "status": "pending", "dns_records": [ { "type": "TXT", "name": "string", "value": "string", "priority": 0, "merge": "spf" } ], "missing_records": [ { "type": "TXT", "name": "string", "value": "string", "priority": 0, "merge": "spf" } ], "setup": [ { "step": "domain", "message": "string" } ], "errors": [ "string" ], "verified_at": "string", "last_checked_at": "string", "created_at": "string", "provider_id": "string", "pending": { "provider_id": "string", "dns_records": [ { "type": "TXT", "name": "string", "value": "string", "priority": 0, "merge": "spf" } ], "missing_records": [ { "type": "TXT", "name": "string", "value": "string", "priority": 0, "merge": "spf" } ], "started_at": "string" }, "stall": { "reason": "string", "message": "string", "stalled_at": "string" }, "bulk_allowed": true, "layout": { "name": "string", "logo": "string", "accent": "string", "footer": "string" }, "standing": "healthy", "standing_reason": "string" } ], "next_cursor": "string"}Read a domain GET
Auth: Bearer key scoped to the domain.
Enable, disable or reconfigure inbound PATCH
Auth: Bearer key scoped to the domain. webhook_url is required the first time inbound is enabled on a domain. Enabling adds the provider's own inbound DNS record to dns_records, on a subdomain (inbound.<domain> by default, or subdomain) so the domain's own mailbox is untouched. On SES, enabling also creates the receipt rule that routes the subdomain's mail; the provider needs an inbound bucket first.