---
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
  - `createdAt` string, date-time, nullable — User account creation timestamp
  - `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-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
- **2025-09-01** `1d20aeaaa6cf` — 1 breaking, 1 info
  - removed the media type `text/plain` for the response with the status `401`
  - added the media type `application/json` for the response with the status `401`
- …earlier changes not shown

[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/08a2378b4e66/schema)
