Chuyển tới nội dung chính
Phiên bản: 2.0.0

🔔 Webhooks

Nhận thông báo real-time về các sự kiện.

Cấu hình

  1. Vào Developer Portal
  2. Tạo Webhook Endpoint
  3. Chọn events muốn nhận

Events

EventMô tả
tournament.createdGiải đấu mới
tournament.startedGiải bắt đầu
match.completedTrận đấu kết thúc
user.registeredUser mới đăng ký

Payload

{
"event": "match.completed",
"timestamp": "2025-12-03T12:00:00Z",
"data": {
"match_id": "match_123",
"winner_id": "user_456",
"score": "5-3"
}
}

Xác thực

Verify signature trong header:

X-SABO-Signature: sha256=...