Get User Profile
API URL
{{url}}/user-service/user/profile
Method
POST
Description
Get details of the user
Input
Field Name
Type
Mandatory
Example
Authorization (Header)
String
Yes
Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6
client(Header)
String
Yes
web
Sample Output
Field Name
Type
Comments
message
String
Got user
id
Integer
User ID
firstName
String
User First Name
roles
String
Roles of the user
lastName
String
User Last Name
gender
String
User Gender
phoneNumber
String
User Phone number
username
String
User Username
countryCode
String
Country Code
country
String
Country details
organizations
String
Organization
tenantId
String
Tenant id of user
fhirId
Bigint
Fhir ID for the user
suiteAccess
String
User Suite Access
villages
String
User Villages
culture
String
Culture details of the User
timezone
Timestamp
User Timezone
defaultRoleName
String
Userβs Role Name
insightUserOrganization
String
Insights User
reportUserOrganization
String
Report User
insightId
String
Insight id
isTermsAndConditionsAccepted
Boolean
Terms and Condition
designation
String
Userβs designation
redRisk
Boolean
True or False