<?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: Obtaining Org Id for WebexCC API in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/obtaining-org-id-for-webexcc-api/m-p/4930504#M2467</link>
    <description>&lt;P&gt;OK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reading some sample code, I've found the solution. I write it here in case someone else will face the same issue:The&lt;/P&gt;&lt;P&gt;You can get the org id by splitting the access token by the underline ('_') character.&lt;/P&gt;&lt;P&gt;The Org Id is the 3rd element.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2023 18:40:44 GMT</pubDate>
    <dc:creator>benny3</dc:creator>
    <dc:date>2023-09-27T18:40:44Z</dc:date>
    <item>
      <title>Obtaining Org Id for WebexCC API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/obtaining-org-id-for-webexcc-api/m-p/4930499#M2466</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm developing an integration for WebexCC. I created an application&amp;nbsp; using&amp;nbsp;&lt;A href="https://developer.webex-cx.com/my-apps/create" target="_blank" rel="noopener"&gt;https://developer.webex-cx.com/my-apps/create&lt;/A&gt; and checked all the available scopes.&lt;/P&gt;&lt;P&gt;I successfully managed to obtain an access token, however I can not find a way to obtain the org-id required for all the CC API calls.&lt;/P&gt;&lt;P&gt;When I try to use&amp;nbsp;&lt;A href="https://developer.webex.com/docs/api/v1/organizations/list-organizations" target="_blank" rel="noopener"&gt;https://webexapis.com/v1/organizations&lt;/A&gt;&amp;nbsp;to get it, I get an error message saying that my access token is missing the required scope.&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;Tnx,&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 18:30:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/obtaining-org-id-for-webexcc-api/m-p/4930499#M2466</guid>
      <dc:creator>benny3</dc:creator>
      <dc:date>2023-09-27T18:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining Org Id for WebexCC API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/obtaining-org-id-for-webexcc-api/m-p/4930504#M2467</link>
      <description>&lt;P&gt;OK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reading some sample code, I've found the solution. I write it here in case someone else will face the same issue:The&lt;/P&gt;&lt;P&gt;You can get the org id by splitting the access token by the underline ('_') character.&lt;/P&gt;&lt;P&gt;The Org Id is the 3rd element.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 18:40:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/obtaining-org-id-for-webexcc-api/m-p/4930504#M2467</guid>
      <dc:creator>benny3</dc:creator>
      <dc:date>2023-09-27T18:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining Org Id for WebexCC API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/obtaining-org-id-for-webexcc-api/m-p/4930510#M2468</link>
      <description>&lt;P&gt;In case you want to access a Webex API, you'd have to request the required scopes for the endpoint as stated at &lt;A href="https://developer.webex-cx.com/documentation/integrations/#scopes" target="_blank"&gt;https://developer.webex-cx.com/documentation/integrations/#scopes:&lt;/A&gt;&lt;BR /&gt;&lt;EM&gt;You can always add more scopes from our portfolio by editing your integration in the &lt;A class="default-link" href="https://developer.webex.com/" target="_blank" rel="noopener noreferrer"&gt;Webex Developer Portal&lt;/A&gt;. To see the list of available scopes (with descriptions) in the Webex Portal, check out &lt;A class="default-link" href="https://developer.webex.com/docs/integrations#scopes" target="_blank" rel="noopener noreferrer"&gt;this page&lt;/A&gt;).&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;To access the organization endpoint, you'd have to add (at least) &lt;CODE&gt;spark:organizations_read&lt;/CODE&gt; and your user must be an admin as stated at&amp;nbsp;&lt;A href="https://developer.webex.com/docs/api/v1/organizations" target="_blank"&gt;https://developer.webex.com/docs/api/v1/organizations&lt;/A&gt;. &lt;/P&gt;
&lt;P&gt;That would be the reason why the endpoint tells you that you're lacking the required scopes.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 18:55:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/obtaining-org-id-for-webexcc-api/m-p/4930510#M2468</guid>
      <dc:creator>dtibbe</dc:creator>
      <dc:date>2023-09-27T18:55:34Z</dc:date>
    </item>
  </channel>
</rss>

