Skip to main content
GET
/
v1
/
api-keys
List API keys
curl --request GET \
  --url https://api.infyn.dev/v1/api-keys \
  --header 'Authorization: Bearer <token>'
{
  "keys": [
    {
      "id": "<string>",
      "name": "<string>",
      "active": true,
      "created_at": "2023-11-07T05:31:56Z",
      "last_used": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Supply Authorization: Bearer <token>. The token can be either a JWT (from supported auth vendors) or an API key generated via /v1/api-key/generate.

Response

200 - application/json

List of API keys

keys
object[]