mail

GET /v1/mail/reseller-brand

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

Bütün mail nöqtələri

Bütün tərtibatçı sənədləri

Doğrulama

API açarını bearer token kimi göndərin. Açar mail.view icazəsinə malik olmalıdır; bu icazəsi olmayan açar 404 deyil, 403 xətası ilə rədd edilir.

Təşkilatınızın identifikatorunun yerləşdiyi yer

Bu son nöqtə sorğu parametri kimi org_id qəbul edir. Onu buraxın və sorğu bütün kirayə alt ağacınızı əhatə etsin; sorğunu bir təşkilatla məhdudlaşdırmaq üçün onu göndərin.

Təşkilatınızın identifikatoru idarə panelinizdəki API açarları ekranında, açarın özünün yanında yerləşir. Bu, etdiyiniz hər bir sorğuda eyni identifikatordur.

Sınaqdan keçir

Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.

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

Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın

Təfərrüatlar

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.

Parametrlər

AdTipTələb olunurNədir
org_id (query)UuidXeyrThe organization to read for; defaults to the caller's own when unambiguous.

Cavab

AdTipTələb olunurNədir
namestringXeyrWhat the reseller calls this brand, for their own screens.
mx_hostsstring[]BəliApex 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_includestringBəliThe 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_hoststringBəli
imap_hoststringBəli
smtp_hoststringBəli
webmail_hoststringBəliWhere the reseller's client's browser goes to read mail — the single most visible name in the whole product.
configuredbooleanBəliWhether 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_atstringXeyrWhen these names were last confirmed to resolve to the relay.

Bu son nöqtənin qaytara biləcəyi xətalar

401 · 403 · 429