RESTful API &
Authentication
Comprehensive RESTful API with Bearer token authentication, advanced rate limiting, and extensive documentation. Integrate license validation in minutes.
Everything You Need in One API
Clean, intuitive API design with comprehensive endpoints for all license management operations
Bearer Token Authentication
Secure API access with lsv_ prefixed tokens. Generate, rotate, and revoke tokens via dashboard.
curl -X POST https://api.example.com/v1/validate \
-H "Authorization: Bearer lsv_abc123..." \
-H "Content-Type: application/json" \
-d '{"license_key": "XXXX-XXXX-XXXX"}'
Advanced Rate Limiting
Sliding window algorithm with Redis. Prevents abuse while allowing legitimate high-volume usage.
- 60 requests/minute default
- Configurable per API key
- X-RateLimit headers included
Core API Endpoints
Validate license key and check activation status
Activate license on device with hardware fingerprinting
Deactivate license from device
Check current license status and expiration
Track feature usage and analytics
Quick Integration
Start validating licenses in under 5 minutes
// PHP Integration Example use GuzzleHttp\Client; class LicenseValidator { private $client; private $apiToken = 'lsv_your_token_here'; public function validate(string $licenseKey): bool { $response = $this->client->post('https://api.example.com/v1/validate', [ 'headers' => [ 'Authorization' => "Bearer {$this->apiToken}", 'Content-Type' => 'application/json', ], 'json' => [ 'license_key' => $licenseKey, 'hardware_id' => $this->getHardwareId(), ], ]); $data = json_decode($response->getBody(), true); return $data['valid'] ?? false; } } // Usage $validator = new LicenseValidator(); if ($validator->validate('XXXX-XXXX-XXXX-XXXX')) { // License is valid - enable features }
Ready to Integrate?
Start building with our comprehensive API today