How can i fetch the other organisation workspace

currently, I am fetching my own organisation workspace Gid by using the token and I am getting the all the access of projects and sections present in my organisation, i want to fetch the other workspace so how can I do that if i don’t have the Token of that workspace is there any API, like if anyone from the other organisation is login to my app then its get all the project of their organisation

No, for security reasons, you can’t access the data of a workspace or organization if you don’t have a token to an account that has access to that workspace or organization.

Within your app, you would have to take the user through the Asana OAuth authorization flow in order to get a token with access to their workspace/organization.

Alternately, you could have them generate a Personal Access Token (PAT) and supply that PAT to you, then you can use that as the access token.