GET /v1/mail/routing
How every domain in this organization has its mail routed.
Autentizace
Zašlete API klíč jako nosný token (bearer token). Klíč musí mít oprávnění mail.view; klíč bez něj je odmítnut s kódem 403, nikoli 404.
Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.
Vyzvednout
Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.
curl -X GET https://api.zinndigital.com/v1/mail/routing \
-H "Authorization: Bearer zdk_live_…"Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API
Podrobnosti
One row per domain: which mechanism serves its mail, where its catch-all delivers, and whether the world agrees yet. Requires mail.view. ⛔ A different question from /v1/mail/services, and the reason this endpoint had to exist. A forwarding domain — the whole Footprint-Free line — deliberately has no mail service: it gets an alias that receives rather than a mailbox that stores, so it appears in no service list at any depth. Before this route, that customer could not see that their site forwards, could not see where to, and could not change it. mechanism is derived, never chosen: it is a function of the customer's own mail connection, the plan's mailbox allowance, and the domain's live DNS delegation — and a zone on Cloudflare is routed through Cloudflare Email Routing automatically, because it is free there and keeps the traffic off our relay. mechanism_label is the sentence explaining that choice, and it is the same one the operator log carries.
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
items | MailRouting[] | Ano | — |
Chyby, které může tento koncový bod vrátit
401 · 403 · 429