Is there anyway to fetch all roles and all requester fields like username and email? | Community
Skip to main content

Is there anyway to fetch all roles and all requester fields like username and email?

  • February 7, 2024
  • 1 reply
  • 0 views

Benny12

Hi,

Greetings!

 

Is there any way to fetch all default & custom roles in zendesk support?

Is there any way to fetch all user fields both default and custom fields?
The fields for agents should not be included in this. 

Can anyone let me know? :(

Thanks in advance!

1 reply

  • February 8, 2024

Hello @benny12

You can fetch all the custom roles using this enpoint:

api/v2/custom_roles

As for all user fields both default and custom fields

api/v2/user_fields