Choose where every other address goes

Sets the inbox that gets mail for every address on the receiving domain that has no entry of its own, as "Every other address" on the domain's Receiving…

On this page
PATCHhttps://app.usenotix.dev/api/v1/receiving/domains/{id}

Needs a full access key. Sending access keys cannot call this. Key permissions lists the extra rules some calls have.

Sets the inbox that gets mail for every address on the receiving domain that has no entry of its own, as "Every other address" on the domain's Receiving tab does. Give defaultInboxId, one of the team's inboxes (from GET /v1/receiving/addresses). It applies to mail that arrives from now on. An inbox that is later archived or deleted falls back to the team's first inbox. Another team's domain or inbox answers 404.

Who can call it

A full access key made by a team admin, as on the dashboard. Changes count against one budget of 30 a minute for the team, shared with the dashboard. Every refusal is 403:

CodeWhy
SCOPE_DENIEDThe key is not a full access key (send-only, read only or live AI).
FORBIDDENThe key was made by a team member without admin rights, or before Notix recorded who made each key.
DOMAIN_PINNEDThe key is limited to one domain. Addresses are the team's.

Path parameters

idstringrequired

Body parameters

defaultInboxIdstringrequired

The inbox for every address on the domain with no entry of its own.

At most 64 characters.

Headers

Authorizationstringrequired

Bearer followed by your API key.

Errors

400

A field the route does not know, a value that is not allowed, or a body not sent as JSON.

403

`SCOPE_DENIED`: not a full access key. `DOMAIN_PINNED`: the key is limited to one domain. `FORBIDDEN`: the key was made by a team member without admin rights, or before Notix recorded who made each key.

404

No such receiving domain or inbox for the calling team.

429

The team made 30 receiving changes in the last minute (dashboard and API together).

503

Notix cannot count the team's calls just now; try again shortly.

Every error has the same shape. See all error codes.

curl -X PATCH "https://app.usenotix.dev/api/v1/receiving/domains/<id>" \
  -H "Authorization: Bearer $NOTIX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "defaultInboxId": "cm1x8f3k20001qz7v5b9d2e4a"
}'
Response200
{
  "id": "cm1x8f3k20001qz7v5b9d2e4a",
  "name": "Acme",
  "defaultInbox": {
    "id": "cm1x8f3k20001qz7v5b9d2e4a",
    "name": "Acme"
  }
}
Open in ClaudeOpen in ChatGPT