Create task in User Task List (My Tasks)

Hi,

I’m new to the Asana API and I’m wondering how I can POST a new task to my user task list (My Tasks section in the dashboard). I have tried a POST request without the workspace property, however when I do this I get the following error message:

You should specify one of workspace, parent, projects

Can you let me know which of these I should be specifying to create the task within my task list?

Thanks

1 Like

Hi @James_Pell,

First of all, welcome to the Asana Community Forum! This is a great space to ask and answer questions.

I am not familiar with API, but I have provided a link to the Asana Developers page that takes you step by step through the different functionalities of API. I hope this helps!

https://developers.asana.com/docs

1 Like

Thanks, after further testing. I have found that you only need to provide your workspace gid to the workspace property for this to work. The task is then automatically added to “My tasks”.

2 Likes

Awesome, glad to help and that you were able to figure it out!

1 Like