Where do I set the project_section:read permission to access the section of asana task

Apologies if this is a basic question, but I couldn’t find a clear answer anywhere so I’m posting here.

I’m trying to fetch all tasks for a user along with their task memberships. My OAuth app has full permissions, but I’m still unable to retrieve section details. The docs methions that I need project:read and project_section:read scopes. However, in the app permissions list I only see project:read — I can’t find project_section:read anywhere.

Has anyone run into this before or know how to enable project_section:read?

Hi @Hari_PS and welcome!

The project_section scopes are part of a scope group that we don’t currently support in OAuth. You can find more details about this in our OAuth documentation. In this case, you’ll need to use the default (full permissions) scope in order to perform that request.

As for the missing section data, have you tried adding the relevant opt_fields query parameter? For example, if you’d like to include both the section GID and name, you can add:

opt_fields=memberships.section,memberships.section.name

You can read more about this in the Get tasks from a user task list and Input/output options documentation.

Let me know if this helps!

Best,
Dominik