novinzodevelopers
ResellersReferenceReseller API

Get Key

GET/storefront-public/api/v1/keys/{licenseId}

The key with its status refreshed from the provider. liveStatus says how fresh it is: live when the provider answered just now, unavailable when it could not be reached and the last snapshot is returned, unknown_to_provider when the provider does not know the key (no action that calls it is offered). quotaRefusals names the offered actions a used-up quota refuses now, of the caller or of a reseller they buy through, with when each is allowed again; past a quota with an overage price the action is charged instead.

Authorization

bearer
AuthorizationBearer <token>

In: header

Path Parameters

licenseId*string

The key's id (a UUID), not its code. A purchase answers it in licenses[].id; GET /keys?q=<code> finds it from a code.

Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/storefront-public/api/v1/keys/string"
{  "license": {    "id": "string",    "code": "string",    "skuId": "string",    "skuName": "string",    "purpose": "sale",    "purchaseId": "string",    "status": "unused",    "durationMinutes": 1,    "activatedAt": "string",    "expiresAt": "string",    "holderDisplay": "string",    "lastSeenAt": "string",    "note": "string",    "tags": [      "string"    ],    "refreshedAt": "string",    "createdAt": "string"  },  "hwid": {    "slotsUsed": -9007199254740991,    "slotsMax": -9007199254740991,    "lastResetAt": "string",    "nextResetAt": "string"  },  "availableActions": [    "hwid_reset"  ],  "quotaRefusals": [    {      "_tag": "OwnQuotaUsed",      "action": "hwid_reset",      "limit": -9007199254740991,      "period": "day",      "resetsAt": "string"    }  ],  "liveStatus": "live"}