domains

POST /v1/domains/{domainId}/email-routing/addresses

Register a destination address.

Tutti gli endpoint domains

Autenticazione

Invia una chiave API come token di tipo bearer. La chiave deve disporre dell'autorizzazione domains.dns.manage; una chiave sprovvista di tale autorizzazione viene rifiutata con 403 anziché 404.

Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.

Provalo

Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.

curl -X POST https://api.zinndigital.com/v1/domains/{domainId}/email-routing/addresses \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "email": <string> }'

Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API

Dettagli

**This sends mail to a third party.** The provider emails the address a verification link and will not deliver anything to it until the recipient clicks, so the response carries `verified: false` rather than pretending the destination is usable. Destination addresses are **account-scoped** at the provider, not zone-scoped: one address book serves every domain on the account. Requires `domains.dns.manage`.

Parametri

NomeTipoObbligatorioChe cos'è
domainId (path)UuidThe domain's id.

Corpo della richiesta

NomeTipoObbligatorioChe cos'è
emailstring**The provider emails this address a verification link.** It is a write that reaches a third party, so it is permissioned and audit-logged accordingly.

Risposta

NomeTipoObbligatorioChe cos'è
address_idstring
emailstring
verifiedbooleanA fact about the **recipient's** action, never ours: the provider emails a verification link and will not deliver until it is clicked.
createdstring

Errori che questo endpoint può restituire

401 · 403 · 404 · 422 · 429 · 503