Add markup formatting to comments via API
Maciej Duda
The API call /api/v2/task/{task_id}/comment (https://clickup.com/api/clickupreference/operation/CreateTaskComment/) is missing option to submit markup-formatted messages.
Log In
n
nacho garcia llamedo
Hello ClickUp Team,
We are using your v2 API to create comments on tasks as part of a Jira synchronization workflow.
Currently, when we include a ClickUp attachment URL in the comment_text field via a POST request to /api/v2/task/{task_id}/comment, it only renders as a plain hyperlink. However, when the same URL is pasted manually into the UI, a rich image preview is correctly generated.
We would like to request that the API be enhanced to support this functionality, either by fully rendering Markdown image syntax (
) in the comment_text field or by automatically "unfurling" its own attachment links.
This feature is crucial for maintaining the visual context in migrated comments and would be a great improvement for API users.
Thank you for your consideration.
Best regards
Maciej Strączkowski
Any progress?
I've found this page: https://clickup.com/api/developer-portal/commentformatting/
I can't figure out how to use it since the endpoint only allows the "comment_text" parameter, which is not formatting text (markdown shortcuts, commands, mentions, bold do not work... only the code block works for example:
Testing code block
Ivan Villa
Thanks for the feedback! will pass it along to the team