Folders: entities

List all entities in a GTM Folder. Try it now.

Request

HTTP request

POST https://www.googleapis.com/tagmanager/v2/+path:entities

Parameters

Parameter name Value Description
Path parameters
path string GTM Folder's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
Optional query parameters
pageToken string Continuation token for fetching the next page of results.

Authorization

This request requires authorization with at least one of the following scopes:

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

For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "tag": [
    accounts.containers.workspaces.tags Resource
  ],
  "variable": [
    accounts.containers.workspaces.variables Resource
  ],
  "trigger": [
    accounts.containers.workspaces.triggers Resource
  ],
  "nextPageToken": string
}
Property name Value Description Notes
tag[] list The list of tags inside the folder.
variable[] list The list of variables inside the folder.
trigger[] list The list of triggers inside the folder.
nextPageToken string Continuation token for fetching the next page of results.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.