Webhooks are available on Pro and Enterprise plans. WebSocket subscriptions
provide similar functionality for real-time client applications.
Setting Up Webhooks
1. Create a Webhook Endpoint
Create an HTTPS endpoint on your server to receive webhook events:2. Register the Webhook
Register your endpoint in the Admin Console or via API:Webhook Events
Player Events
Quest Events
Adventure Events
Leaderboard Events
Lobby Events
Webhook Payload
All webhook payloads follow this structure:Security
Signature Verification
All webhooks include a signature header for verification:Best Practices
Always verify signatures
Always verify signatures
Never process webhooks without verifying the signature first.
Use HTTPS
Use HTTPS
Always use HTTPS endpoints for webhooks.
Respond quickly
Respond quickly
Return 200 within 30 seconds. Process events asynchronously.
Handle duplicates
Handle duplicates
Use event IDs to deduplicate. Webhooks may be retried.
Retry Policy
Failed webhooks are retried with exponential backoff:
After 5 failed attempts, the webhook is marked as failed.
Managing Webhooks
List Webhooks
Update Webhook
Delete Webhook
Test Webhook
Send a test event to verify your endpoint:Webhook Logs
View webhook delivery logs in the Admin Console:- Delivery status (success, failed, pending)
- Response code and body
- Retry count
- Event payload
