v1

latestOpenAPI 3.1.0MIT2026-07-173438118.7 KB
Auth

Get current user info

Errors

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

get/api/auth/me

Response

Current user information

authProvider'google' | 'email' | 'both' required

Authentication provider types supported by the system

avatarUrlstring nullable

URL to user's avatar image

bannerstring nullable

URL to user's banner image

createdAtstring date-time nullable

User account creation timestamp

descriptionstring nullable

User's description or bio

displayNamestring nullable

User's display name

emailstring required

User's registered email address

emailVerifiedboolean required

Whether the user's email has been verified

idstring uuid required

User's unique identifier

lastLoginstring date-time nullable

Timestamp of user's last login

Example response

{
  "authProvider": "email",
  "avatarUrl": "https://example.com/avatar.jpg",
  "banner": "https://example.com/banner.jpg",
  "createdAt": "2023-01-01T00:00:00",
  "description": "A brief bio about myself",
  "displayName": "John Doe",
  "email": "user@example.com",
  "emailVerified": true,
  "id": "a7b8c9d0-1234-5678-a123-567890123456",
  "lastLogin": "2023-01-02T12:00:00"
}