Create a webhook
POSThttps://api.evora.lol/api/developer-api/apps/{appId}/webhooks
Requires scopewebhooks:write
Subscribe to all or to specific events. Note that license.used fires for every redemption path — loader, panel and Developer API — with a source field identifying which. Guard against double-handling.
Path parameters
| appIdrequired string (uuid) | Application UUID. App-scoped keys may only use their own application. |
Body
| id string (uuid) | |
| name string | |
| url string (uri) | |
| events enum[] | Event names, or all.
The subscription.* and hwid.reset events exist so a customer
portal can mirror entitlement state without polling. Note there is
no subscription.expired: expiry is not an action anything
performs, it is expires_at passing while nobody is looking. Derive
it from the expiry field, or read subscription.active from the
authenticate endpoints, which apply the same rule the SDK does.
|
| enabled boolean |
Request
{ "name": "discord-relay", "url": "https://lunar.com/hooks/evora", "events": [ "license.used", "user.banned" ], "enabled": true }
Responses
201Created.
json
{ "webhook": { "id": "5d3e8b17-9c24-4a06-b7f5-1e8a2c6d40b9", "name": "Panel sync", "url": "https://panel.example.com/hooks/evora", "events": [ "user.register", "license.used" ], "enabled": true } }
More in Webhooks
Base URL https://api.evora.lol/api/developer-api · full spec at developer-api.yaml · back to the docs