Fetch Keys
The following API allow you to fetch all keys for a product
GET /key/{productId}
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
Supported Params
| Param | Param Type | Type | Required | Description |
|---|---|---|---|---|
| productId | param | Number | Yes | productId or id of products |
| page | query | Number | No | Page number. Default value: 1 |
| limit | query | Number | No | Number of items per page. Default value: 10 |
| filter | query | String | No | Filter keys. Supported values: inactive, live, sold, defective |
Response
- 200
- 400
- 401
- 403
- 500
{
"message": "string",
"statusCode": 200,
"data": {
"productId": "number",
"keys": [
{
"keyId": "number",
"value": "string",
"status": "number",
"statusLabel": "string",
"created": "string",
"format": "string",
"hash": "string"
}
],
"pagination": {
"total": "number",
"page": "number",
"limit": "number"
}
}
}
{
"message": "Bad Request. Wrong/Invalid params format.",
"statusCode": 400
}
{
"message": "UnAuthorized request. Invalid/Expired token",
"statusCode": 401
}
{
"message": "Forbidden Request. Action not allowed or Rate Limit exhausted.",
"statusCode": 403
}
{
"message": "Internal Server Error",
"statusCode": 500
}
Last updated 19 February 2026