02-27-2024 11:53 PM
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
Solved! Go to Solution.
02-28-2024 05:49 AM
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.
02-28-2024 05:49 AM
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.
02-28-2024 06:10 PM
Thank you for your reply, it helped me a lot,
02-28-2024 03:50 AM
@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.
02-28-2024 04:04 AM
If I want to get all the contacts, what can I do without using the SDK
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