Authentication
Get/Update User Profile
Get authenticated user profile or update profile information
GET
Get User Profile
Endpoints
GET /api/auth/me
Retrieves the authenticated user’s profile including service access information.Request
Requires authentication via Bearer token.Response
object
User profile object
PATCH /api/auth/me
Updates user profile information. Only provided fields are updated.Request
string
New display name (1-100 characters). Optional.
string
Avatar URL or empty string to remove avatar. Must be valid URL if provided. Optional.
At least one field must be provided. Empty string for
avatar removes the avatar.Response
object
Updated user object (same structure as GET response)
Implementation Details
Code Reference
Status Codes
OK
Success
Bad Request
Validation error or no fields to update (PATCH only)
Unauthorized
Missing or invalid authentication token
Not Found
User not found (GET only)
Example Requests
GET Profile
PATCH Profile
Remove Avatar
Audit Events
- USER_UPDATE: Profile updated (includes list of updated fields)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Get User Profile