Skip to Content
Pouch
Domains

Read inbound status

GET
/v1/domains/{id}/inbound

Auth: Bearer key scoped to the domain.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Response Body

Whether inbound is enabled, its retention window and its webhook.

application/json
  1. response
domain_id?string

The domain this status is for.

enabled?boolean

Whether this domain accepts mail.

retention_days?integer

7 default, up to the install's ceiling: 30 unless an admin changed it.

subdomain?string

The label mail is addressed to. inbound by default.

host?string

The 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.

Example Request
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"    }  ]}