I have a script that queries a bunch of users’ task lists and it uses the /users/{user_gid}/user_task_list endpoint to discover gids of these task lists. It used to work fine, but now I’m getting 403 on all requests that search for a task list for any user other than the API authenticated user. At the same time I can see task lists in the app just fine, so it doesn’t look like a permissions issue.
For example, this works: https://app.asana.com/api/1.0/users/329041525715141/user_task_list?workspace=157272343743262, because I’m logged in as this user. This doesn’t: https://app.asana.com/api/1.0/users/329041525715141/user_task_list?workspace=157272343743262 and gives me {"errors":[{"message":"Forbidden","help":"For more information on API status codes and how to handle them, read the docs on errors: https://asana.com/developers/documentation/getting-started/errors"}]}.
Hi @Konstantin_Azarov, due to upcoming product changes, we’re unable to support accessing another user’s user_task_list. Instead, we recommend using GET /tasks?workspace=<workspace-gid>&assignee=<user-gid> which should return the same exact tasks, but with a different ordering. Sorry we caught you off-guard! Our logs showed that there was extremely little affected traffic and we must have missed you in our analysis.
is there a way to get user task list’s gids? Currently trying to make a webhook for a user task list’s tasks. Rather than using the user task like gid as the resource, can I use a User gid with task filters? @Phil_Seeman