When pulling tasks in a project, how can I get it to return all related fields?

I am running this get request: https://app.asana.com/api/1.0/tasks?project=123456789

This returns all of the tasks, however, it only includes the following four fields. How can I get it to return the other 30 fields associated with the task? Can I have the manually list out all fields with the opt_fields= argument? Or can I do it via an easier method?

data.0.gid
data.0.name
data.0.resource_type
data.0.resource_subtype

That’s the answer; opt_fields is your friend. :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.