Scroll
EvoraDocs
Get started
C++ SDK
REST API
Manage
Endpoint reference
All endpoints
GETPlan quota and current usage
GETList applicationsPOSTCreate an applicationGETGet an applicationPUTUpdate an applicationDELETEDelete an application
GETApplication statisticsGETExtended overviewGETLogin activity by dayGETUser growth over timeGETLicense status breakdownGETSession trends
GETList licensesPOSTGenerate licensesGETGet a licensePUTUpdate a licenseDELETEDelete a licensePOSTBan a licensePOSTUnban a licensePOSTReset a license HWIDPOSTFreeze a licensePOSTResume a frozen licensePOSTAdjust license expiry by a signed deltaPOSTBulk license actions
GETLook up a customer by usernameGETList customersPOSTCreate a customerGETGet a customerPUTUpdate a customerDELETEDelete a customerPOSTMint a password-reset tokenPOSTConsume a reset token and set the new passwordPOSTBan a customerPOSTUnban a customerPOSTReset a customer's HWIDGETRead a customer's two-factor stateDELETEReset a customer's two-factor authenticationPOSTReset a customer's device bindingPOSTMint a one-time SDK login token (panel SSO)POSTRedeem a license key on a customer's behalfPOSTBulk customer actions
POSTAuthenticate a customer by license keyPOSTAuthenticate a customer by username and password
GETList a customer's subscriptionsPOSTGrant a subscription directlyDELETERemove a subscriptionPOSTFreeze a subscriptionPOSTResume a frozen subscriptionPOSTExtend a subscription by days
GETList tiersPOSTCreate a tierPUTUpdate a tierDELETEDelete a tier
GETList app variablesPOSTCreate or update a variableDELETEDelete all app variablesGETGet a variablePUTUpdate a variableDELETEDelete a variableGETList every user variable in the applicationGETList one customer's variablesPOSTSet a customer variableDELETEDelete all of a customer's variablesDELETEDelete a customer variable
GETList webhooksPOSTCreate a webhookGETGet a webhookPUTUpdate a webhookDELETEDelete a webhookPOSTFire a test deliveryGETRead the event stream (catch-up)
GETList blacklist entriesPOSTAdd a blacklist entryDELETERemove a blacklist entryGETList whitelist entriesPOSTAdd a whitelist entryDELETERemove a whitelist entry
GETList live sessionsDELETEKill a sessionPOSTKill every live session
GETList logsGETLog statistics
GETList sellersPOSTCreate a sellerGETGet a sellerPUTUpdate a sellerDELETEDelete a sellerPOSTAdd seller balance
GETList clientsPOSTCreate a clientPUTUpdate a clientDELETEDelete a clientGETList a client's application accessPOSTGrant application accessDELETERevoke application access
GETList entitlementsPOSTCreate an entitlementPUTUpdate an entitlementDELETEDelete an entitlementGETList entitlements attached to a tierPOSTAttach an entitlement to a tierGETResolve a customer's entitlements
GETList geo rulesPOSTAdd a geo ruleDELETERemove a geo rulePUTEnable or disable geo restrictions
GETList active leasesDELETERevoke a leaseGETSeat usage for a customer
Docs/API reference/Licenses

Generate licenses

POSThttps://api.evora.lol/api/developer-api/apps/{appId}/licenses
Requires scopelicenses:write

Duration is duration × expiry seconds. expiry is the unit multiplier: 86400 days, 3600 hours, 60 minutes. duration: 0 creates a lifetime key.

Unknown fields are ignored rather than rejected, so a typo silently yields a default 1-day key — send exactly the fields below.

Path parameters
appIdrequired
string (uuid)
Application UUID. App-scoped keys may only use their own application.
Body
amount
integer
How many keys to generate.
Default: 1 · Range: 1–100
duration
integer
Number of units. 0 = lifetime.
Default: 1 · Minimum: 0
expiry
integer
Seconds per unit: 86400 = days.
Default: 86400
level
integer
Subscription tier granted.
Default: 1 · Minimum: 1
mask
string
Default: "*****-*****-*****-*****-*****"
note
string
uppercase
boolean
Default: true
lowercase
boolean
Default: false
is_master
boolean
Default: false
Request — 10 keys, 30 days, level 1
{
  "amount": 10,
  "duration": 30,
  "expiry": 86400,
  "level": 1
}
Request — 1 lifetime key
{
  "amount": 1,
  "duration": 0,
  "level": 2,
  "note": "giveaway"
}
Responses
201Generated.
json
{
  "licenses": [
    "ABCD-EFGH-IJKL-MNOP"
  ],
  "count": 1
}
402Subscription expired or a plan quota was exhausted.
json
{
  "error": "Subscription expired"
}

More in Licenses

  • getList licenses
  • getGet a license
  • putUpdate a license
  • deleteDelete a license
  • postBan a license
  • postUnban a license
  • postReset a license HWID
  • postFreeze a license
  • postResume a frozen license
  • postAdjust license expiry by a signed delta
  • postBulk license actions

Base URL https://api.evora.lol/api/developer-api · full spec at developer-api.yaml · back to the docs