LicenceBot API Documentation
Everything you need to integrate LicenceBot into your applications.
Introduction
The LicenceBot API allows you to automate license key generation, validation, and management for your products.
All requests require an API key. Keep it secret and secure.
Authentication
To authenticate API requests, include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
API Endpoints
Generate License Key
Method: POST | Endpoint: /api/v1/licenses
Generate a new license key for your product.
Request
POST /api/v1/licenses
Headers:
Authorization: Bearer YOUR_API_KEY
Body:
{
"product_id": "12345",
"customer_email": "customer@example.com"
}Response
{
"success": true,
"license_key": "ABC123-XYZ456"
}Validate License Key
Method: GET | Endpoint: /api/v1/licenses/validate
Check if a license key is valid.
Request
GET /api/v1/licenses/validate?license_key=ABC123-XYZ456 Headers: Authorization: Bearer YOUR_API_KEY
Response
{
"valid": true,
"product_id": "12345",
"customer_email": "customer@example.com"
}Frequently Asked Questions
Do I need a separate API key for each product?
No, one API key works for all products under your account.
Can I revoke an API key?
Yes, you can revoke or regenerate your API key from your LicenceBot dashboard.
What rate limits exist for the API?
The API allows up to 100 requests per minute per API key. Contact support for higher limits.