cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3412
Views
0
Helpful
3
Replies

Webex Teams - Webhooks and Markdown

rdkulkarni
Level 1
Level 1

Hello Cisco Webex Teams Experts out there,

Not sure this is a right forum but giving it a shot? Two questions 

1) Does Webex Teams support posting (thru an API) a table or more broadly are tables supported by Webex Teams if I were to copy/paste (markdown is also ok)

2)For Webex Teams webhook to work, does the target url need to be accessible over the internet. What options do we have if target url is behind firewall (corporate network), how can webhook payload reach there?

Regards,

Raghu

3 Replies 3

frd1963
Level 1
Level 1

You can use markdown to create tables, however, some of the generally accepted markdown standards for tables doesn't seem to work.

The way I have gotten it to consistently work is to have ``` lines before and after the table text, and then only use the pipe "|" as a field separator and at the beginning of each row.  Do not include the "----+----+---" row.  You can use normal markdown to emphasize your header column names though (e.g., bold, italics), otherwise they won't look any different from the rest of the data.
It is a bit painful to convert a normal dataset to a displayable table if you have a big table, so I created a shell script to do the conversions for me.  A macro in a text editor could work too if that's more your style.

 

I hope that helps,

-frd1963

dtibbe
VIP
VIP

There is no Webex Teams anymore.. There is just Webex

 

Webex supports posting messages using markdown. In the Webex app's chat input, there is a symbol for enabling mark down (3rd icon, M). Unfortunately, the supported markdown subset does not support tables.

 

Besides what Nithin already mentioned regarding the webhooks: there is also a DevNet Learning Labs on webhooks: https://developer.cisco.com/learning/lab/collab-sparkwebhook/step/1 They use the ngrok tool for developing and testing; it helps you to receive webhooks also if you do not have a public ip/dns.

 

Questions regarding the Webex Rest API can be placed best in the Webex developer commuity, see https://developer.webex.com/. The #webex4devs space is also a very good resource for API related help

 

For Webex Teams webhook to work, does the target url need to be accessible over the internet. AFAIk yes,  need  be accessible over internet. 

 

Developer.cisco.com & developer community will be the right place. 

 

You can also refer below link.

 

https://developer.webex.com/docs/api/guides/webhooks

 

 



Response Signature