Skip to main content

Formatting Updates with API

  • February 24, 2020
  • 2 replies
  • 2669 views

KeriArzaluz

Hello!

Is there a way to format the text of an update (bold, italic, bullets, etc.) when using the APIv2?

Thank you for your answer!

This topic has been closed for replies.

2 replies

lauralev
Forum|alt.badge.img
  • monday.com Team Member
  • February 24, 2020

Hey @KeriArzaluz! At the moment, there’s not a way via API to format updates other than sending plain text. I’d be happy to pass this request onward to our team for consideration! Stay tuned for more developments with our API 🙂 Cheers!


dipro
Forum|alt.badge.img
  • Leader
  • April 28, 2020

Hey @KeriArzaluz – just wanted to follow up on this post.

You can now format text in updates using HTML formatting! It supports paragraph, break, strong, italics, underline, strikethrough, ordered lists, unordered lists, and tables.

Here’s an example mutation that creates some formatted text:

mutation {
  create_update (item_id:148203425, body:"<p><strong>This is bold text</strong></p> <p><em>This is italics text</em></p> <p><u>This is underlined text</u></p> <p><del>This is strikethrough</del></p>  <ol> <li>This is the first point</li> <li>This is a second point</li> </ol><p><br></p> <ul> <li>This is a list</li> <li>This is another thing on a list</li> </ul><p><br></p> <table><tbody> <tr> <td>Name</td> <td>Age</td> <td>Star Sign</td> </tr> <tr> <td>Dipro</td> <td>26</td> <td>Virgo</td> </tr> </tbody></table>") {
    id
  }
}

And here is what that text looks like in an update: