Create access token for selected projects

In my organisation we need to call asana API for create tasks in different projects. these projects belongs to different teams theres no one person who has access to all projects.

How to create access token to use in our platform’s backend with limited access to the projects we needs to interact from our platform.

2 Likes

Welcome, @Anil_Ranathunga,

This is only possible in the Enterprise plan using Service Accounts:

See also:

Thanks,

Larry

3 Likes

@lpb Are you sure? Service accounts have access to all of an organization’s data; I wasn’t aware it was possible to scope them to just specific projects?

@Phil_Seeman,

I was offering a solution to:

because the service account would offer that access, but of course access to all org data as well.

Another option would be to add one user to all the projects and then get a personal access token for that user.

Hope that clarifies,

Larry

2 Likes

That’s the trick we use for our tool Asana Pulse. Works fine.

1 Like

How to create access tokens…with limited access to projects

For others that may be curious on how to create tokens with limited access, one approach is to create either an Asana guest or limited access member and then use this Asana account to generate the personal access token (PAT) for your app.

You can then invite the guest/limited access Asana user only to the projects you want the PAT to have access to. This is a useful workaround for creating bots with limited scopes.

3 Likes