Change a receiving address
Sends the address's mail to another of the team's inboxes from now on (inboxId), shows or hides it in the shared inbox (showInInbox), or both.
On this page
https://app.usenotix.dev/api/v1/receiving/addresses/{id}Needs a full access key. Sending access keys cannot call this. Key permissions lists the extra rules some calls have.
Sends the address's mail to another of the team's inboxes from now on (inboxId), shows or hides it in the shared inbox (showInInbox), or both. Give at least one. Past emails stay where they are.
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 its mail goes to from now on. Past emails stay where they are.
At most 64 characters.
Show its later mail in the shared inbox (true) or keep it out (false). Past mail and open conversations are not changed.
Headers
Bearer followed by your API key.
Errors
The team's Notix address, which cannot be changed, 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 address or inbox with this id for the calling team.
The team changed receiving addresses 30 times 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/addresses/<id>" \
-H "Authorization: Bearer $NOTIX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"inboxId": "cm1x8f3k20001qz7v5b9d2e4a",
"showInInbox": true
}'
{
"id": "cm1x8f3k20001qz7v5b9d2e4a",
"address": "string"
}