<?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: How to create a webhook for a webex space? in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576422#M417</link>
    <description>&lt;P&gt;One extra step that is needed and was not documented, is that the bot email address must be explicitly added to the space.&lt;/P&gt;
&lt;P&gt;I failed to do that and got this error message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error postMessage failed: request failed with status code 404, {"message":"Could not find a room with provided ID.","errors"...&lt;/P&gt;
&lt;P&gt;I thought my roomID was wrong!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 19:38:39 GMT</pubDate>
    <dc:creator>alec990</dc:creator>
    <dc:date>2022-03-22T19:38:39Z</dc:date>
    <item>
      <title>How to create a webhook for a webex space?</title>
      <link>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576132#M412</link>
      <description>&lt;P&gt;I am using a webex application and can create spaces.&lt;/P&gt;
&lt;P&gt;How can I create a webhook to post messages to my spaces from an external application?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any pointer would be appreciated.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 15:23:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576132#M412</guid>
      <dc:creator>alec990</dc:creator>
      <dc:date>2022-03-22T15:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a webhook for a webex space?</title>
      <link>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576134#M413</link>
      <description>&lt;P&gt;A webhook is used to notify your application of an event.&lt;/P&gt;
&lt;P&gt;If you want to post something to a space, simply create a bot and use the bot's access token along with &lt;A href="https://developer.webex.com/docs/api/v1/messages/create-a-message" target="_blank"&gt;https://developer.webex.com/docs/api/v1/messages/create-a-message&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 15:26:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576134#M413</guid>
      <dc:creator>dtibbe</dc:creator>
      <dc:date>2022-03-22T15:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a webhook for a webex space?</title>
      <link>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576149#M414</link>
      <description>&lt;P&gt;Thanks, I have created a bot, got my access token,&amp;nbsp;now I need more help for finding the right POST arguments...&lt;BR /&gt;&lt;BR /&gt;From the space I want to post to, I found the space link which looks like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;webexteams://im?space=&amp;lt;uuid&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I find out the URL to use to post the message? how about roomId, is it the space uuid?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 15:45:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576149#M414</guid>
      <dc:creator>alec990</dc:creator>
      <dc:date>2022-03-22T15:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a webhook for a webex space?</title>
      <link>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576155#M415</link>
      <description>&lt;P&gt;The page I linked gives you the URL for the POST: &lt;SPAN class="X9_XSxV8TI6eNf98ElQU"&gt;&lt;A href="https://developer.webex.com/docs/api/v1/messages/list-messages" target="_blank"&gt;https://webexapis.com/v1/messages&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The parameters are described at the page. You do not need all off them, mostly I use markdown and either toPersonEmail or &lt;SPAN class="MNhECkMzRWsbL73Fs7wD"&gt;roomId&lt;/SPAN&gt;, depending on the use case.&lt;/P&gt;
&lt;P&gt;The roomId can be fetched by listing all rooms you're in: &lt;A href="https://developer.webex.com/docs/api/v1/rooms/list-rooms" target="_blank"&gt;https://developer.webex.com/docs/api/v1/rooms/list-rooms&lt;/A&gt;. Do not use the UUID-form you get from CRTL-SHIFT-K and that can be used for the protocol handlers you mentioned. You have to use the base64 encoded ones as returned by the list-rooms endpoint.&lt;/P&gt;
&lt;P&gt;If you want to sent the bot the message to a person directly, you may also specify the mail address instead in the toPersonEmail parameter.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 15:55:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576155#M415</guid>
      <dc:creator>dtibbe</dc:creator>
      <dc:date>2022-03-22T15:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a webhook for a webex space?</title>
      <link>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576210#M416</link>
      <description>&lt;P&gt;Ahhh, thanks for the clarification, it makes sense now,&lt;/P&gt;
&lt;P&gt;I did not know that the panel on the right side was live on actual webex spaces! Clever!&lt;/P&gt;
&lt;P&gt;I managed to send a message to my space, thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 16:57:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576210#M416</guid>
      <dc:creator>alec990</dc:creator>
      <dc:date>2022-03-22T16:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a webhook for a webex space?</title>
      <link>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576422#M417</link>
      <description>&lt;P&gt;One extra step that is needed and was not documented, is that the bot email address must be explicitly added to the space.&lt;/P&gt;
&lt;P&gt;I failed to do that and got this error message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error postMessage failed: request failed with status code 404, {"message":"Could not find a room with provided ID.","errors"...&lt;/P&gt;
&lt;P&gt;I thought my roomID was wrong!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 19:38:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/how-to-create-a-webhook-for-a-webex-space/m-p/4576422#M417</guid>
      <dc:creator>alec990</dc:creator>
      <dc:date>2022-03-22T19:38:39Z</dc:date>
    </item>
  </channel>
</rss>

