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
https://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:
| Code | Why |
|---|---|
SCOPE_DENIED | The key is not a full access key (send-only, read only or live AI). |
FORBIDDEN | The key was made by a team member without admin rights, or before Notix recorded who made each key. |
DOMAIN_PINNED | The key is limited to one domain. Addresses are the team's. |
Path parameters
Body parameters
The inbox for every address on the domain with no entry of its own.
At most 64 characters.
Headers
Bearer followed by your API key.
Errors
A field the route does not know, a value that is not allowed, or a body not sent as JSON.
`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.
No such receiving domain or inbox for the calling team.
The team made 30 receiving changes in the last minute (dashboard and API together).
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"
}'
{
"id": "cm1x8f3k20001qz7v5b9d2e4a",
"name": "Acme",
"defaultInbox": {
"id": "cm1x8f3k20001qz7v5b9d2e4a",
"name": "Acme"
}
}