Skip to main content
GET
Get user profile
Endpoint to get the profile of the logged in user.

Request

Headers

Response

200 OK - Successfully retrieved profile

400 Bad Request

401 Unauthorized

404 Not Found

500 Internal Server Error

Example

Notes

  • This endpoint returns the complete profile information for the authenticated user
  • Includes user details, department information, and assigned permissions
  • Use this to populate user profile pages or verify user session
  • The response contains sensitive information and should be handled securely

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

message
string
data
object