domains

POST /v1/domains/{domainId}/email-routing/addresses

Register a destination address.

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

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 domains.dns.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/domains/{domainId}/email-routing/addresses \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "email": <string> }'

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

**This sends mail to a third party.** The provider emails the address a verification link and will not deliver anything to it until the recipient clicks, so the response carries `verified: false` rather than pretending the destination is usable. Destination addresses are **account-scoped** at the provider, not zone-scoped: one address book serves every domain on the account. Requires `domains.dns.manage`.

Tham số

TênLoạiBắt buộcNội dung này là gì
domainId (path)UuidThe domain's id.

Nội dung yêu cầu

TênLoạiBắt buộcNội dung này là gì
emailstring**The provider emails this address a verification link.** It is a write that reaches a third party, so it is permissioned and audit-logged accordingly.

Phản hồi

TênLoạiBắt buộcNội dung này là gì
address_idstring
emailstring
verifiedbooleanA fact about the **recipient's** action, never ours: the provider emails a verification link and will not deliver until it is clicked.
createdstring

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

401 · 403 · 404 · 422 · 429 · 503