cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
827
Views
0
Helpful
5
Replies

API query to pull multiple orall users Name, Directory number from CH

Manju Prasad
Level 1
Level 1

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.

5 Replies 5

Manju Prasad
Level 1
Level 1

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.

 

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..

Thanks. We have 20k users and want to automate so can we pull the people endpoint data with API?

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

dtibbe
VIP Alumni
VIP Alumni

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.