Skip to main content
GET /api/auth/me Returns the profile of the currently authenticated user based on the provided access token.

Authentication

Authorization: Bearer <access_token>

Request parameters

No parameters.

Response

200 OK

success
boolean
required
true on success.
data
object
required

Error responses

StatusDescription
401Access token is missing or invalid
404User account not found or inactive
curl --request GET \
  --url https://task-forge-gbd6h8gtg8hchve9.chilecentral-01.azurewebsites.net/api/auth/me \
  --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI0MiIsImlhdCI6MTc0MjI4NjQwMCwiZXhwIjoxNzQyMzcyODAwfQ.ghi789'
{
  "success": true,
  "data": {
    "id": 42,
    "username": "johndoe",
    "email": "[email protected]",
    "first_name": "John",
    "last_name": "Doe",
    "full_name": "John Doe",
    "is_active": true,
    "created_at": "2026-03-17T10:00:00.000000",
    "updated_at": "2026-03-17T10:00:00.000000",
    "role": {
      "id": 2,
      "name": "user",
      "description": "Standard user role"
    }
  }
}

Build docs developers (and LLMs) love