Skip to main content
GET
/
api
/
api-keys
List Api Keys
curl --request GET \
  --url https://api.example.com/api/api-keys \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "uuid": "<string>",
      "name": "<string>",
      "key_preview": "<string>",
      "scopes": [
        "<string>"
      ],
      "is_active": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "expires_at": "2023-11-07T05:31:56Z",
      "last_used_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-Key
string | null

Cookies

antidote_session
string | null

Response

Successful Response

List of API keys.

data
ApiKeyRead · object[]
required