Method: templates.get

Full name: accounts.containers.workspaces.templates.get

Gets a GTM Template.

HTTP request

GET https://tagmanager.googleapis.com/tagmanager/v2/{path}

Path parameters

Parameters
path

string

GTM Custom Template's API relative path. It takes the form accounts/{account}/containers/{container}/workspaces/{workspace}/templates/{template}.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of CustomTemplate.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/tagmanager.edit.containers
  • https://www.googleapis.com/auth/tagmanager.readonly

For more information, see the OAuth 2.0 Overview.