Hi Team,
This is to let you know that there is an exception in all user retrieve APIs that, if you retrieve users in the account then in response, you will not get any custom user fields which is of dropdown types.
To get all those details you need to use User advanced search API. Below is the curl you can use:-
In the below case Role in LS is a custom dropdown user field
curl –location ‘https://api-in21.leadsquared.com/v2/UserManagement.svc/User/AdvancedSearch?accessKey={AccessKey}&secretKey={SecretKey}’
–header ‘Content-Type: application/json’
–data ‘{
“Columns”: {
“Include_CSV”: “UserID,FirstName,LastName,Role_in_LS”
},
“GroupConditions”: [
{
“Condition”: [
{
“LookupName”: “AssociatedPhoneNumbers”,
“Operator”: “lik”,
“LookupValue”: “23”,
“ConditionOperator”: “OR”
},
{
“LookupName”: “FirstName”,
“Operator”: “lik”,
“LookupValue”: “Bo”,
“ConditionOperator”: null
}
],
“GroupOperator”: null
}
],
“GroupOperator”: null,
“Sorting”: [
{
“ColumnName”: “FirstName”,
“Direction”: 0
}
],
“Paging”: {
“PageIndex”: 1,
“PageSize”: 5
}
}’
Response are as follows where Role in LS value is coming up.

Thanks,
Akash
