API reference
License keys API
Issue keys and manage existing access.
Create a key
POST /api/licenses
{"projectId":"YOUR_PROJECT_ID","label":"Customer","durationDays":30}Use durationDays: null for lifetime access. Add count from 1 to 50 for a batch.
Update a key
PATCH /api/licenses
{"licenseId":"YOUR_LICENSE_ID","action":"reset_device"}Actions: reset_device, revoke, delete, restore.
Bot integration routes
Owner-authenticated routes under /api/control/projects/:projectId support customer creation, Discord binding, information, notes, extensions, resets, and script availability. Each request is scoped to the API key’s workspace. The Discord bot uses /login with only the Auth API key, then /panel to choose a project and its protected script or custom loader. Zync Control access is not required.