Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
API Keys

List an org's API keys (no secrets)

Command line

The orl CLI wraps this endpoint:

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

OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).

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"  }]