Check license authorization

Added in v1.0
POST https://api.example.com/api/check/{id}
Requires authentication: X-API-Key: YOUR_API_KEY

The API returns a JSON response indicating whether the license is valid.

Path parameters

  • id integer required
    Example: 123

Query parameters

  • info string optional
    Example: Login attempt

Responses

  • 200Authorised
  • 200Disabled
  • 200Inactive
  • 200Not found
  • 400No key
Request
curl -X POST 'https://api.example.com/api/check/123?info=Login%20attempt' \
  -H 'X-API-Key: YOUR_API_KEY'
Response
Authorised
{
  "status": "AUTHORISED",
  "pass": true,
  "details": "Authorisation completed - example.com"
}