# How to get subtask status from API, if user mark it as completed in task card

**URL:** <https://forum.asana.com/t/how-to-get-subtask-status-from-api-if-user-mark-it-as-completed-in-task-card/73559>\
**Category:** API & Developers\
**Created:** [6 February 2020 17:33 UTC](https://forum.asana.com/t/how-to-get-subtask-status-from-api-if-user-mark-it-as-completed-in-task-card/73559 "2020-02-06T17:33:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon78268734](https://luna1.co/8d76cd.png) [@anon78268734](https://forum.asana.com/u/anon78268734)\
**Post date:** [6 February 2020 17:33 UTC](https://forum.asana.com/t/how-to-get-subtask-status-from-api-if-user-mark-it-as-completed-in-task-card/73559/1 "2020-02-06T17:33:05Z")

</div>

I am implementing Asana REST API’s, I am stuck at point where I need to know subtask status (if user mark it as completed in task card). I am only getting three fields as response mentioned below. How I can get status of subtasks. Any idea?

{  
“gid”: “1160206299613978”,  
“name”: “Remove the Notes column from the datatable.”,  
“resource\_type”: “task”  
}

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [6 February 2020 18:25 UTC](https://forum.asana.com/t/how-to-get-subtask-status-from-api-if-user-mark-it-as-completed-in-task-card/73559/2 "2020-02-06T18:25:52Z")

</div>

Hi @anon78268734 and welcome to the forum!

What API endpoint are you currently using to get the subtask information?

---

<div class="post-metadata">

**Author:** ![anon78268734](https://luna1.co/8d76cd.png) [@anon78268734](https://forum.asana.com/u/anon78268734)\
**Post date:** [6 February 2020 18:37 UTC](https://forum.asana.com/t/how-to-get-subtask-status-from-api-if-user-mark-it-as-completed-in-task-card/73559/3 "2020-02-06T18:37:37Z")

</div>

[https://app.asana.com/api/1.0/tasks/task\_gid/subtasks](https://app.asana.com/api/1.0/tasks/task_gid/subtasks)

---

<div class="post-metadata">

**Author:** ![Frederic\_Malenfant](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/frederic_malenfant/32/8358_2.png) [@Frederic\_Malenfant](https://forum.asana.com/u/Frederic_Malenfant)\
**Post date:** [7 February 2020 16:30 UTC](https://forum.asana.com/t/how-to-get-subtask-status-from-api-if-user-mark-it-as-completed-in-task-card/73559/4 "2020-02-07T16:30:39Z")

</div>

You can get any field you need by using opt\_fields parameter.  
example  
[https://app.asana.com/api/1.1/tasks/xxx/subtasks/?opt\_fields=name,completed,modified\_at](https://app.asana.com/api/1.1/tasks/xxx/subtasks/?opt_fields=name,completed,modified_at)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [30 May 2025 19:07 UTC](https://forum.asana.com/t/how-to-get-subtask-status-from-api-if-user-mark-it-as-completed-in-task-card/73559/5 "2025-05-30T19:07:15Z")

</div>

Closed on 30 May 2025 19:07 UTC


