Google Tag ManagerGoogle Tag ManagerAdvertising

List workspaces in a container

google-tag-manager.workspaces

List the draft workspaces available in a Tag Manager container

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

Parameters

A workspace isolates draft tags, triggers and variables before a version is created

ParameterTypeRequiredDescriptionExample
Path parameters
account_idstringRequireddigits from the account resource path123456
container_idstringRequireddigits from the container resource path789
Query parameters
pageTokenstringOptional
  • Path parameters
  • account_idstringRequired

    digits from the account resource path

    Example: 123456

  • container_idstringRequired

    digits from the container resource path

    Example: 789

  • Query parameters
  • pageTokenstringOptional

Code samples

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

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/google-tag-manager.workspaces' \
  -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.