Create task API not accepting html tags

I am creating tasks on asana with api. Task created successfully but not accepting html, even \n in description (Notes). Please help

Hi @Harpreet_kaur and welcome to the forum!

The only field that accepts any form of HTML is the html_notes field.

It only accepts a pretty limited set of HTML tags, though; here is the list of the only tags you can use:

Also, when writing to that field, you must enclose your string in a <body></body> tag set.

Hi Phil_Seeman,

Thank you so much. Its working fine, I have checked that I was missing “” tag from “html_notes”.

1 Like

body tag.

1 Like