Skip to main content
GET
/
api
/
api-keys
List API keys
curl --request GET \
  --url https://your-production-domain.com/api/api-keys \
  --cookie connect.sid=
{
  "keys": [
    {
      "id": 123,
      "name": "<string>",
      "prefix": "<string>",
      "lastFour": "<string>",
      "scopes": [
        "<string>"
      ],
      "facilityId": 123,
      "ipAllowlist": [
        "<string>"
      ],
      "rateLimitPerMin": 123,
      "lastUsedAt": "2023-11-07T05:31:56Z",
      "expiresAt": "2023-11-07T05:31:56Z",
      "revokedAt": "2023-11-07T05:31:56Z",
      "rotationGraceUntil": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

connect.sid
string
cookie
required

Session-based authentication cookie

Response

200 - application/json

List of API keys (secret masked)

keys
object[]