Đăng ký nhận thông báo qua Webhook
Tại màn hình danh sách các OA đã thêm vào hệ thống GobyZNS Partner Portal, nếu bạn muốn đăng ký nhận thông báo về trạng thái gửi tin cho một OA qua webhook (API), vui lòng thực hiện theo hướng dẫn sau:

Một modal sẽ xuất hiện và yêu cầu nhập địa chỉ đường dẫn tới webhook của bạn. Hệ thống sẽ yêu cầu webhook phải thỏa mãn các điều kiện sau:
Sử dụng HTTPS (kết nối an toàn)
Chấp nhận request bằng phương thức POST
Chấp nhận header có chứa key "X-ZEvent-Signature"
Trả về http status code 200

Sau khi nhấn "Cập nhật" hệ thống GobyZNS sẽ gửi một POST request tới địa chỉ webhook này, nếu kết quả trả về với http status code không phải 200 hệ thống sẽ không cho phép thêm địa chỉ webhook này và báo lỗi.
English version:
At the list of OAs added to the GobyZNS Partner Portal system, if you want to subscribe to sending messages status for an OA via webhook (API), please follow these instructions:

A modal will appear and ask for the URL of your webhook. The system will ask the webhook to meet these requirements:
Use HTTPS (secured connection)
Accept the request using the POST
Accept header containing "X-ZEvent-Signature" key
Returns http status code 200

After clicking "Cập nhật" (Update), the GobyZNS system will send a POST request to this webhook address. If the result returned with http status code is not 200, the system will not allow to add this webhook address and report an error.
Last updated