How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Google Tag Manager Workspaces API

Operations for managing workspaces within a container, including version creation and conflict resolution.

Google Tag Manager Workspaces API is one of 9 APIs that Google Tag Manager publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Workspaces. The published artifact set on APIs.io includes an OpenAPI specification, a JSON-LD context, API documentation, an API reference, authentication docs, a getting-started guide, and 1 JSON Schema.

This API exposes 8 operations across 5 paths, and defines 21 schemas. It is described by OpenAPI 3.2.0, at version 2.0.0.

Requests are made against a single base URL, https://tagmanager.googleapis.com.

8 operations 5 paths 21 schemas 1 DELETE3 GET3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0.0
Base URL
https://tagmanager.googleapis.com
Authentication
OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 1

Google Tag Manager Workspaces API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 7 scopes. By default, every request must be authenticated.

  • oauth2 — OAuth 2.0 authentication for Google Tag Manager API.

Paths & Operations 8

Across 5 paths, the API surfaces 8 operations — 1 DELETE, 3 GET, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Workspaces 8

Operations for managing workspaces within a container, including version creation and conflict resolution.

GET
/tagmanager/v2/{parent}/workspaces
Google Tag Manager List Workspaces in a Container
listWorkspaces 2 params → 200
POST
/tagmanager/v2/{parent}/workspaces
Google Tag Manager Create a Workspace
createWorkspace 1 param body → 200
GET
/tagmanager/v2/{workspacePath}
Google Tag Manager Get a Workspace
getWorkspace 1 param → 200
PUT
/tagmanager/v2/{workspacePath}
Google Tag Manager Update a Workspace
updateWorkspace 2 params body → 200
DELETE
/tagmanager/v2/{workspacePath}
Google Tag Manager Delete a Workspace
deleteWorkspace 1 param → 204
POST
/tagmanager/v2/{workspacePath}:create_version
Google Tag Manager Create a Container Version From a Workspace
createWorkspaceVersion 1 param body → 200
GET
/tagmanager/v2/{workspacePath}/status
Google Tag Manager Get the Status of a Workspace
getWorkspaceStatus 1 param → 200
POST
/tagmanager/v2/{workspacePath}:sync
Google Tag Manager Sync a Workspace to the Latest Container Version
syncWorkspace 1 param → 200

Schemas 21

The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are Trigger (32 properties), Tag (25 properties), Variable (17 properties), ContainerFeatures (14 properties). Each schema is shown below with its type and property counts.

Trigger
object
Represents a Google Tag Manager Trigger. A trigger defines conditions under which tags should fire, such as page views, clicks, form submissions, or custom eve…
32 properties 2 required
Tag
object
Represents a Google Tag Manager Tag. A tag is a snippet of code that executes on a page when certain conditions (triggers) are met.
25 properties 2 required
Container
object
Represents a Google Tag Manager Container, which is a collection of tags, triggers, and variables used on a website or mobile app.
13 properties 2 required
ConsentSettings
object
Tag consent settings.
2 properties
Workspace
object
Represents a Google Tag Manager Workspace. A workspace is an isolated editing environment within a container where changes to tags, triggers, and variables can…
8 properties 1 required
FormatValue
object
Option to convert a variable value to another value.
5 properties
ContainerFeatures
object
Read-only container feature set.
14 properties
Variable
object
Represents a Google Tag Manager Variable. A variable provides dynamic values that can be used in tags and triggers, such as page URL, click text, or custom Jav…
17 properties 2 required
CreateContainerVersionRequestVersionOptions
object
Options for new container versions.
2 properties
SetupTag
object
Represents a setup tag relationship. A setup tag fires before the main tag.
2 properties
TeardownTag
object
Represents a teardown tag relationship. A teardown tag fires after the main tag.
2 properties
MergeConflict
object
Represents a merge conflict between workspace and version.
2 properties
Entity
object
A workspace entity that can represent a tag, trigger, variable, or folder that has been changed.
4 properties
ListWorkspacesResponse
object
List Workspaces Response.
2 properties
CreateContainerVersionResponse
object
Create container version response.
4 properties
ContainerVersion
object
Represents a version of a Google Tag Manager Container. A container version is a snapshot of all tags, triggers, variables, and configuration at a point in tim…
13 properties
Parameter
object
Represents a Google Tag Manager Parameter. Parameters are key-value pairs that configure tags, triggers, and variables.
6 properties 1 required
SyncStatus
object
The status of a workspace after syncing.
2 properties
SyncWorkspaceResponse
object
Sync workspace response.
2 properties
GetWorkspaceStatusResponse
object
The changes and conflicts in a workspace, providing information about which entities have been modified and any merge conflicts.
2 properties
Condition
object
Represents a predicate that is evaluated against a data layer value or variable. Used in trigger filter conditions.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

google-tag-manager-workspaces-api-openapi.yml Raw ↑

Other APIs Google Tag Manager publishes across the network.

Google Tag Manager Server-side Tagging API
Google Tag Manager Accounts API
Google Tag Manager Containers API
Google Tag Manager Tagmanager API
Google Tag Manager Triggers API
Google Tag Manager User Permissions API
Google Tag Manager Variables API
Google Tag Manager Versions API
Where this information came from

This is an independent, third-party profile of Google Tag Manager Workspaces API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.