Add a receiving address

Adds an address like support@ on one of the team's receiving domains.

On this page
POSThttps://app.usenotix.dev/api/v1/receiving/addresses

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

Adds an address like support@ on one of the team's receiving domains. Its mail goes to inboxId, or to the team's first inbox when you leave it out. showInInbox: false keeps its mail out of the shared inbox (default true). Letters, numbers, dots, hyphens or underscores, at most 64; postmaster@ and abuse@ are kept for mail providers. An address that already exists is 409 and the message says where it goes.

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.

Body parameters

domainIdstringrequired

The receiving domain's id, from domains in the list.

At most 64 characters.

localPartstringrequired

The name before the @: letters, numbers, dots, hyphens or underscores. postmaster and abuse are kept for mail providers.

At most 64 characters.

inboxIdstring

The inbox its mail goes to. Left out, it goes to the team's first inbox, where every other address goes.

At most 64 characters.

showInInboxboolean

false keeps its mail out of the shared inbox: still stored, announced and forwarded. Default true.

Headers

Authorizationstringrequired

Bearer followed by your API key.

Errors

400

A name that is not allowed, a domain whose receiving is being turned off, 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 receiving domain or inbox with this id for the calling team.

409

The address already exists; the message says where it goes.

429

The team changed receiving addresses 30 times 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 POST "https://app.usenotix.dev/api/v1/receiving/addresses" \
  -H "Authorization: Bearer $NOTIX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "domainId": "clx9f2k3l0001qz8a7b6c5d4e",
  "localPart": "support"
}'
Response201
{
  "id": "cm1x8f3k20001qz7v5b9d2e4a",
  "address": "string"
}
Open in ClaudeOpen in ChatGPT