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

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.

7 إعجابات