Google Tag ManagerGoogle Tag ManagerAdvertising

Create a container version from a workspace

google-tag-manager.version-create

Snapshot a validated draft workspace as a new container version

Price
freeAt provider cost
Success rate
—No success-rate data yetNo success-rate data yet
Latency p50
——
Last verified
—Not verified yet
POSThttps://toolswitch.dev/v1/tools/google-tag-manager.version-createPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

Requires the manage capability. Creating a version does not publish it; inspect compilerError and the returned containerVersion before publishing

ParameterTypeRequiredDescriptionExample
Path parameters
account_idstringRequired123456
container_idstringRequired789
workspace_idstringRequireddigits from the workspace resource path1
  • Path parameters
  • account_idstringRequired

    Example: 123456

  • container_idstringRequired

    Example: 789

  • workspace_idstringRequired

    digits from the workspace resource path

    Example: 1

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X POST 'https://toolswitch.dev/v1/tools/google-tag-manager.version-create' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.