I need to get the role of a user, but I can;t find a way to do it. I have read those two threads, but there is no solution.
In the API documentation only two entries are shown when I search for “ROLE”:
Remove user’s manager role
Give user manager role
The User Role does not exist as a parameter in all data, returned by the API:
The “memberships” is empty, “customFields” is also empty.
You would be able to get a user’s role by using the Filter workspace users call
X-Api-Key - your api key
Content/Type - application/json
"email": "input users email here",
You can also use “name” key instead of “email”.
The roles will be displayed in the payload:
Hope this helps. Cheers!