A P I Keys

List an org's API keys (no secrets)

GET
/v1/orgs/{orgId}/api-keys
AuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer vl_….

In: header

Path Parameters

orgId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/api-keys"
[
  {
    "id": "string",
    "name": "string",
    "keyPrefix": "string",
    "scopes": [
      "string"
    ],
    "lastUsedAt": "string",
    "expiresAt": "string",
    "revokedAt": "string",
    "createdAt": "string"
  }
]
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}