My Tasks - Section: Today API

Hey All. thanks in advance and I apologise if this question has been asked before. I can’t seem to find the answer.

So I am trying to create a simple dashboard to view my tasks for today only using the ASANA Api.
So I have read that if I specify the project, I can specifiy the sections ID but…
I want to view all my tasks across all my projects that are not complete and in the “today” section. how do I create that url?

Hi @luckydem and welcome to the forum!

To get your tasks via the API, you’ll want to use the User Tasks List endpoints, which return those tasks assigned to you and showing in your “My Tasks” view:

There is no endpoint which just returns tasks by Due Date, so you’ll need to get a list of all of your tasks via this endpoint:

and then do your own filtering logic to find those that are due today.

Hi @luckydem!

I quickly want to mention that you can also achieve what you are asking for with Bridge24 for Asana.

Hope this helps!


If you weren’t aware, it’s simple to do this right in Asana (no API, no third party tool) using Advanced Search (if you’re on a paid plan):

To get that last parameter for Today/Upcoming/Later, use Add filter in the bottom left and look in the More menu items.


Thank you kindly for your response.
Maybe this is the same thing but I’m referring to the default sections that Asana provides when viewing “my tasks”, eg: recently assigned | today | upcoming and not for the due date.

With regards the other comments, thanks for the feedback. The reason why I’m creating my own web interface using ASANA’S API is because I have multiple workspaces and I would like to view all my tasks in one place.

It has been done by a few people before and there are a couple of repositories out there that people have shared, but I haven’t found one that works the way I want it to and the chrome extensions that I found didn’t work either.

So… It gives me the opportunity to learn more about APIs and webhooks etc and does a great job of distracting me from my actual work :slight_smile:

1 Like

Ah, OK.

You’ll still want to use the User Task List endpoint, and there’s still no way to filter out tasks that are only in the 'Today" section so you’ll need to retrieve the whole list and do your own filtering.

Here an example of what you might want to do:

GET /user_task_lists/159xxxxxxxxx130/tasks?completed_since=now&opt_fields=name,assignee_status

completed_since=now will filter out completed tasks and give you only uncompleted tasks.

assignee_status is the string value of the section - i.e. "today, “upcoming”, “later”, etc.

1 Like

Hey, I’m doing a similar project as the OP. I’m having a hard time getting only assignee_status=today , are there some tricks or gotchas? I keep getting Upcoming and Later with the response.

Hi @gunniho and welcome to the forum,

What queries have you tried?

Hi @Phil_Seeman!
This one f.ex.:,assignee_status&assignee_status=today

It returns my tasks, starting with today, but it will also go into Upcoming and later.

Right - as I said above:

opt_fields is only for telling Asana what fields you want returned; it has no filtering capabilities within it. If you use the user_task_lists endpoint, you’ll have to filter out the today items on your end.

Having said that, it seems like you might be able to use the Search API instead of the user_task_lists endpoint. I haven’t tried this myself, but the Search API has parameters for both assignee and assignee_status, so it seems like you should be able to specify your User guid for assignee and “today” for assignee_status and get what you want. You might want to try that. If you do, please report back and let us know if that gets you what you want!

Got it - big thanks!

1 Like