---
title: "Get current user info"
method: GET
path: "/api/auth/me"
tags: ["Auth"]
---

# Get current user info

`GET /api/auth/me`

# Errors
Returns an error if user is not authenticated or serialization fails.

## Response `200`

Current user information

- UserInfo — User information for API responses and internal use
  - `authProvider` 'google' | 'email' | 'both', required — Authentication provider types supported by the system
  - `avatarUrl` string, nullable — URL to user's avatar image
  - `banner` string, nullable — URL to user's banner image
  - `createdAt` string, date-time, nullable — User account creation timestamp
  - `description` string, nullable — User's description or bio
  - `displayName` string, nullable — User's display name
  - `email` string, required — User's registered email address
  - `emailVerified` boolean, required — Whether the user's email has been verified
  - `id` string, uuid, required — User's unique identifier
  - `lastLogin` string, date-time, nullable — Timestamp of user's last login

## Other responses

- `401` — User authentication required to access profile

## Changes

- **2025-10-14** `8ba031a48387` — 2 info
  - added the optional property `banner` to the response with the `200` status
  - added the optional property `description` to the response with the `200` status
- **2025-09-24** `ad76e6bdf403` — 2 info
  - the endpoint scheme security `bearerAuth AND cookieAuth` was added to the API
  - the endpoint scheme security `cookieAuth` was removed from the API
- **2025-09-22** `861532a21ad9` — 2 breaking, 4 warning, 6 info
  - removed the required property `auth_provider` from the response with the `200` status
  - removed the required property `email_verified` from the response with the `200` status
  - removed the optional property `avatar_url` from the response with the `200` status
  - removed the optional property `created_at` from the response with the `200` status
  - …8 more
- **2025-09-07** `7ca61a4a7b3a` — 5 info
  - added the optional property `avatar_url` to the response with the `200` status
  - added the optional property `display_name` to the response with the `200` status
  - added the optional property `last_login` to the response with the `200` status
  - added the required property `auth_provider` to the response with the `200` status
  - …1 more
- **2025-09-02** `6b9ec811d483` — 1 info
  - the endpoint scheme security `cookieAuth` was added to the API

[Full history](https://skmtc.dev/patroninc/apis/patron-api/changes/api/auth/me/get.md)

---

[API](https://skmtc.dev/patroninc/apis/patron-api.md) · [All operations](https://skmtc.dev/patroninc/apis/patron-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/patroninc/patron-api/revisions/1583b1f4c97d/schema)
