List apps
createdAt can be null on an old app.
Create an app
Creates an app the way the dashboard does: a new app secret and an Ed25519 signing key. Scope
write:apps. Free. At most 20 apps an hour per account through the API.Request body
Any other field is a
400.
Response (201)
signingPublicKey is the raw 32-byte Ed25519 public key in base64, the value the SDKs take to verify signed responses.
Get an app
Update an app
Set or clear the credit burn caps and turn self-serve offline activation on or off. Scope
write:apps.null removes a cap. Responds { "ok": true }. The name cannot be changed through the API.
Delete an app
Validations for the app stop at once (invalid_app), and the app disappears from every list and route. Deleting an app that is already deleted answers { "ok": true, "alreadyDeleted": true }.
Pause and unpause
Takes the app offline: validations and check-ins answer
app_disabled for every customer. Optional body { "reason": "..." } (up to 500 characters). Scope admin:apps. Responds { "ok": true, "pausedAt": "..." }.Usage
Authentication totals:
totalAuths, successCount, failureCount, uniqueHwids. period defaults to 24h. Scope read:apps.Failed authentications grouped by license and result, newest first, at most 20 groups.
since defaults to 24 hours ago. Scope read:logs.Auth logs
Search the log, newest first. Scope
read:logs. Query: startDate and endDate (ISO 8601, default the last 24 hours), result, licenseKey, ip, hwid, limit (up to 500, default 100) and cursor. A filtered page can hold fewer than limit rows; keep paging until cursor is null.invalid_app rows a minute per app, with the detail app secret did not match.
Follow the log
- Send
cursorassincenext time. It stays the same when nothing new came in. hasMore: truemeans a full page came back and more may be waiting: ask again at once. Otherwise wait a few seconds; every 3 to 5 seconds is plenty and well inside the rate limit.- Reads stop two seconds behind the clock (
settledUntil). A log row is stamped when its request starts and written just after, so the newest two seconds are left for the next poll and no row is skipped. countis how many events the row stands for. Successful check-ins are logged once per credit they cost, so such a row stands for several.- Each call reads only the rows it returns, with no filter. Filter on your side, or search with
GET /v1/apps/:appId/logs. - Rows are kept for 90 days.