This API enables authorized resellers to programmatically manage software licenses, including registration, activation, suspension, renewal, and trial provisioning.
LicensingSys.Pro (LSP) Documentation
Designed for automation and seamless integration, the API allows you to connect your billing systems, WHMCS modules, or custom applications directly with the LicensingSys.Pro infrastructure.
Base URL #
All API requests must be sent to:
https://licensingsys.pro/resellerapi/
Authentication #
Every API request requires a valid reseller token.
Token Parameter #
| Parameter | Required | Description |
|---|---|---|
token | Yes | Your unique reseller authentication token |
Your token can be obtained from your LSP Reseller Panel.
âš Important:
Keep your token secure. It grants access to license management functions.
Request Method #
HTTP GET
Parameters must be passed via query string.
/endpoint?token=YOUR_TOKEN¶m=value
API Endpoints #
1ï¸âƒ£ Get Available Software #
Endpoint #
GET /getsoftwares
Description #
Returns a list of software products available for licensing.
Parameters #
| Parameter | Required | Description |
|---|---|---|
token | Yes | Reseller authentication token |
Example Request #
GET https://licensingsys.pro/resellerapi/getsoftwares?token=YOUR_TOKEN
Response Example #
[
{
"key": "cpanel",
"name": "cPanel / WHM"
},
{
"key": "plesk",
"name": "Plesk"
}
]
2ï¸âƒ£ Register License #
Endpoint #
GET /register
Description #
Registers a new license for a customer.
Parameters #
| Parameter | Required | Description |
|---|---|---|
token | Yes | Reseller token |
month | Yes | License duration (months) |
key | Yes | Software identifier |
license_key | Yes | Generated license key |
ip | Yes | Customer server IP |
Example Request #
GET /register?token=YOUR_TOKEN&month=12&key=cpanel&license_key=ABC123XYZ&ip=192.168.1.10
Response Example #
{
"status": "License Registered Successfully"
}
3ï¸âƒ£ Activate License #
Endpoint #
GET /activate
Description #
Reactivates a suspended license.
Parameters #
| Parameter | Required |
|---|---|
token | Yes |
key | Yes |
ip | Yes |
Example #
GET /activate?token=YOUR_TOKEN&key=cpanel&ip=192.168.1.10
4ï¸âƒ£ Deactivate License #
Endpoint #
GET /deactivate
Description #
Suspends an active license.
Example #
GET /deactivate?token=YOUR_TOKEN&key=cpanel&ip=192.168.1.10
5ï¸âƒ£ Delete License #
Endpoint #
GET /delete
Description #
Permanently deletes a license.
âš This action cannot be undone.
Example #
GET /delete?token=YOUR_TOKEN&key=cpanel&ip=192.168.1.10
6ï¸âƒ£ Renew License #
Endpoint #
GET /renew
Description #
Extends the license duration based on billing cycle.
Parameters #
| Parameter | Required | Description |
|---|---|---|
billingcycle | Yes | Monthly / Annually |
token | Yes | Reseller token |
key | Yes | Software key |
ip | Yes | Server IP |
Example #
GET /renew?token=YOUR_TOKEN&billingcycle=Monthly&key=cpanel&ip=194.193.8.20
7ï¸âƒ£ Trial License #
Endpoint #
GET /trial
Description #
Registers a trial license.
Parameters #
| Parameter | Required |
|---|---|
token | Yes |
trial | Yes (days) |
key | Yes |
license_key | Yes |
ip | Yes |
Example #
GET /trial?token=YOUR_TOKEN&trial=7&key=cpanel&license_key=TRIAL123&ip=192.168.1.10
Common Error Responses #
| Error | Meaning |
|---|---|
Invalid Token | Token is incorrect or expired |
License Already Exists | License already registered |
No License Exists | License not found |
Invalid Parameters | Missing required fields |
Security Best Practices #
✔ Never expose your token publicly
✔ Store token securely (env/config)
✔ Use HTTPS only
✔ Validate responses
✔ Implement retry/error handling
Typical Use Cases #
✔ WHMCS automation
✔ Custom billing systems
✔ License dashboards
✔ Bulk provisioning
✔ Server deployment workflows
Support #
Need help integrating the API?
👉 Contact the LicensingSys.Pro support team.
