Can you extract descriptions from a subtask?

Hi all,

Can I check if it’s possible to extract the description out from a Subtask using the API.

I’ve looked through the API documentation but couldn’t find a viable method of extracting it.

Thank you!

Hi @Low_Timothy and welcome to the forum!

A subtask is just a task that has its parent property set to point to another task, so in general you can use the regular task endpoints to get data on a subtask. I.e. you can use an endpoint like https://app.asana.com/api/1.0/tasks/{task_gid} to get its data.

The Description field in the Asana UI maps to the notes field, if you want a plain text version of it, or to the html_notes field, if you want the full HTML version.