Skip to main content

Get User Details by Handle

Retrieves the profile details of an organization user by their handle/username. See the User Schema for details on the user properties returned.

GET/public/v1/users/:handle

Scope Required​

read:users


Path Parameters​

FieldTypeDescription
handlestringThe unique username or handle of the organization member (e.g. sagar).

Example Request​

curl -X GET https://api.internal.gettru.app/public/v1/users/sagar \
-H "Authorization: Bearer <ACCESS_TOKEN>"

Response​

200 OK
{
"success": true,
"data": {
  "id": 4,
  "username": "sagar",
  "email": "sagar@trueapp.co",
  "contact": {
    "firstName": "Sagar",
    "lastName": "Sharma",
    "phone": "9988776655",
    "phoneCountryCode": "+91"
  }
}
}