Keys
List your keys
The keys you generated, with the status of each one β activated, HWID and time remaining.
GET
/keysToken permission: View keys keys:read
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
user_ids[] | list of numbers | No | Returns only these keys (the user_id of each one). Up to 200. |
Without user_ids[], all your keys come back. To track specific keys, repeat the parameter: /keys?user_ids[]=204496&user_ids[]=204497.
Response
| Field | What it is |
|---|---|
user_id | The key id in the API. It is what the HWID reset uses. |
key_code | The key the customer types. |
product_id / product_name | The key's product. |
activated | true after the customer activated the key. |
status | The key status (table below). |
hwid_status | The HWID status (table below). |
access_end | When access ends, in seconds since 1970 (Unix). 0 when there is no access. |
seconds_remaining | Time remaining, in seconds. 0 if the key has not been activated yet. |
created_at | When the key was generated. |
credits_spent | What the key cost when it was generated. null if there is no record. |
days | The purchased duration, in days. |
status | Meaning |
|---|---|
DISPONIVEL | Generated, not yet activated by the customer. |
ATIVA | In use. |
SEM_ACESSO | The key no longer has access. |
hwid_status | Meaning |
|---|---|
HWID_ATIVO | Bound to the customer's computer. |
HWID_RESETADO | Free to be used on another computer. |
N/A | The key has not been activated yet. |
Errors
| HTTP | When |
|---|---|
401 | Missing, invalid, deleted or expired token. |
403 | The token lacks the View keys permission. |
422 | More than 200 ids in user_ids[], or an id that is not a number. |
429 | Over the rate limit. |