Extend /api/v2/users/show_many endpoint | Community
Skip to main content

Extend /api/v2/users/show_many endpoint

  • November 3, 2021
  • 1 reply
  • 0 views

Malwina

Hi guys,

would it be possible to include also user's identities inside Show Many Users API response? 

Currently the endpoint returns only one email and one phone per user and I need information about all email addresses and phone numbers assigned to users' accounts in Zendesk. It would be great to have a possibility to get this user's information in bulk GET, without being forced to call https://developer.zendesk.com/api-reference/ticketing/users/user_identities/#list-identities separately for every user.

Thanks in advance!

 

1 reply

Hey Malwina,
 
It's possible to include the users' identities in the Show Many Users API response by using side-loading.  For example, the request below returns users by ID 345678 and 901234, as well as their identities:
 
GET https://{subdomain}.zendesk.com/api/v2/users/show_many.json?ids=345678,901234&include=identities
 
Best,