Check License
Endpoint
Method:
GETPath:
/api/v4/check_licenseDescription: Checks the status and validity of a license.
Authentication
See License API Authorization.
Required headers
Date(string) — RFC7231 GMT date stringAuthorization(string) — signature or bearer token
Recommended headers
Accept: application/json
Request
Query parameters
Required:
hardware_id(string) — Unique hardware ID generated for the client deviceproduct(string) — Product short code
One of:
license_key(string) — Required if product is key-basedusername(string) — Required if product is user-based
Optional:
license_id(number) — Targets a specific license IDinclude_expired_features(boolean)env(string)os_ver(string)hostname(string)os_hostname(string)ip(string)ip_local(string)app_ver(string)sdk_ver(string)mac_address(string)
Examples
Schema
Response Signatures
The response object contains the following digital signatures:
license_signature: see the Response Signature article
license_signature_v2: see the Response Signature v2 article
offline_signature: can be used for activating/deactivating using the offline method, see Deactivate License (Offline Method)
License Authorization Method
There are two authorization methods for products:
Key-based product licenses
Client provides license_key in requests for key-based products.
Response includes license_key and product_details.authorization_method = "license_key".
User-based product licenses
Client provides username in requests for user-based products.
Response includes product_details.authorization_method = "user" and a user object with license user details.
License Types
The license_type property defines one of these types:
perpetual
time-limited
subscription
consumption
For more information see: License Types
Errors
If an error occurs, HTTP status will be 400 or higher and the body will use this format:
List of exceptions
missing_headers (400): Some headers are missing
unknown_product (400): Provided product was not found
license_not_found (400): License with the provided license user not found
license_not_enabled (400): The license is not enabled
license_not_active (400): The license is not active
device_not_found (400): An active device matching the hardware_id not found
blacklisted (400): This device is blacklisted
license_not_enough_consumptions (400): Not enough consumptions left
floating_not_available (400): No available slots for floating license
product_version_not_supported (400): License product version does not support the app_ver sent in the request
Last updated
Was this helpful?