This endpoint returns account-related information for the logged-in user, including details of the account the user belongs to and their association with it.
The data is resolved automatically based on the authenticated user context and does not require any account or user identifiers in the request.
Use cases:
- Display account information in user profile or dashboard screens
- Determine the user’s current account context
- Retrieve account metadata for self-service features
- Demohttps://demozone.zlinkfm.com/RND/api/v1/account/users/me/accountdetails
curl -i -X GET \
https://demozone.zlinkfm.com/RND/api/v1/account/users/me/accountdetailsResponse
{
"data": {
"accountId": [
0
],
"accountIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"platformUserId": 0,
"customProfileInfo": {
"property1": null,
"property2": null
},
"fullName": "string",
"platformUserRoleId": 0,
"accountInfo": {
"accountStatus": {
"statusId": 0,
"statusName": "string",
"statusCode": "string"
},
"accountActivationDate": "2019-08-24T14:15:22Z",
"accountExpiryDate": "2019-08-24T14:15:22Z",
"resetPasswordState": true,
"isSSOAccount": true
},
"memberOf": [
"string"
],
"privileges": [
{
"privilegeName": "string",
"privilegeId": "c2edff57-335f-4e4d-a3ce-d70c094d2e4d",
"privilegeCode": "string",
"accessType": {
"accessTypeName": "string",
"accessTypeId": "b821c73a-b3a5-4c7a-83b2-9060601f5845"
},
"accessLevel": {
"accessLevelName": "string",
"accessLevelId": "d31a2944-f80c-46a1-8465-bc82d6938c7a"
}
}
],
"timeZoneId": 0,
"userInfo": {
"userIdentifier": "41052887-7082-4002-89e2-a1265f5c4bb9",
"fullName": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"email": "string",
"phoneNumber1": "string",
"phoneNumber2": "string",
"loginName": "string",
"profilePic": "string",
"nameDisplayFormat": "string",
"rowsPerPage": 0,
"isSSOUser": true,
"userRoles": [
"string"
],
"hasPlatformControlAccess": true,
"userRoleModels": [
{
"userRoleId": "68ac681d-d2dd-4a76-b9b9-ea57ce43a8a0",
"userRoleName": "string",
"noofUsers": 0,
"users": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
"name": "string",
"email": "string",
"profilePic": "string"
}
],
"privileges": [
{
"privilegeName": "string",
"privilegeId": "c2edff57-335f-4e4d-a3ce-d70c094d2e4d",
"privilegeCode": "string",
"accessType": {},
"accessLevel": {},
"accessMode": {},
"responseDescription": "string"
}
],
"isLicensed": true,
"isDefault": true,
"responseDescription": "string"
}
],
"status": {
"statusId": 0,
"statusName": "string",
"statusCode": "string"
},
"team": {
"accountOrgUnitId": "b9e3953d-56f9-4bc0-9b59-60fd4682ccf6",
"levelOrdinal": 0,
"accountOrgUnitName": "string",
"accountOrgUnitCode": "string",
"parentAccountOrgUnitId": "d148c557-9fa6-487a-85c9-8fd3a8f5a469",
"subLevelUnits": [
{}
]
},
"statusDetails": {
"statusId": 0,
"uniqueId": "a1e12d74-d756-40d1-9bb3-519def353f44",
"statusName": "string",
"statusCode": "string",
"statusColor": "string"
},
"isEmployee": true,
"employeeCode": "string",
"isTwoFactorEnabled": true
}
},
"message": "string",
"isError": true,
"messageCode": 0,
"status": "string",
"errorType": "string",
"traceid": "string",
"responseDescription": "string"
}