Visit API Community

Special syntax

Task Description

Task description can be set and received in HTML format with a limited set of tags. See table below for a list of allowed tags.

Formatting Option HTML Tags Notes
Line Break <br>
Headers <h1>, <h2>, <h3>, <h4>, <h5>, <h6>
Bold <strong>, <b>
Italics <em>, <i>
Underline <u>
Strikethrough <s>
Highlight Text <span style="color:{hex}"> Insert color code instead of {hex}
Links <a href="https://www.wrike.com"> Add 'rel="nofollow"' for all links that direct you out of the Wrike Workspace. Allowed protocols: http, https, ftp, mailto
Insert Image <img> Only task attachments can be used as an image source
Ordered List <ol> List items should be wrapped in an <li> tag
Unordered List <ul> List items should be wrapped in an <li> tag
List item <li> For both ordered and unordered lists
Table <table> Only regular NxM tables are supported, without merged and split cells
Table row <tr>
Table cell <td>

Task Comments

Comments can be set and received in HTML format with a limited set of tags. See table below for the list of allowed tags. If you query task comments with the parameter "plainText = true" the comment will be returned without any tags.

Formatting Option HTML Tags Notes
Line Break <br>
Links <a href="https://www.wrike.com"> Add 'rel="nofollow"' for all links that direct you out of the Wrike Workspace. Allowed protocols: http, https, ftp, mailto
@mention <a class="stream-user-id avatar" rel="userID">@John Doe</a> Put user ID inside "rel" parameter. @ corresponds to the @ symbolz
Quote of a comment <blockquote data-entrytype="comment" data-entryid="${Comment ID}" data-user="${User ID}" data-date="${timestamp}">
Quote of task description <blockquote data-entrytype="[task|folder]" data-entryid="${Task or Folder ID}" data-title="${Task or Folder title}">Quoted description part</blockquote>