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 runtime evaluation. Folder names must be case-insensitively unique within a tag manager.
Folders are dashboard-only containers — they affect how tags, triggers, and variables are grouped in the UI but have no impact on runtime evaluation. Folder names are case-insensitively unique within a tag manager; collisions return HTTP 409.
To assign a tag, trigger, or variable to a folder, use the GraphQL assignTagManagerAssetToFolder mutation — the asset-folder relationship is not exposed on these REST endpoints. Deleting a folder ungroups its assets; the assets themselves are not deleted.
Authorization
apiKey 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://app.oursprivacy.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
}
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}Authorization
apiKey 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://app.oursprivacy.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"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}Authorization
apiKey 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://app.oursprivacy.com/rest/v1/tag-manager-folders/string"{
"id": "string",
"tagManagerId": "string",
"accountId": "string",
"name": "string",
"createdAt": "string",
"updatedAt": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}Authorization
apiKey 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://app.oursprivacy.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"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}Authorization
apiKey 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://app.oursprivacy.com/rest/v1/tag-manager-folders/string"{
"id": "string",
"deleted": true
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}{
"error": "string",
"details": "string"
}How is this guide?

