> ## 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 Current User

> Returns the profile information of the currently authenticated user. Requires Supabase authentication token.

Retrieves the authenticated user's profile information.

## Response

Returns user details including:

* User ID, email, name
* Profile metadata
* Account creation date

## Example

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

## Use Cases

* Display user profile in application
* Verify authentication status
* Get user details for personalization


## OpenAPI

````yaml GET /users/me
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:
  /users/me:
    get:
      tags:
        - users
      summary: Get current authenticated user
      description: >-
        Returns the profile information of the currently authenticated user.
        Requires Supabase authentication token.
      operationId: UsersController_getCurrentUser
      parameters: []
      responses:
        '200':
          description: >-
            User retrieved successfully. Returns user profile with email and
            metadata.
        '401':
          description: Authentication required. Provide a valid bearer token.
      security:
        - apiKey: []
        - bearer: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'API Key for authentication (format: sk_...)'
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````