mail

GET /v1/mail/reseller-brand

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

Усі кінцеві точки mail

Уся документація для розробників

Автентифікація

Надішліть ключ API як маркер носія (bearer token). Ключ повинен мати дозвіл 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, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі 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.

Помилки, які може повертати ця кінцева точка

401 · 403 · 429