mail

GET /v1/mail/reseller-brand

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

جميع نقاط نهاية mail

جميع مستندات المطورين

المصادقة

أرسل مفتاح واجهة برمجة التطبيقات (API key) كرمز حامل (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

التفاصيل

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