Using the API to retrive the value of a custom user field from a user


(Jake Green) #1

I’ve search the API documentation but I can’t find a way to get the value of a customer user field of a specified user. Is this possible? Thanks.


(Vinoth Kannan) #2

If you whitelist a user custom field in public user custom fields site setting then you can get it in /u/USERNAME.json API endpoint.

Else if you whitelist in staff user custom fields setting then you can get it in the same API endpoint if you used a staff user’s / global api key.