Grant a subscription directly
POSThttps://api.evora.lol/api/developer-api/users/{userId}/subscriptions
Requires scopeusers:write
Rejected with AUTH_MODE_REQUIRES_LICENSE on applications whose auth_mode is license: the SDK reaches those customers only through a redeemed key, so a keyless grant would create an account nobody could ever sign in as. Use /users/{userId}/redeem there instead.
Path parameters
| userIdrequired string (uuid) | End-user UUID. |
Body
| appIdrequired string (uuid) | |
| subscriptionLevel integer | Default: 1 · Minimum: 1 |
| expiresAt string (date-time) | |
| hwid string |
Responses
201Granted.
json
{ "subscription": { "app_id": "3f7b1d90-24c8-4a1e-9b63-0e5a8c2d7f11", "subscription_level": 2, "expires_at": "2026-12-01T00:00:00.000Z", "hwid": null, "paused": false } }
400
AUTH_MODE_REQUIRES_LICENSE on a license-mode application.More in Subscriptions
Base URL https://api.evora.lol/api/developer-api · full spec at developer-api.yaml · back to the docs