<?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 Webex API in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/webex-api/m-p/3435996#M71</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Cisco Spark M3 and wants to set that HOST PIN for all USERs over API&lt;/P&gt;&lt;P&gt;To set HOST PIN we need to use WebexAPI as Spark API will not support this function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without SSO - we can set the Host PIN over this XML Service API &lt;A href="https://customer.webex.com/WBXService/XMLService"&gt;https://customer.webex.com/WBXService/XMLService&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With SSO we do not get it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this guide &lt;A href="https://devs.cisco.com/site/webex-developer/develop-test/xml-api/reference/" title="https://devs.cisco.com/site/webex-developer/develop-test/xml-api/reference/"&gt;Cisco DevNet: WebEx Conferencing - XML API - Release Notes&lt;/A&gt;&lt;SPAN style="mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-ansi-language: DE-AT; font-family: 'Calibri',sans-serif; mso-fareast-font-family: 'Times New Roman';"&gt; there are follwing parameter mentioned:&amp;nbsp; „clientID“, „clientSecret“ „accessToken“ but it seems they are not the same as we use for SPARK API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; color: #000000; font-size: 11pt; mso-ansi-language: DE-AT; font-family: 'Calibri',sans-serif; mso-fareast-font-family: 'Times New Roman';"&gt;So how can we log into Webex XML API when we use SSO ? Or is it possible to change the HOST PIN over the Spark API ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-ansi-language: DE-AT; font-family: 'Calibri',sans-serif; mso-fareast-font-family: 'Times New Roman';"&gt;kind regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2018 09:30:50 GMT</pubDate>
    <dc:creator>reindl_mc</dc:creator>
    <dc:date>2018-03-12T09:30:50Z</dc:date>
    <item>
      <title>Webex API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api/m-p/3435996#M71</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Cisco Spark M3 and wants to set that HOST PIN for all USERs over API&lt;/P&gt;&lt;P&gt;To set HOST PIN we need to use WebexAPI as Spark API will not support this function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without SSO - we can set the Host PIN over this XML Service API &lt;A href="https://customer.webex.com/WBXService/XMLService"&gt;https://customer.webex.com/WBXService/XMLService&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With SSO we do not get it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this guide &lt;A href="https://devs.cisco.com/site/webex-developer/develop-test/xml-api/reference/" title="https://devs.cisco.com/site/webex-developer/develop-test/xml-api/reference/"&gt;Cisco DevNet: WebEx Conferencing - XML API - Release Notes&lt;/A&gt;&lt;SPAN style="mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-ansi-language: DE-AT; font-family: 'Calibri',sans-serif; mso-fareast-font-family: 'Times New Roman';"&gt; there are follwing parameter mentioned:&amp;nbsp; „clientID“, „clientSecret“ „accessToken“ but it seems they are not the same as we use for SPARK API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; color: #000000; font-size: 11pt; mso-ansi-language: DE-AT; font-family: 'Calibri',sans-serif; mso-fareast-font-family: 'Times New Roman';"&gt;So how can we log into Webex XML API when we use SSO ? Or is it possible to change the HOST PIN over the Spark API ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-fareast-language: EN-US; mso-bidi-language: AR-SA; color: #000000; font-size: 11pt; mso-ansi-language: DE-AT; font-family: 'Calibri',sans-serif; mso-fareast-font-family: 'Times New Roman';"&gt;kind regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 09:30:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api/m-p/3435996#M71</guid>
      <dc:creator>reindl_mc</dc:creator>
      <dc:date>2018-03-12T09:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api/m-p/3435997#M72</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spark API app can be used for WebEx API authentication, provided the app has the spark:all scope and the user has use access to the WebEx site.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Meeting Service API authentication for Cisco Spark with WebEx.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Log in to developer.ciscospark.com.&lt;/P&gt;
&lt;P&gt;Click My Apps&lt;/P&gt;
&lt;P&gt;Create a new app with spark:all scope selected (Existing app is ok)&lt;/P&gt;
&lt;UL style="list-style-type: disc;"&gt;
&lt;LI&gt;- Set Redirect URL to valid URL that you control, this will be used to provide authorization code via GET variable&lt;/LI&gt;
&lt;LI&gt;- Save generated Client ID and Client Secret&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Issue HTTP GET request to &lt;A href="https://api.ciscospark.com/v1/authorize"&gt;https://api.ciscospark.com/v1/authorize&lt;/A&gt;&lt;/P&gt;
&lt;UL style="list-style-type: disc;"&gt;
&lt;LI&gt;- response_type=code&lt;/LI&gt;
&lt;LI&gt;- client_id=&amp;lt;your Client ID&amp;gt;&lt;/LI&gt;
&lt;LI&gt;- redirect_uri = &amp;lt;your redirect URL from registered application, it must match&amp;gt;&lt;/LI&gt;
&lt;LI&gt;- scope=spark:all&lt;/LI&gt;
&lt;LI&gt;- state=&amp;lt;custom state value of your choosing for identification or tracking, optional&amp;gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Spark page will prompt user to authorize application, if approved, user will be redirected to redirect uri with a code and the previously set state value as GET variables, save the code&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Issue HTTP POST request to &lt;A href="https://api.ciscospark.com/v1/access_token"&gt;https://api.ciscospark.com/v1/access_token&lt;/A&gt;&lt;/P&gt;
&lt;UL style="list-style-type: disc;"&gt;
&lt;LI&gt;- grant_type=authorization_code&lt;/LI&gt;
&lt;LI&gt;- client_id=&amp;lt;your Client ID&amp;gt;&lt;/LI&gt;
&lt;LI&gt;- client_secret=&amp;lt;your Client Secret&amp;gt;&lt;/LI&gt;
&lt;LI&gt;- code=&amp;lt;the previously returned code&amp;gt;&lt;/LI&gt;
&lt;LI&gt;- redirect_uri=&amp;lt;your redirect URL from registered application, it must match&amp;gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;JSON data will be returned in the response body, save the access_token value.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Issue XML API AuthenticateUser request&lt;/P&gt;
&lt;UL style="list-style-type: disc;"&gt;
&lt;LI&gt;- securityContext should contain webExID and siteName&lt;/LI&gt;
&lt;LI&gt;- webExID should match the email address for the spark user (webExID is not actually used for authenticateUser and is ignored but schema requires a value, any non-null value will work, email address for authenticated user is a best practice)&lt;/LI&gt;
&lt;LI&gt;- siteName is the subdomain of the WebEx site&lt;/LI&gt;
&lt;LI&gt;- bodyContent will include one child element named accessToken, which should be set to the previously returned access_token&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;returned sessionTicket will be used in the security context for subsequent XML API requests.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 20:11:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api/m-p/3435997#M72</guid>
      <dc:creator>nmorrow</dc:creator>
      <dc:date>2018-03-12T20:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api/m-p/3435998#M73</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much - we got it running with your help ! Great Job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 12:06:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api/m-p/3435998#M73</guid>
      <dc:creator>reindl_mc</dc:creator>
      <dc:date>2018-03-13T12:06:13Z</dc:date>
    </item>
  </channel>
</rss>

