Overview
The user profile endpoint allows authenticated users to retrieve their own profile information, including account details, permissions, roles, and associated resources.Authentication
All user profile endpoints require authentication using Laravel Sanctum bearer tokens.Get Current User Profile
Retrieve the authenticated user’s profile information
Request
Query Parameters
Include related resources. Available includes:
externalprofiles- User’s external profiles (AniList, MAL)notifications- User notificationspermissions- User permissionsplaylists- User playlistsroles- User rolesroles.permissions- Permissions from roles
include=externalprofiles,playlistsSpecify which user fields to return. Available fields:
id- User IDname- Usernameemail- Email addressemail_verified_at- Email verification timestamptwo_factor_confirmed_at- Two-factor authentication confirmation timestampcreated_at- Account creation timestampupdated_at- Last update timestamp
fields[user]=id,name,emailResponse
The authenticated user object
Example Response
Example Response with Includes
User Data Structure
Core Attributes
- id: Unique identifier for the user
- name: Username (unique, publicly visible)
- email: User’s email address (private)
- email_verified_at: Timestamp when email was verified
- two_factor_confirmed_at: Timestamp when 2FA was enabled (null if disabled)
- created_at: Account creation timestamp
- updated_at: Last profile update timestamp
Hidden Attributes
The following attributes are never returned in API responses for security:password- User password hashremember_token- Remember me tokentwo_factor_recovery_codes- 2FA backup codestwo_factor_secret- 2FA secret key
Available Relations
Users can include the following related resources:- externalprofiles: External site profiles (AniList, MyAnimeList, Kitsu)
- playlists: User-created playlists
- notifications: User notifications
- permissions: Direct permissions assigned to the user
- roles: User roles
- roles.permissions: Permissions inherited from roles
Error Responses
Returned when the request lacks valid authentication credentials
Notes
The
/me endpoint always returns the authenticated user’s profile. You cannot retrieve other users’ profiles through the public API.User profiles support Laravel’s soft delete feature. Deleted accounts are permanently removed after 30 days.