Get Custom Fields value for Users by API
Hi!
Is there any way to get users custom fields by API?
It looks like we don't have the translated page you're looking for, but we do have other content in English and offer support in English.
What can we help you with?
Learn. Share. Discuss.
Hi!
Is there any way to get users custom fields by API?
Folllowing List for Post: Get Custom Fields value for Users by API
[this list is visible for admins and agents only]
Hi there! You mean getting custom field values or the custom field definition for that user 's permission?
When you read a task with / tasks/[taskid] the values of the custom fields go there.
Is you need to know a relation to the custom field with the users, seems that the "sharing" property in the /fields/[fieldid] endpoint shows who can write / read the field.
regards!
Hello!
Do you mean the User IDs? We created a lookup Table in Workato and run a recipe that scans for all Users and pulls that info then updates the table to be used in other automations. If this is what you are asking about please let me know and I can give you more information on how we set it up.
Hi, I'm having a similar issue as Pietro mentioned. I've created a custom field called EmployeeId that's tied to the Users table and populated it for each user. However, when I use /users/{userId}, I'm unable to access the data in this custom field.
The proposed workaround to retrieve the custom field data from the Task doesn't work for me because it seems the EmployeeId isn't transferred to the Task when assigning a User to it.
Is there another way to access this information via the API? Any advice or suggestions would be greatly appreciated!
Hi! Vicken Jamgotchian, I solved it as Tiffany indicated.
That is, I used a recipe in Wrike Integrate that populates a Lookup Table with all the necessary data.
Now every time I need to retrieve the name, email or other data of that user I simply call the Lookup table via USERID and I get the necessary data.
Thanks for your responses! I tested an alternative approach that might be helpful for others:
GET /contacts/{userId}?fields=[customFields]
Instead of using the
users
endpoint, I opted for thecontacts
endpoint.Shoutout to Roman (Wrike Escalations Engineer) for this suggestion!
Thanks Vicken Jamgotchian, in this way I can save some actions in Integrate