Retrieve the authenticated user's profile information including personal details, role, and institutional affiliations.
GET
/api/v1/user/me
curl \
--request GET 'https://api.echoplain.social/api/v1/user/me'
Response examples (200)
{
"id": "user-uuid-here",
"role": "STUDENT",
"email": "john.doe@university.edu",
"phone": "+254712345678",
"status": "ACTIVE",
"lastname": "Doe",
"createdAt": "2024-01-15T10:30:00Z",
"firstname": "John",
"updatedAt": "2024-01-15T10:30:00Z",
"instituteid": "institute-uuid-here"
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}
Response examples (401)
{
"error": "Unauthorized",
"message": "Unauthorized",
"statusCode": 401
}