Skip to main content
GET
/
api
/
v1
/
auth
/
api-keys
List Api Keys
curl --request GET \
  --url https://api.example.com/api/v1/auth/api-keys \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "key_prefix": "<string>",
    "scopes": [
      "<string>"
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "key": "<string>",
    "expires_at": "2023-11-07T05:31:56Z",
    "last_used_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

X-API-Key
string
header
required

Response

200 - application/json

Successful Response

id
string<uuid>
required
name
string
required
key_prefix
string
required
scopes
string[]
required
created_at
string<date-time>
required
key
string | null
expires_at
string<date-time> | null
last_used_at
string<date-time> | null