GET
/
api
/
v3
/
api-keys
/
List Api Keys
curl --request GET \
  --url https://api.nugen.in/api/v3/api-keys/ \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "key": "<string>",
    "createdBy": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "lastUsed": "2023-11-07T05:31:56Z",
    "usage": -1,
    "status": "active"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

id
string
required
name
string
required
key
string
required
createdBy
string
required
createdAt
string<date-time>
required
lastUsed
string<date-time> | null
usage
number
default:-1
status
enum<string>
Available options:
active,
suspended