Method: folders.entities

Full name: accounts.containers.workspaces.folders.entities

List all entities in a GTM Folder.

HTTP request

POST https://tagmanager.googleapis.com/tagmanager/v2/{path}:entities

Path parameters

Parameters
path

string

GTM Folder's API relative path. It takes the form accounts/{account}/containers/{container}/workspaces/{workspace}/folders/{folder}.

Query parameters

Parameters
pageToken

string

Continuation token for fetching the next page of results.

Request body

The request body must be empty.

Response body

Represents a Google Tag Manager Folder's contents.

If successful, the response body contains data with the following structure:

JSON representation
{
  "tag": [
    {
      object (Tag)
    }
  ],
  "variable": [
    {
      object (Variable)
    }
  ],
  "trigger": [
    {
      object (Trigger)
    }
  ],
  "nextPageToken": string
}
Fields
tag[]

object (Tag)

The list of tags inside the folder.

variable[]

object (Variable)

The list of variables inside the folder.

trigger[]

object (Trigger)

The list of triggers inside the folder.

nextPageToken

string

Continuation token for fetching the next page of results.

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.