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 Tagmanager API

The Tagmanager API from Google Tag Manager — 3 operation(s) for tagmanager.

Google Tag Manager Tagmanager 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 Tag Manager. 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 6 operations across 3 paths, and defines 7 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.

6 operations 3 paths 7 schemas 1 DELETE2 GET2 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 Tagmanager 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 6

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

Tagmanager 6
GET
/tagmanager/v2/{parent}/tags
Google Tag Manager List Tags in a Workspace
listTags 2 params → 200
POST
/tagmanager/v2/{parent}/tags
Google Tag Manager Create a Tag
createTag 1 param body → 200
GET
/tagmanager/v2/{tagPath}
Google Tag Manager Get a Tag
getTag 1 param → 200
PUT
/tagmanager/v2/{tagPath}
Google Tag Manager Update a Tag
updateTag 2 params body → 200
DELETE
/tagmanager/v2/{tagPath}
Google Tag Manager Delete a Tag
deleteTag 1 param → 204
POST
/tagmanager/v2/{tagPath}:revert
Google Tag Manager Revert Changes to a Tag in a Workspace
revertTag 1 param → 200

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are Tag (25 properties), Parameter (6 properties), TeardownTag (2 properties), ConsentSettings (2 properties). Each schema is shown below with its type and property counts.

Parameter
object
Represents a Google Tag Manager Parameter. Parameters are key-value pairs that configure tags, triggers, and variables.
6 properties 1 required
ListTagsResponse
object
List Tags Response.
2 properties
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
RevertTagResponse
object
The result of reverting a tag in a workspace.
1 property
SetupTag
object
Represents a setup tag relationship. A setup tag fires before the main tag.
2 properties
ConsentSettings
object
Tag consent settings.
2 properties
TeardownTag
object
Represents a teardown tag relationship. A teardown tag fires after the main tag.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

google-tag-manager-tagmanager-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 Triggers API
Google Tag Manager User Permissions API
Google Tag Manager Variables API
Google Tag Manager Versions API
Google Tag Manager Workspaces API
Where this information came from

This is an independent, third-party profile of Google Tag Manager Tagmanager 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.