# Recurring due dates via API?

**URL:** <https://forum.asana.com/t/recurring-due-dates-via-api/122145>\
**Category:** API & Developers\
**Tags:** dates, api, recurring-tasks\
**Created:** [20 May 2021 17:26 UTC](https://forum.asana.com/t/recurring-due-dates-via-api/122145 "2021-05-20T17:26:52Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Lukash\_Oleksandr](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/lukash_oleksandr/32/270644_2.png) [@Lukash\_Oleksandr](https://forum.asana.com/u/Lukash_Oleksandr)\
**Post date:** [7 October 2024 16:09 UTC](https://forum.asana.com/t/recurring-due-dates-via-api/122145/5 "2024-10-07T16:09:57Z")

</div>

Hello!  
I’m happy to let you know that this is available. To create a task, you’ll need to pass the `recurrence` key with this data.

```auto
{'data': {'days_of_week': [1], 'frequency': 2}, 'type': 'weekly'}

```

request example

```auto
request_body = {
            "name": "Some title",
            "projects": 123123123
            "due_on": YYYY-MM-DD
            "recurrence": {"data": {"days_of_week": [1], "frequency": 2}, "type": "weekly"}
        }

```

this will create a task that will be repeated every 2 weeks on Monday

---

_[View the full topic](https://forum.asana.com/t/recurring-due-dates-via-api/122145)._
