Licenses

Get license

Retrieve information about a license.

GET
/api/v1/licenses
AuthorizationBearer <token>

Your API key.

In: header

Header Parameters

License-Keystring

The license key.

Response Body

application/json

curl -X GET "https://keyforge.dev/api/v1/licenses" \  -H "License-Key: ABCDE-ABCDE-ABCDE-ABCDE-ABCDE"
{
  "key": "ABCDE-ABCDE-ABCDE-ABCDE-ABCDE",
  "userId": "05d27bfb-61c7-45f7-9d07-09a41defc88a",
  "productId": "p_123456",
  "type": "perpetual",
  "expiresAt": null,
  "revoked": false,
  "email": "[email protected]",
  "maxDevices": 5,
  "activeDevices": [
    {
      "identifier": "some_device_id",
      "name": "My computer name",
      "activationDate": "2024-05-19T18:39:33.000Z"
    }
  ],
  "createdAt": "2024-05-19T18:39:33.000Z"
}