multiple asignee tasks and due date

Hi,

i am currently using:

https://app.asana.com/api/1.0/tasks?assignee=[userid]&completed_since=now&workspace=[workspaceid]

Is it possible to use a similar string to grab multiple users tasks together and beyond that can i get this to return the due date information of the task too? i tried &opt_expand=due_date but got nothing.

Thanks

Hi @Rob_McGrail,

Not via a similar string but using the Search API instead, you should be able to get this via the ?assignee.any parameter.

A task’s due date is in the due_on field; there’s no API field called “due_date”. Here are all of the task fields.

1 Like

Also, for due_on / due_at fields, you need to use the opt_fields parameter instead of opt_expand.

GET …/tasks?assignee=xxx&opt_fields=due_on,due_at,…

Thanks both. As you can tell i am new to all this!

Will try this out and see how i get on.