Skip to main content
GET
Get API key by ID
Retrieves details of a specific API key.

Permissions

Owners and admins can get any key. A member can only get keys they created; another user’s key returns 404 Not Found.

Response

Returns API key details including:
  • Key ID and preview (sk_…)
  • environment (sandbox or production)
  • Name and description
  • Scopes and rate limits
  • Usage statistics
  • Creation and last used dates
Note: The full API key value is never returned after creation.

Example

Authorizations

Authorization
string
header
required

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

Path Parameters

organizationId
string
required
id
string
required

Response

API key retrieved successfully