<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Webex API: List People in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/webex-api-list-people/m-p/5036419#M2860</link>
    <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/337971"&gt;@Martin Sloan&lt;/a&gt;&amp;nbsp;A service app is intended to work as an admin worker, but without needing the process of having to have an admin user authorize it through the OAuth flow (you just send it for approval in the org and the admin can then approve it in control hub). Have you added the&amp;nbsp;&lt;EM&gt;&lt;SPAN&gt;spark-admin:people_read&lt;/SPAN&gt;&lt;/EM&gt; scope to your service app?&lt;BR /&gt;&lt;BR /&gt;This should then give you access to read all people within an org that has approved the service app, by doing a GET to the webexapis.com/v1/people API (no params required).&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 11:01:47 GMT</pubDate>
    <dc:creator>Raffaele Lagana</dc:creator>
    <dc:date>2024-03-08T11:01:47Z</dc:date>
    <item>
      <title>Webex API: List People</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-list-people/m-p/5035949#M2854</link>
      <description>&lt;P&gt;I'm trying to automate a report that gathers a list of "people" using the Webex API. &amp;nbsp;I've created a Service App and have tried to assign numerous different roles, but I'm still stuck with the /people API requiring that I pass in a param to get the information for only one user. &amp;nbsp;I've done a decent amount of homework on this and it seems to me that the only way to use the /people API in the way that I need is to use a Control Hub admin account with an access token (short lived) or OAuth (incredibly painful and truly inappropriate for automated M2M workflows like this). &amp;nbsp;Am I tracking this right or missing something that would allow a Service App to list people? &amp;nbsp;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 14:37:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-list-people/m-p/5035949#M2854</guid>
      <dc:creator>Martin Sloan</dc:creator>
      <dc:date>2024-03-07T14:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API: List People</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-list-people/m-p/5036419#M2860</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/337971"&gt;@Martin Sloan&lt;/a&gt;&amp;nbsp;A service app is intended to work as an admin worker, but without needing the process of having to have an admin user authorize it through the OAuth flow (you just send it for approval in the org and the admin can then approve it in control hub). Have you added the&amp;nbsp;&lt;EM&gt;&lt;SPAN&gt;spark-admin:people_read&lt;/SPAN&gt;&lt;/EM&gt; scope to your service app?&lt;BR /&gt;&lt;BR /&gt;This should then give you access to read all people within an org that has approved the service app, by doing a GET to the webexapis.com/v1/people API (no params required).&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 11:01:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-list-people/m-p/5036419#M2860</guid>
      <dc:creator>Raffaele Lagana</dc:creator>
      <dc:date>2024-03-08T11:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API: List People</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-list-people/m-p/5060442#M2941</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1321024"&gt;@Raffaele Lagana&lt;/a&gt;. &amp;nbsp;Thanks for the assistance. &amp;nbsp;I did find a working solution for this as you mentioned. &amp;nbsp;The issue for me was with needing to regenerate the OAuth token after adjusting the scopes. &amp;nbsp;I had assigned `spark:all` and after adding `spark-admin:people_read` I did not regenerate the token, which was necessary to apply the added scope.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 12:45:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-list-people/m-p/5060442#M2941</guid>
      <dc:creator>Martin Sloan</dc:creator>
      <dc:date>2024-04-08T12:45:29Z</dc:date>
    </item>
  </channel>
</rss>

