Google Tag Manager Workspaces API

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

Operations 8

GET /tagmanager/v2/{parent}/workspaces Google Tag Manager List Workspaces in a Container #
POST /tagmanager/v2/{parent}/workspaces Google Tag Manager Create a Workspace #
GET /tagmanager/v2/{workspacePath} Google Tag Manager Get a Workspace #
PUT /tagmanager/v2/{workspacePath} Google Tag Manager Update a Workspace #
DELETE /tagmanager/v2/{workspacePath} Google Tag Manager Delete a Workspace #
POST /tagmanager/v2/{workspacePath}:create_version Google Tag Manager Create a Container Version From a Workspace #
GET /tagmanager/v2/{workspacePath}/status Google Tag Manager Get the Status of a Workspace #
POST /tagmanager/v2/{workspacePath}:sync Google Tag Manager Sync a Workspace to the Latest Container Version #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-tag-manager-workspaces-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-tag-manager-workspaces-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Tag Manager Workspaces API
  description: The Google Tag Manager API v2 allows clients to access and modify Google Tag Manager account, container, workspace, tag, trigger, and variable configurations. It provides programmatic management of tag deployment, trigger conditions, and variable definitions across web, mobile, and server-side containers.
  version: 2.0.0
  termsOfService: https://policies.google.com/terms
  contact:
    name: Google Support
    url: https://support.google.com/tagmanager
  license:
    name: Google APIs Terms of Service
    url: https://developers.google.com/terms
servers:
- url: https://tagmanager.googleapis.com
  description: Google Tag Manager API Production Server
security:
- oauth2:
  - tagmanager.readonly
  - tagmanager.edit.containers
  - tagmanager.manage.accounts
  - tagmanager.manage.users
  - tagmanager.publish
  - tagmanager.edit.containerversions
  - tagmanager.delete.containers
tags:


# --- truncated at 32 KB (43 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/google-tag-manager/refs/heads/main/openapi/google-tag-manager-workspaces-api-openapi.yml