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

# Get Current User

> Get the profile of the authenticated user

<Note>
  This endpoint requires authentication. Include your JWT token in the Authorization header.
</Note>

## Response

<ResponseField name="id" type="string">
  User UUID
</ResponseField>

<ResponseField name="email" type="string">
  User's email address
</ResponseField>

<ResponseField name="name" type="string">
  User's display name
</ResponseField>

<ResponseField name="role" type="string">
  User's role: `employee`, `manager`, or `admin`
</ResponseField>

<ResponseField name="organizationId" type="string">
  Organization UUID
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.hitler.app/api/auth/me" \
    -H "Authorization: Bearer YOUR_JWT_TOKEN"
  ```

  ```typescript TypeScript theme={null}
  const user = await api.getMe();
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "email": "user@company.com",
    "name": "John Doe",
    "role": "employee",
    "organizationId": "456e7890-e12b-34d5-a678-426614174000"
  }
  ```

  ```json 401 theme={null}
  {
    "statusCode": 401,
    "message": "Unauthorized",
    "error": "Unauthorized"
  }
  ```
</ResponseExample>
