> ## Documentation Index
> Fetch the complete documentation index at: https://docs.timbrix.mx/llms.txt
> Use this file to discover all available pages before exploring further.

# Get API Key

> Retrieve details of a specific API key

Retrieves details of a specific API key.

## Permissions

User must be a **member** of the organization.

## Response

Returns API key details including:

* Key ID and preview (sk\_...)
* 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

```bash theme={null}
curl -X GET http://localhost:3001/api/organizations/{organizationId}/api-keys/{id} \
  -H "Authorization: Bearer <token>"
```


## OpenAPI

````yaml GET /organizations/{organizationId}/api-keys/{id}
openapi: 3.1.0
info:
  title: Timbrix API
  description: >-
    REST API with OAuth2 server for managing organizations, members, and
    webhooks
  version: '1.0'
  contact: {}
servers:
  - url: http://sandbox.mintlify.com
    description: Sandbox environment
  - url: http://localhost:3001/api
    description: Local development
security: []
tags:
  - name: organizations
    description: Organization management endpoints
  - name: oauth
    description: OAuth2 authentication and authorization
  - name: webhooks
    description: Webhook configuration and delivery
  - name: users
    description: User information endpoints
  - name: api-keys
    description: API Keys management and validation
paths:
  /organizations/{organizationId}/api-keys/{id}:
    get:
      tags:
        - api-keys
      summary: Get API key by ID
      description: Retrieve details of a specific API key
      operationId: ApiKeysController_getById
      parameters:
        - name: organizationId
          required: true
          in: path
          schema:
            type: string
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: API key retrieved successfully
        '401':
          description: Authentication required. Provide a valid bearer token.
        '403':
          description: Access denied. User is not a member of this organization.
        '404':
          description: API key not found
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````