I’m trying to write a Python script to automate a full Asana backup using the REST API and a Personal Access Token (PAT). We are an Asana Enterprise+ customer and would like to use the script with a valid PAT for authentication.
However, when I try to create a PAT in the Developer Console, the token I receive always starts with 2/...
, which appears to be an OAuth token rather than a true Personal Access Token.
To authenticate with the API (e.g., for GET /projects
), I need a PAT that starts with 1/...
, as documented in your API examples and required for direct Bearer
token use in scripts.
Could anyone please advise how I can generate a valid 1/...
Personal Access Token?