<?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: Include a mention when creating a new message via API in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/include-a-mention-when-creating-a-new-message-via-api/m-p/4780781#M1929</link>
    <description>&lt;P&gt;Well so it is, thanks!&amp;nbsp; I totally missed that in the markup documentation.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2023 17:35:01 GMT</pubDate>
    <dc:creator>jrolfe</dc:creator>
    <dc:date>2023-02-22T17:35:01Z</dc:date>
    <item>
      <title>Include a mention when creating a new message via API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/include-a-mention-when-creating-a-new-message-via-api/m-p/4780278#M1922</link>
      <description>&lt;P&gt;Is it possible to include a mention when creating a new message in a Webex space via API?&amp;nbsp; I can retrieve messages with mentions and see how it utilizes the mentionedPeopleId field, and I can get people ID's via v1/people, but the documentation on creating new messages doesn't have anything about including a mention when creating a new message, leaving me to assume it's likely just not possible.&lt;/P&gt;&lt;P&gt;I can't seem to find any markdown that might enable me to do this via markdown formatting either.&amp;nbsp; And simply including "@(display name)" or "@(email)" in the markdown in the request body doesn't resolve to an individual when the message is posted, it just puts the literal text there.&lt;/P&gt;&lt;P&gt;We have some chat rooms that are quite busy and therefore folks have configured notifications for&amp;nbsp;@mentions only.&amp;nbsp; It would be very nice when an application that we've integrated to Webex could post a message to one of those channels and mention the individual the message was relevant to.&amp;nbsp; That way the individual could then get notified on that specific message while ignoring the other noise going on in the channel.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 08:56:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/include-a-mention-when-creating-a-new-message-via-api/m-p/4780278#M1922</guid>
      <dc:creator>jrolfe</dc:creator>
      <dc:date>2023-02-22T08:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Include a mention when creating a new message via API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/include-a-mention-when-creating-a-new-message-via-api/m-p/4780451#M1924</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1468868"&gt;@jrolfe&lt;/a&gt;&amp;nbsp;it is actually in the documentation here&amp;nbsp;&lt;A href="https://developer.webex.com/docs/basics#formatting-messages" target="_blank"&gt;https://developer.webex.com/docs/basics#formatting-messages&lt;/A&gt;&amp;nbsp;. Go to&amp;nbsp;&lt;SPAN&gt;Mentions and you will see some examples. Here is a more concrete snippet with cURL:&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="c"&gt;curl --location 'https://webexapis.com/v1/messages' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"roomId": "YOUR_ROOM_ID",
"markdown": "&amp;lt;@all&amp;gt;, we have some exciting news! Please watch this space for more information..."
}'&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 11:57:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/include-a-mention-when-creating-a-new-message-via-api/m-p/4780451#M1924</guid>
      <dc:creator>Janos Benyovszki</dc:creator>
      <dc:date>2023-02-22T11:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Include a mention when creating a new message via API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/include-a-mention-when-creating-a-new-message-via-api/m-p/4780781#M1929</link>
      <description>&lt;P&gt;Well so it is, thanks!&amp;nbsp; I totally missed that in the markup documentation.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 17:35:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/include-a-mention-when-creating-a-new-message-via-api/m-p/4780781#M1929</guid>
      <dc:creator>jrolfe</dc:creator>
      <dc:date>2023-02-22T17:35:01Z</dc:date>
    </item>
  </channel>
</rss>

