API Integration of Asana Templates

Hi everyone,

I am integrating Asana projects via API for an internal company AI chatbot. Normally, I can see the GID directly in the URL. However, I now want to integrate templates (e.g., forms) that have not yet been used or triggered. In this case, there doesn’t seem to be a visible GID in the URL.

Is there a way to retrieve the GID of an untriggered template? Or is there an alternative approach to integrating such templates via the API?

If anyone has experience or ideas on this, I would greatly appreciate your help!

Thanks in advance and best regards

Can you clarify what Asana object you’re referring to here? Based on your wording, it could be any of these objects which are all distinctly different:

-a project template
-a task template
-a form

Thanks!

That’s true, perhaps I could have defined it more precisely! I think that at the beginning, project templates are more interesting.
Thanks

The gid of a project template is in its URL when you edit the template, for example:
https://app.asana.com/0/project-templates/1203638570647716/list


You can also get the gids of project templates from this API endpoint.