support
POST /v1/tickets/deflect
Knowledge-base articles and a live diagnosis, before a ticket is opened.
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 tickets.reply; 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.
Nơi điền id tổ chức của bạn
Endpoint này nhận org_id làm một trường trong phần thân JSON.
Mã tổ chức của bạn nằm ở màn hình khóa API trong bảng điều khiển, ngay bên cạnh khóa đó. Đây là cùng một mã trong mọi lệnh gọi mà bạn thực hiện.
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/tickets/deflect \
-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
The KB + AI in front of the ticket form (#2661). Given what the customer has typed so far, returns matching published KB articles and — when a site is named — findings from live checks against it, including whether its nameservers still point at us. ⛔ This never refuses to open a ticket and must never be made to. Everything it returns is offered; the form's submit button is unaffected. Requires `tickets.reply`. ⛔ `checks_incomplete` is `true` when a check could not run. "We found nothing wrong" and "we could not look" are different answers and the client must render them differently.
Nội dung yêu cầu
| Tên | Loại | Bắt buộc | Nội dung này là gì |
|---|---|---|---|
subject | string | Không | — |
body | string | Không | — |
site_id | object | Không | The site they are asking about. When given, live checks run against it — including whether its nameservers still point at us. |
org_id | object | Không | — |
Phản hồi
| Tên | Loại | Bắt buộc | Nội dung này là gì |
|---|---|---|---|
articles | object[] | Có | — |
findings | TicketDeflectionFinding[] | Có | — |
applied | string[] | Có | Remedies applied automatically. ⛔ Only remedies on an explicit, audited allow-list are ever applied without a human. |
checks_incomplete | boolean | Có | ⛔ True when a live check could not run. "We found nothing wrong" and "we could not look" are different answers and must render differently. |
incidents | TicketDeflectionIncident[] | Có | Open public incidents affecting this customer. ⛔ NOTHING HERE BLOCKS THE FORM — owner ruling 2026-08-24 was *warn prominently, still let them submit*. A customer with a genuinel… |
status_url | string | Có | The public status page in the reader's language, for the "follow this to resolution" link. ⛔ A separate origin with no shared fate with the platform (docs/121 §1), so it cannot… |
Các lỗi điểm cuối này có thể trả về
401 · 403 · 422 · 429