v1.0 Stable

License Management API

Enterprise-grade REST API for comprehensive software license lifecycle management. Seamlessly integrate license operations into your applications with our robust, secure, and scalable API infrastructure.

Response Time
< 100ms
Uptime
99.99%
Global CDN
Enabled

API Key Authentication

Enterprise-grade security with API key-based authentication and request signing support.

Provider Integration

Direct integration with ResellerCenter for real-time license provisioning and management.

Structured JSON

Consistent JSON responses with comprehensive error handling and detailed status codes.

Base URL

All API requests should be made to the following base URL

https://reseller.reliablelicense.com/api/v1/

Authentication

Secure your API requests using API key authentication

All API requests require authentication using an API key passed in the request header. Obtain your API key from the reseller dashboard settings.

Header Format
X-API-Key: your_api_key_here
Security Notice: Store your API key securely and never expose it in client-side code or public repositories. Rotate keys regularly for enhanced security.

Available Endpoints

Complete reference of all API endpoints and their methods

Endpoint Method Description
license.register POST Register a new software license
license.renew POST Renew an existing license
license.change_ip POST Update license IP address
license.change_core POST Modify LiteSpeed core allocation
license.suspend POST Suspend active license
license.unsuspend POST Reactivate suspended license
license.info GET Retrieve license details
bundle.register POST Register multi-product bundle
bundle.renew POST Renew bundle subscription
bundle.change_ip POST Update bundle IP (syncs all licenses)
balance GET Check wallet balance
products GET List available products
bundles GET List available bundles
POST ?endpoint=license.register

Register License

Create a new software license with the specified product and billing cycle

Request Parameters

Parameter Type Required Description
product_id integer Required Product identifier (retrieve from products endpoint)
cycle_id integer Required Billing cycle identifier
ip_address string Required Valid IPv4 address for license binding
notes string Optional Internal notes or reference tags

Example Request

cURL
curl -X POST "https://reseller.reliablelicense.com/api/v1/?endpoint=license.register" \
  -H "X-API-Key: your_api_key" \
  -d "product_id=1" \
  -d "cycle_id=5" \
  -d "ip_address=192.168.1.100" \
  -d "notes=Production Server #1"

Success Response

200 OK
{
  "success": true,
  "message": "License registered successfully",
  "data": {
    "license_id": 123,
    "license_key": "LIC-ABC123XYZ",
    "expires_at": "2025-02-03T00:00:00Z",
    "price": 15.00,
    "currency": "USD",
    "balance_after": 185.50
  }
}
POST ?endpoint=license.renew

Renew License

Extend the validity period of an existing license

Parameter Type Required Description
license_id integer Required License identifier to renew
cycle_id integer Optional New billing cycle (defaults to current cycle)
cURL
curl -X POST "https://reseller.reliablelicense.com/api/v1/?endpoint=license.renew" \
  -H "X-API-Key: your_api_key" \
  -d "license_id=123" \
  -d "cycle_id=6"
200 OK
{
  "success": true,
  "message": "License renewed successfully",
  "data": {
    "license_id": 123,
    "new_expiry": "2026-02-03T00:00:00Z",
    "price": 15.00,
    "currency": "USD",
    "balance_after": 170.50
  }
}
POST ?endpoint=license.change_ip

Change IP Address

Update the bound IP address for an existing license

Parameter Type Required Description
license_id integer Required License identifier
new_ip string Required New valid IPv4 address
cURL
curl -X POST "https://reseller.reliablelicense.com/api/v1/?endpoint=license.change_ip" \
  -H "X-API-Key: your_api_key" \
  -d "license_id=123" \
  -d "new_ip=192.168.1.200"
200 OK
{
  "success": true,
  "message": "License IP changed successfully",
  "data": {
    "license_id": 123,
    "old_ip": "192.168.1.100",
    "new_ip": "192.168.1.200",
    "provider_status": "updated"
  }
}
POST ?endpoint=license.change_core

Change LiteSpeed Core

Modify CPU core allocation for LiteSpeed Web Server licenses

Parameter Type Required Description
license_id integer Required LiteSpeed license identifier
cores integer Required Core count (1-32)
Note: This endpoint is exclusively for LiteSpeed Web Server licenses. Attempting to use it with other license types will return an error.
cURL
curl -X POST "https://reseller.reliablelicense.com/api/v1/?endpoint=license.change_core" \
  -H "X-API-Key: your_api_key" \
  -d "license_id=123" \
  -d "cores=8"
POST ?endpoint=license.suspend | license.unsuspend

Suspend / Unsuspend License

Temporarily disable or reactivate license functionality

Parameter Type Required Description
license_id integer Required License identifier
reason string Optional Suspension reason (suspend only)
Suspend License
curl -X POST "https://reseller.reliablelicense.com/api/v1/?endpoint=license.suspend" \
  -H "X-API-Key: your_api_key" \
  -d "license_id=123" \
  -d "reason=Billing dispute"
Unsuspend License
curl -X POST "https://reseller.reliablelicense.com/api/v1/?endpoint=license.unsuspend" \
  -H "X-API-Key: your_api_key" \
  -d "license_id=123"
GET ?endpoint=license.info

Get License Information

Retrieve comprehensive details about a specific license

Parameter Type Required Description
license_id integer Required License identifier
cURL
curl -X GET "https://reseller.reliablelicense.com/api/v1/?endpoint=license.info&license_id=123" \
  -H "X-API-Key: your_api_key"
200 OK
{
  "success": true,
  "data": {
    "license_id": 123,
    "license_key": "LIC-ABC123XYZ",
    "product": "cPanel Solo",
    "ip_address": "192.168.1.100",
    "status": "active",
    "issued_at": "2024-02-03T10:00:00Z",
    "expires_at": "2025-02-03T10:00:00Z",
    "days_remaining": 365,
    "cores": null,
    "notes": "Production Server #1"
  }
}
POST ?endpoint=bundle.register

Register Bundle

Register multiple licenses as a coordinated bundle

Parameter Type Required Description
bundle_id integer Required Bundle configuration ID
cycle_id integer Required Billing cycle identifier
ip_address string Required IPv4 address applied to all licenses
Bundle Behavior: All licenses within a bundle share the same IP address. Changing the bundle IP automatically updates all associated licenses.
GET ?endpoint=balance

Check Balance

Retrieve current wallet balance and currency

cURL
curl -X GET "https://reseller.reliablelicense.com/api/v1/?endpoint=balance" \
  -H "X-API-Key: your_api_key"
200 OK
{
  "success": true,
  "data": {
    "balance": 185.50,
    "currency": "USD",
    "pending_transactions": 0
  }
}

Error Codes

Complete reference of API error responses and troubleshooting

Error Code HTTP Status Description
MISSING_API_KEY 401 API key header is missing from request
INVALID_API_KEY 401 API key is invalid or revoked
NO_PERMISSION 403 Insufficient permissions for this operation
METHOD_NOT_ALLOWED 405 HTTP method not supported for endpoint
UNKNOWN_ENDPOINT 404 Requested endpoint does not exist
MISSING_PRODUCT_ID 400 Product ID parameter is required
MISSING_LICENSE_ID 400 License ID parameter is required
LICENSE_NOT_FOUND 404 License not found or access denied
REGISTRATION_FAILED 400 Provider rejected license registration
INSUFFICIENT_BALANCE 400 Insufficient funds for transaction
IP_CHANGE_FAILED 400 IP address update rejected by provider
CORE_CHANGE_FAILED 400 Core modification failed
NOT_LITESPEED 400 Operation valid only for LiteSpeed licenses