Users
All user endpoints live under /api/v3/projects/:project_uuid/users.
List users
Paginated list of every user on the project.
Query parameters:
| Name | Default | Notes |
|---|---|---|
limit | 50 | Max 200. |
offset | 0 | Zero-based row offset. |
Response
{ "success": true, "data": { "users": [ /* user row objects */ ], "limit": 50, "offset": 0 }, "requestid": "uuid"}{ "success": false, "error": "Project not found", "code": "NOT_FOUND", "requestid": "uuid"}{ "success": false, "error": "Failed to list users", "code": "INTERNAL", "requestid": "uuid"}Whitelist a user
Generates one or more keys and binds them to Discord IDs. The body shape selects between single and bulk modes.
Single
{ "discord_id": "1118453649727823974", "note": "Premium tier", "expire_time": 30}note is optional and capped at 256 characters. expire_time accepts either a number of days (30) or an absolute date string ("2026-12-31"). Omit it for a permanent key.
Bulk
{ "discord_ids": ["111...", "222...", "333..."], "note": "Imported batch", "expire_time": "2026-12-31"}Up to 5000 Discord IDs per call. Split larger imports client-side. The plan's active-key cap applies only to new IDs after deduping existing claimed users, so re-uploading an old list mostly skips.
Response
{ "success": true, "data": { "message": "Whitelisted", "generated_key": "<32-char key>", "key_expire": 1761868800, "discord_id": "1118453649727823974" }, "requestid": "uuid"}{ "success": true, "data": { "message": "Bulk whitelist complete", "total_requested": 3, "total_generated": 1, "total_skipped": 2, "generated": [ { "discord_id": "111...", "generated_key": "...", "key_expire": null } ], "skipped": [ { "discord_id": "222...", "reason": "already_whitelisted" }, { "discord_id": "333...", "reason": "insert_failed" } ] }, "requestid": "uuid"}{ "success": false, "error": "Reached your plan's 500 active-key limit. Upgrade or remove keys before whitelisting more.", "code": "PLAN_LIMIT", "requestid": "uuid"}{ "success": false, "error": "Invalid discord_id format", "code": "VALIDATION", "requestid": "uuid"}skipped[].reason is one of already_whitelisted, race_already_whitelisted, or insert_failed.
Get a user
Full user row plus the user's currently active sessions. :identifier accepts a Discord ID, a 32-character script key, or the user UUID. See Overview for the formats.
Response
{ "success": true, "data": { "identifier": { "kind": "discord_id", "raw": "1118..." }, "user_data": { "id": "uuid", "project_id": "uuid", "discord_id": "1118...", "user_key": "<32-char>", "status": "active", "key_note": "Premium", "key_expire": 1761868800, "fingerprint": "<sha256-hex>", "total_executions": 259, "total_resets": 2, "last_seen_at": 1748419200, "ban_reason": null, "ban_until": null }, "sessions": [ /* active session rows */ ] }, "requestid": "uuid"}{ "success": false, "error": "No user matches this identifier in this project", "code": "NOT_FOUND", "requestid": "uuid"}identifier.kind echoes back which shape the server detected. status is one of active, no_hwid, reset, or banned.
Update a user
Update the note or expiry on a key.
Body:
{ "script_key": "<32-char>", "note": "Renewed", "expire_time": 60}script_key is required. Both note and expire_time are optional and only the fields you include are touched.
Response
{ "success": true, "data": { "message": "User updated", "user_data": { /* refreshed user row */ } }, "requestid": "uuid"}{ "success": false, "error": "No claimed user matches this key in this project", "code": "NOT_FOUND", "requestid": "uuid"}{ "success": false, "error": "Invalid script_key format", "code": "VALIDATION", "requestid": "uuid"}To toggle ban state, use Ban / Unban instead.
Delete a user
Delete a key. Claimed keys remove the user row; unclaimed keys remove the pool entry.
Body:
{ "script_key": "<32-char>"}Response
{ "success": true, "data": { "message": "Deleted user and revoked key" }, "requestid": "uuid"}{ "success": true, "data": { "message": "Deleted unclaimed key" }, "requestid": "uuid"}{ "success": false, "error": "Key not found in this project", "code": "NOT_FOUND", "requestid": "uuid"}