cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
541
Views
0
Helpful
4
Replies

webex API

1360393739
Level 1
Level 1

When I use the https://webexapis.com/v1/people interface to get the list of people, the return value only contains the information of one person, not the other person's information, but in the Webex mobile app, my list contains other contacts

1 Accepted Solution

Janos Benyovszki
Cisco Employee
Cisco Employee

It depends on what you define as "Contacts". I would assume you mean the list of spaces (group and direct), that you can see in the Webex Desktop app. In that case you can use the https://developer.webex.com/docs/api/v1/rooms/list-rooms API or the https://developer.webex.com/docs/api/v1/memberships/list-memberships API. Memberships is more recommended if you have over 3000 spaces, as it has better performance.

View solution in original post

4 Replies 4

Janos Benyovszki
Cisco Employee
Cisco Employee

It depends on what you define as "Contacts". I would assume you mean the list of spaces (group and direct), that you can see in the Webex Desktop app. In that case you can use the https://developer.webex.com/docs/api/v1/rooms/list-rooms API or the https://developer.webex.com/docs/api/v1/memberships/list-memberships API. Memberships is more recommended if you have over 3000 spaces, as it has better performance.

Thank you for your reply, it helped me a lot,

Janos Benyovszki
Cisco Employee
Cisco Employee

@1360393739 please note, that the https://developer.webex.com/docs/api/v1/people API is not meant to show you the list of your contacts, it is there to give you a list of people mainly from your org. If you are admin in your org, you will see all your org users returned. If you are not, you will see your own user returned only.

If I want to get all the contacts, what can I do without using the SDK