Trial Key
Endpoint
Method:
GETPath:
/api/v4/trial_keyDescription: Creates and returns a trial license.
Authentication
Required headers
Date(string)Authorization(string)
Recommended headers
Accept: application/json
Request
Query parameters
Required:
hardware_id(string)product(string)
Optional (user-based products):
email(string)password(string)first_name(string)last_name(string)phone(string)
Optional:
license_policy(string)customer metadata fields (
address,postcode,state,country,city,reference)
For a trial license to be created, the product must have trial licenses enabled by setting allow_trial to true.
By default, the same combination of hardwareID and product will generate the same trial key. This ensures that users cannot obtain multiple trial keys on the same device.
If you want to permit multiple trial licenses on the same device, you can enable this feature by adjusting the Allow multiple licenses on trial setting in the vendor platform under your company account settings.
Schema
Request Query Parameters
JSON Schema
Response Body
Examples
Errors
If an error occurs, the response will have an HTTP status code of 400 or higher, and the response body will contain an error description in the following format:
JSON Schema
List of exceptions
missing_parameters (400): Some parameters are missing in the request: { params }
missing_hardware_id (400): The hardware_id missing in the request
unknown_product (400): Provided product was not found
trial_not_allowed (400): Product does not allow trial
email_missing (400): An email is missing for user-based product
Last updated
Was this helpful?