> ## 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.

# List OAuth Applications

> ⚠️ SECURITY: Only OWNERS and ADMINS can list OAuth applications. Returns all OAuth apps created for the organization.

Lists all OAuth applications for an organization. Only **OWNERS** and **ADMINS** can list OAuth applications.

## Permissions

Only **OWNERS** and **ADMINS** can list OAuth applications.

## Path Parameters

| Parameter        | Type          | Required | Description     |
| ---------------- | ------------- | -------- | --------------- |
| `organizationId` | string (UUID) | Yes      | Organization ID |

## Example Request

```bash theme={null}
curl -X GET http://localhost:3001/api/oauth/apps/organization/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer <token>"
```

## Example Response

```json theme={null}
[
  {
    "clientId": "app_1234567890abcdef",
    "name": "My Integration",
    "description": "Integration for managing organization data",
    "redirectUri": "https://example.com/callback",
    "scopes": ["read:organization", "write:organization"],
    "isActive": true,
    "createdAt": "2025-01-26T10:00:00Z",
    "updatedAt": "2025-01-26T10:00:00Z"
  }
]
```

<Info>
  Client secrets are never returned in list responses for security reasons.
</Info>

## Common Errors

### 401 Unauthorized

Authentication required.

### 403 Forbidden

Only owners and admins can list OAuth applications.


## OpenAPI

````yaml GET /oauth/apps/organization/{organizationId}
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:
  /oauth/apps/organization/{organizationId}:
    get:
      tags:
        - oauth
      summary: List OAuth applications for organization
      description: >-
        ⚠️ SECURITY: Only OWNERS and ADMINS can list OAuth applications. Returns
        all OAuth apps created for the organization.
      operationId: OAuthController_listApps
      parameters:
        - name: organizationId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: >-
            Applications retrieved successfully. Returns array of OAuth
            applications without client secrets.
        '401':
          description: Authentication required. Provide a valid bearer token.
        '403':
          description: Access denied. Only owners and admins can list OAuth applications.
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````