mail

GET /v1/mail/reseller-brand

The mail hostnames this reseller's mail is published and served under.

Всички крайни точки в mail

Всички документи за разработчици

Упълномощаване

Изпратете API ключ като токен за носене. Ключът трябва да притежава разрешението mail.view; ключ без него се отхвърля с 403, а не с 404.

Където отива идентификаторът на вашата организация

Този ендпойнт приема org_id като параметър на заявката. Оставете го празен и извикването ще обхване цялото ви поддървано дърво; изпратете го, за да ограничите извикването до една организация.

ИД на вашата организация се намира на екрана с API ключове във вашето табло за управление, до самия ключ. Това е същият ИД във всяко заявка, която правите.

Опитайте

Заменете всичко в квадратни скоби със собствени стойности, а ключовия заместващ символ – с ключ от вашето табло за управление.

curl -X GET https://api.zinndigital.com/v1/mail/reseller-brand \
  -H "Authorization: Bearer zdk_live_…"

Влязохте ли в профила си? API конзолата във вашето табло за управление попълва действителното идентификационно число на вашата организация и вашия собствен ключ и изпълнява заявката спрямо реалното API, за да можете да видите действителния отговор. Отворете този крайpoint в API конзолата

Детайли

Requires mail.view. An organization with no brand configured gets an empty one with configured: false rather than a 404 — the form is the same either way.

Параметри

ИмеТипЗадължителноКакво представлява
org_id (query)UuidНеThe organization to read for; defaults to the caller's own when unambiguous.

Отговор

ИмеТипЗадължителноКакво представлява
namestringНеWhat the reseller calls this brand, for their own screens.
mx_hostsstring[]ДаApex MX targets in priority order, on the reseller's own domain, pointed at the relay's addresses. Their names — an A record they publish, never a CNAME to ours, which would put…
spf_includestringДаThe domain in the reseller's v=spf1 include:…. A delegation, so it must be a name whose SPF record they control and which in turn includes our sender list.
autodiscover_hoststringДа
imap_hoststringДа
smtp_hoststringДа
webmail_hoststringДаWhere the reseller's client's browser goes to read mail — the single most visible name in the whole product.
configuredbooleanДаWhether every hostname the preset needs has been supplied. All-or-nothing: a half-set would publish the reseller's MX beside the platform's SPF include, which is a leak and a…
verified_atstringНеWhen these names were last confirmed to resolve to the relay.

Грешки, които този крайpoint може да върне

401 · 403 · 429