mail

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

Publish this domain's mail records.

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

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.manage; 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 POST https://api.zinndigital.com/v1/mail/services/{mailServiceId}/deliverability \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Đã đă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

Write the correct SPF, DKIM and DMARC records into the domain's zone. ⛔ Refuses with `422` when the apex MX is somebody else's - that is not a state to confirm past from this screen, because the customer's mail is being delivered today and this button must never be how that stops. When records would be **replaced**, answers `409` until `confirm: true` is sent, so a destructive apply is always a deliberate second act (the confirm-gated shape #622 forced on DNS). Requires `mail.manage`.

Tham số

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

Nội dung yêu cầu

TênLoạiBắt buộcNội dung này là gì
confirmbooleanKhôngRequired when `needs_confirmation` is true. Defaults to false so a destructive apply is never a side effect of clicking "fix".

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 one…
zone_unreadableboolean
reasonstringCustomer-grade English. Never a driver message.
warningsstring[]

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

401 · 403 · 404 · 409 · 422 · 429