LicReg

Register License

Registers a license with TrialKey

GET https://signup.trialkey.ca/api/v2/LicReg

This endpoint allows a trial or licensed user to verify their credentials for your application(s). Once logged in the LicCheck API can be used to check information on their license.

Example URL:

/LicReg?AuthToken=a75774e6-7a4a-44d0-8fc7-9f51c293ea7d&Domain=mydomain.com&ProductCode=<MY_PRODUCT_CODE>&InstalledVersion=<MY_PRODUCT_VERSION>

Query Parameters

{
    "name"="Wilson",
    "owner": {
        "id": "sha7891bikojbkreuy",
        "name": "Samuel Passet",
    "species": "Dog",}
    "breed": "Golden Retriever",
}

Return Value: If the license is successfully registered without the HardwareFingerprintReq parameter, then the call returns a string that represents a unique installation identifier in the format a75774e6-7a4a-44d0-8fc7-9f51c293ea7d called an InstallKey, which can then be stored by the application and used to check the license at any time via the LicCheck() API.

If the license is successfully registered with the HardwareFingerprintReq parameter, then the call returns a string that represents a unique hardware key identifier, which can then be stored by the application and passed to the LicCheck() API to check the license at any time via the LicCheck() API.

Although the response data returned is different depending on the above optional parameters were included, the RetCode of 2000 returned is the same for both calls.

If the any of the required parameters are not included in the call, then the call will return the text response Insufficient data provided to perform the requested action as well as a RetCode of 4000.

If the can not be registered because there are no available licenses, then the call will return a text response of No available licenses and RetCode of 4010.

Last updated