menu
Select programming language for code examples
Shell
Node
Python
Swift
C#
Kotlin
Java
C++
Keygen
Learn
AI context:
llms.txt
New
Example apps on GitHub
launch
Source code on GitHub
launch
Join the community
launch
Join the Discord
launch
Ask a question
chat
Topics
Introduction to the API
Your Keygen account
Content types
Client libraries
Using Keygen Relay
New
Using the CLI
Authentication
Authorization
Rate limiting
Versioning
Security
Secret API tokens
Public IDs and keys
Account permissions
Validation permissions
Crack prevention
Clock tampering
Response codes
Errors
Metadata
Pagination
Connectivity
Offline licensing
Cryptographic license files
Cryptographic keys
Signatures
License key signatures
Response signatures
Webhook signatures
Testing (CI/CD)
Sandbox
Licensing
API Tokens
The token object
Generate a token
Retrieve a token
Regenerate a token
Revoke a token
List all tokens
Environments
The environment object
Create an environment
Retrieve an environment
Update an environment
Delete an environment
List all environments
Environment tokens
Products
The product object
Create a product
Retrieve a product
Update a product
Delete a product
List all products
Product tokens
Entitlements
The entitlement object
Create an entitlement
Retrieve an entitlement
Update an entitlement
Delete an entitlement
List all entitlements
Groups
The group object
Create a group
Retrieve a group
Update a group
Delete a group
List all groups
Policies
The policy object
Create a policy
Retrieve a policy
Update a policy
Delete a policy
List all policies
Policy pool
Policy relationships
Attach entitlements
Detach entitlements
List entitlements
Users
The user object
Create a user
Retrieve a user
Update a user
Delete a user
List all users
User actions
Update password
Reset password
Ban user
Unban user
User relationships
Generate user token
Change group
Licenses
The license object
Create a license
Retrieve a license
Update a license
Delete a license
List all licenses
License actions
Validate by license ID
Validate by key
Suspend license
Reinstate license
Renew license
Revoke license
Check-out license
Check-in license
Increment usage
Decrement usage
Reset usage
License relationships
Generate license token
Attach entitlements
Detach entitlements
List entitlements
Attach users
Detach users
List users
Change policy
Change owner
Change group
Machines
The machine object
Activate a machine