Check License

Checks the validity of license against a certain hardware ID.

URL: /api/v1/licenses/check_license/

Method: GET

Query Parameters

  • hardware_id = "123454679824"

  • license_key = "FC78-D4QH-B6SF-C9AB"

  • product = XY

Success Response

Code: 200 OK

Response (200 OK)
{
    "id": 1699349720166389,
    "order_store_id": "c40cd038ad7d4ae3a79c4d27b9edb4dd",
    "license_active": true,
    "license_enabled": true,
    "license_type": "consumption",
    "license_key": "H4ZH-VL2X-9GJJ-X2J6",
    "is_trial": false,
    "validity_period": null,
    "maintenance_period": null,
    "allow_grace_period": false,
    "grace_period": 0,
    "max_activations": 1,
    "allow_unlimited_activations": false,
    "times_activated": 1,
    "start_date": null,
    "transfer_count": 0,
    "max_transfers": 10,
    "allow_overages": false,
    "max_overages": 0,
    "is_floating_cloud": false,
    "is_floating": false,
    "floating_timeout": 5,
    "can_borrow": false,
    "max_borrow_time": 0,
    "prevent_vm": false,
    "custom_fields": [
        {
            "name": "skr",
            "data_type": null,
            "value": "222"
        },
        {
            "name": "1",
            "data_type": null,
            "value": "1"
        }
    ],
    "product_features": [],
    "customer": {
        "email": "",
        "company_name": "",
        "reference": "",
        "phone": "",
        "first_name": "",
        "last_name": "",
        "city": "",
        "postcode": "",
        "state": "",
        "country": "",
        "customer_account": null,
        "metadata": {}
    },
    "product_details": {
        "product_id": 1683881296184003,
        "product_name": "p",
        "short_code": "p",
        "authorization_method": "license-key",
        "metadata": {}
    },
    "metadata": {},
    "max_consumptions": 8,
    "total_consumptions": 0,
    "allow_unlimited_consumptions": false,
    "reset_consumption": false,
    "consumption_period": null,
    "device_id": 1699349796909409,
    "is_borrowed": false,
    "borrowed_until": null,
    "is_expired": false,
    "version": "",
    "installation_file": "",
    "release_date": "",
    "hash_md5": "",
    "requires_version": "",
    "environment": "",
    "eula_link": "",
    "release_notes_link": "",
    "size": "",
    "channel": "",
    "hardware_id": "1",
    "date": "Thu Nov 9 2023 10:21:23 GMT+0000",
    "offline_signature": "",
    "license_signature": "",
    "license_signature_v2": ""
}

Was this helpful?