Domains
Read inbound status
GET
Auth: Bearer key scoped to the domain.
bearerheader
AuthorizationBearer <token>An API key in the Authorization header.
id*stringAn opaque, type-prefixed id.
Whether inbound is enabled, its retention window and its webhook.
application/json- response
domain_id?stringThe domain this status is for.
enabled?booleanWhether this domain accepts mail.
retention_days?integer7 default, up to the install's ceiling: 30 unless an admin changed it.
subdomain?stringThe label mail is addressed to. inbound by default.
host?stringThe host mail is addressed to, .: reply@.
webhook_url?|Where inbound.received is delivered. Null until one is registered.
receiver_url?|Where this domain's provider should be told to POST inbound mail — a manual step in the provider's console for an adapter without an inbound API. Null when Pouch routes the provider's mail itself.
dns_records?array<>Includes the provider's inbound record once enabled, alongside the domain's send records.
curl -X GET 'https://pouch.example.com/v1/domains/string/inbound'Example Response
{ "domain_id": "string", "enabled": true, "retention_days": 0, "subdomain": "string", "host": "string", "webhook_url": "string", "receiver_url": "string", "dns_records": [ { "type": "TXT", "name": "string", "value": "string", "priority": 0, "merge": "spf" } ]}