cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
160
Views
0
Helpful
1
Replies

Webex Publish API not formatting text

dhisinha
Cisco Employee
Cisco Employee

Webex Publish API not formatting text. When we send data : "<b>Hi</b>"

It is just publishing same as this  <b>Hi</b>, not Hi

1 Reply 1

dstaudt
Cisco Employee
Cisco Employee

Are you referring to the Create a Message operation? https://developer.webex.com/docs/api/v1/messages/create-a-message
If so, if you send your example markup in the html key (or even the markdown key, but not the text key) of the POST body, it should be displayed as expected:

POST https://webexapis.com/v1/messages
{
  "roomId": "Y2lzY29zcGFyazovL3VredactedzNjRkMGUx",
  "html": "this is <b>bold</b> text"
}

dstaudt_0-1698261044413.png