Query Team ID and Organization ID in an API request

I am new to Asana. I’m trying to access asana API.
My aim is to create a Project under a specific team. Is it possible?
Please help me with this.


That’s definitely possible. What language/environment will you be developing in?

Thanks for replying Phil.
I am using salesforce to access Asana API.

Sorry I missed one information. I am using developing the program in java to access Asana API. I need to know the endpoint where i can hit to get team Id.

All i have at this moment:

  1. A Team Name
  2. PAT


There is a Java client library available here: GitHub - Asana/java-asana: Official Java client library for the Asana API v1

The endpoint for creating a project is documented here: Build an app with Asana

To get a list of teams in an organization including their IDs, use: Build an app with Asana

1 Like

Thanks for sharing those docs. That’s helps a lot.
Beside that can you please tell me how to get the organization id in an api call? Maybe it’s a silly question but i really don’t have any idea.

I am using endpoint : https://app.asana.com/api/1.0/workspace to get the workspace details. Is that workspace Id and organization ID same?


Yep, it’s the same! An organization is really just a workspace with some special properties to it, like the ability to have teams within the organization. You can see some more about the distinctions here:

1 Like

I really appreciate your help. Thank you so much :slight_smile:

1 Like