Meet Aghanim webhook requirements
The functions in your webhook system should comply with these requirements for:
Endpoint
Use HTTPS schema for the single webhook endpoint.
Requests
Accept POST webhook requests.
Signature
Check that webhooks are generated and signed by the Aghanim.
Logic
- Handle the
idempotency_keyfield in the webhook payload to prevent processing duplicate webhooks. - Process incoming requests against your business logic to determine if a player has access to the game hub based on player IDs.
Responses
- Respond with the HTTP status codes:
2xx— for successfully processed webhooks.4xxand5xx— for denial or errors.
- For some webhooks, return the JSON payload. You can find the payload scheme in the webhook descriptions.
Next steps
Need help?
Contact our integration team at [email protected]