mail

GET /v1/mail/services/{mailServiceId}/deliverability

SPF, DKIM and DMARC state for a domain that already has email.

Tất cả các điểm cuối mail

Tất cả tài liệu dành cho nhà phát triển

Xác thực

Gửi khóa API dưới dạng mã thông báo bearer. Khóa này phải có quyền mail.view; khóa không có quyền này sẽ bị từ chối với mã lỗi 403, không phải 404.

Endpoint này không nhận ID tổ chức. Khóa của bạn đã xác định tổ chức mà nó thuộc về và phản hồi được giới hạn trong phạm vi đó.

Dùng thử

Thay thế bất kỳ nội dung nào trong ngoعل (angle brackets) bằng giá trị của riêng bạn và trình giữ chỗ key bằng một key từ trang tổng quan của bạn.

curl -X GET https://api.zinndigital.com/v1/mail/services/{mailServiceId}/deliverability \
  -H "Authorization: Bearer zdk_live_…"

Đã đăng nhập? Bảng điều khiển API trong trang quản lý của bạn sẽ tự điền ID tổ chức thực tế và khóa của riêng bạn, sau đó chạy yêu cầu đối với API trực tiếp để bạn có thể xem phản hồi thực tế. Mở điểm cuối này trong bảng điều khiển API

Chi tiết

Whether this domain's mail is set up to be delivered - the question a customer asks when their messages land in spam. ⛔ A different question from /preflight, which asks what setting mail up here would destroy; both read the same underlying report so a preview and the fix cannot disagree. fixable is false when the apex MX belongs to somebody else or the zone cannot be read, because a one-click apply would then either destroy working mail or write blind. Requires mail.view.

Tham số

TênLoạiBắt buộcNội dung này là gì
mailServiceId (path)UuidEmail service ID (UUIDv7).

Phản hồi

TênLoạiBắt buộcNội dung này là gì
domainstring
healthybooleanAll three mechanisms present and ours - nothing to publish.
spf_okboolean
dkim_okboolean
dmarc_okboolean
fixablebooleanWhether a one-click apply is offered. False over a foreign apex MX or an unreadable zone - the panel shows the reason instead of a button.
needs_confirmationbooleanTrue when applying would replace published records, so confirm is required.
existing_apex_mxstring[]
foreign_mxstring[]Apex MX targets that are not ours - the reason a fix is refused.
foreign_spf_includesstring[]
would_deletestring[]Records an apply would remove or replace, as NAME TYPE VALUE. Listed verbatim rather than counted: a customer must not be able to destroy mail records without seeing which ones…
zone_unreadableboolean
reasonstringCustomer-grade English. Never a driver message.
warningsstring[]
live_mxstring[]The domain's MX hosts as PUBLIC DNS answers them right now (W43-09) - not our record of the zone. Empty when the domain publishes no MX, or when it could not be read (see…
mx_readablebooleanFalse when the public MX lookup failed. A failed lookup is never read as "action needed".
mx_okbooleanEvery live MX host is one this preset publishes, and there is at least one.
action_neededbooleanThe customer's OWN DNS must change: we cannot publish to this zone and its live MX does not point where this preset sends mail. The panel then lists required_records with copy…
required_recordsobject[]The exact records to publish, as our preset would write them into a zone we host.

Các lỗi điểm cuối này có thể trả về

401 · 403 · 404 · 429