Tag Manager Folders
Manage dashboard-only folders inside a tag manager. Folders organize tags, triggers, and variables for the UI; they have no effect on how tags fire.
Folders are dashboard-only containers: they group tags, triggers, and variables in the UI and do not change how tags fire.
POST /rest/v1/tag-manager-asset-folders assigns a tag, trigger, or variable to a folder or moves it between folders. Send the asset type, asset id, and target folderId, or folderId: null to remove the asset from its current folder. Deleting a folder ungroups its assets; the assets themselves are not deleted.
GET/rest/v1/tag-manager-folders
Ours Privacy API key
In: header
Query Parameters
Maximum number of folders to return. Defaults to 25; values below 1 are clamped to 1 and values above 1000 are clamped to 1000. The web-app passes 1000 to render the full workspace in one request.
Opaque pagination cursor from pagination.nextCursor in the previous response. Do not decode or modify it. Malformed cursors return 400 Bad Request.
Parent tag manager whose folders should be returned.
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/rest/v1/tag-manager-folders?tagManagerId=string"{ "entities": [ { "id": "string", "tagManagerId": "string", "accountId": "string", "name": "string", "createdAt": "string", "updatedAt": "string" } ], "pagination": { "nextCursor": "string", "hasMore": true }}POST/rest/v1/tag-manager-folders
Ours Privacy API key
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/rest/v1/tag-manager-folders" \ -H "Content-Type: application/json" \ -d '{ "tagManagerId": "string", "name": "string" }'{ "id": "string", "tagManagerId": "string", "accountId": "string", "name": "string", "createdAt": "string", "updatedAt": "string"}GET/rest/v1/tag-manager-folders/{id}
Ours Privacy API key
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/rest/v1/tag-manager-folders/string"{ "id": "string", "tagManagerId": "string", "accountId": "string", "name": "string", "createdAt": "string", "updatedAt": "string"}PATCH/rest/v1/tag-manager-folders/{id}
Ours Privacy API key
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/rest/v1/tag-manager-folders/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": "string", "tagManagerId": "string", "accountId": "string", "name": "string", "createdAt": "string", "updatedAt": "string"}DELETE/rest/v1/tag-manager-folders/{id}
Ours Privacy API key
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/rest/v1/tag-manager-folders/string"{ "id": "string", "deleted": true}POST/rest/v1/tag-manager-asset-folders
Ours Privacy API key
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/rest/v1/tag-manager-asset-folders" \ -H "Content-Type: application/json" \ -d '{ "assetType": "tagManagerTag", "assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8", "folderId": "5b6379a4-2a6c-4085-b184-45838a3b8e7e" }'{ "id": "string", "accountId": "string", "tagManagerId": "string", "assetType": "tagManagerTag", "assetId": "string", "folderId": "string", "createdAt": "string", "updatedAt": "string"}How is this guide?

