08-26-2021 02:12 AM
Is there a API which we can use to get User Name and Director number from Control Hub for all users? Want to get all the directory numbers assigned for each user.
08-26-2021 11:01 PM
Thanks. I can fetch individual user direct number with person ID. But not for all user at once.
Need to query each person individual in this case.
Thanks for your suggestion.
08-26-2021 11:05 PM
There is also a list people endpoint that lists all users in the requested org...
Maybe you need pagination in case you've lots of users, but that endpoint will list all users..
08-27-2021 09:22 PM
Thanks. We have 20k users and want to automate so can we pull the people endpoint data with API?
08-28-2021 03:51 AM
Yep, should be possible. As said, you'd need pagination for that as described in the guide at https://developer.webex.com/docs/api/basics#pagination
08-26-2021 03:03 AM - edited 08-26-2021 03:04 AM
Unfortunately, there is not.
You may just use the /people endpoint to fetch the user's primary DID, but others are not accessible.
CQ/HG/AA numbers are also not available via the Rest API.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide