Domains

Update catch-all

Set or clear the domain's catch-all endpoint.

PATCH/api/v1/domains/%7Bid%7D
cURL
curl -X PATCH "https://inboundr.net/api/v1/domains/{id}" \
  -H "Authorization: Bearer $INBOUNDR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "catchAllEndpointId": "<catchAllEndpointId>"
  }'

Sets the catch-all endpoint that all unrouted mail for the domain is delivered to. Explicit address routes still take precedence.

idstringpathrequired

The domain id (dom_…).

catchAllEndpointIdstring | nullbodyrequired

An endpoint id (ep_…) to deliver unrouted mail to, or null to clear catch-all.

Example response

200
{
  "id": "dom_123",
  "domain": "yourdomain.com",
  "status": "verified",
  "catchAllEndpointId": "ep_123",
  "updatedAt": "2026-07-20T11:00:00.000Z"
}
Returns 400 if the endpoint id is unknown, or 404 if the domain isn't yours.