---
title: "Get Current User Info"
method: GET
path: "/api/v1/auth/me"
tags: ["authentication", "Authentication"]
---

# Get Current User Info

`GET /api/v1/auth/me`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/auth/me`
- Auth: none declared

Get current user information.

Args:
    current_user: Current authenticated user
    session: Database session

Returns:
    User information from database

Raises:
    HTTPException: If request fails

## Headers

- `Authorization` string

## Response `200`

Successful Response

- UserResponse: User response model.
  - `id` integer, required
  - `email` string, required
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `full_name` string, nullable
  - `company_id` integer, required
  - `role` string, nullable
  - `is_active` boolean, nullable
  - `is_locked` boolean, nullable
  - `is_superuser` boolean, nullable
  - `is_allowlisted` boolean, nullable
  - `company_name` string, nullable
  - `phone` string, nullable
  - `timezone` string, nullable
  - `clerk_user_id` string, nullable
  - `created_at` string, nullable
  - `updated_at` string, nullable
  - `notify_product_newsletters` boolean
  - `notify_billing_alerts` boolean
  - `onboarding_completed` boolean
  - `is_impersonation` boolean, nullable
  - `impersonated_by` integer, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
