# Create milestones using the API

**URL:** <https://forum.asana.com/t/create-milestones-using-the-api/53405>\
**Category:** API & Developers\
**Created:** [24 June 2019 21:47 UTC](https://forum.asana.com/t/create-milestones-using-the-api/53405 "2019-06-24T21:47:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![diego.corubolo](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/diego.corubolo/32/36448_2.png) [@diego.corubolo](https://forum.asana.com/u/diego.corubolo)\
**Post date:** [24 June 2019 21:47 UTC](https://forum.asana.com/t/create-milestones-using-the-api/53405/1 "2019-06-24T21:47:49Z")

</div>

Is there any operation to create milestones programmatically?

---

<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:** [24 June 2019 22:17 UTC](https://forum.asana.com/t/create-milestones-using-the-api/53405/2 "2019-06-24T22:17:38Z")

</div>

Hi @diego.corubolo and welcome to the forum.

Yes, there is! In data model terms, a milestone is just an Asana task with a `resource_subtype` of `milestone`. You can just create a task and set its `resource_subtype` to `milestone`.

FYI the API documentation hasn’t been updated yet - it says `resource_subtype` is read-only - but you can now write the values `default_task` and `milestone` to that field; see [API for milestones? - #4 by Joe\_Trollo](https://forum.asana.com/t/api-for-milestones/42986/4)

---

<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/create-milestones-using-the-api/53405/3 "2025-05-30T19:07:50Z")

</div>

Closed on 30 May 2025 19:07 UTC


