Documentation Index
Fetch the complete documentation index at: https://mintlify.com/YamiDarknezz/task-forge-api/llms.txt
Use this file to discover all available pages before exploring further.
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
The user’s unique username.
The user’s email address.
User’s first name. May be empty if not provided at registration.
User’s last name. May be empty if not provided at registration.
Combined first and last name. Falls back to username if name fields are empty.
Whether the account is currently active.
ISO 8601 timestamp of when the account was created.
ISO 8601 timestamp of the last account update.
Role name: user or admin.
Human-readable description of the role.
Error responses
| Status | Description |
|---|
401 | Access token is missing or invalid |
404 | User 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": "john@example.com",
"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"
}
}
}