Tags
Returns all tracking tags in your workspace.
Bearer token for authentication
The workspace of the agency client to act on. The API key must belong to the agency's root workspace.
Successful Response
Only surface the budget cap when budgets are actually enabled.
Validation Error
GET /tags HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": "text",
"tag_id": "text",
"name": "text",
"description": "text",
"url": "text",
"status": "text",
"mtd_resolutions": 1,
"created_at": "text",
"created_by": "text",
"updated_at": "text",
"updated_by": "text",
"monthly_budget": 1,
"last_tracked_activity": "text"
}
]Creates a new tracking tag for your workspace.
Bearer token for authentication
The workspace of the agency client to act on. The API key must belong to the agency's root workspace.
Successful Response
Only surface the budget cap when budgets are actually enabled.
Validation Error
POST /tags HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"alias": "text",
"name": "text",
"description": "text"
}{
"id": "text",
"tag_id": "text",
"name": "text",
"description": "text",
"url": "text",
"status": "text",
"mtd_resolutions": 1,
"created_at": "text",
"created_by": "text",
"updated_at": "text",
"updated_by": "text",
"monthly_budget": 1,
"last_tracked_activity": "text"
}Returns a single tag by ID. Returns 404 if the tag does not exist.
Bearer token for authentication
The workspace of the agency client to act on. The API key must belong to the agency's root workspace.
Successful Response
Only surface the budget cap when budgets are actually enabled.
Validation Error
GET /tags/{id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"tag_id": "text",
"name": "text",
"description": "text",
"url": "text",
"status": "text",
"mtd_resolutions": 1,
"created_at": "text",
"created_by": "text",
"updated_at": "text",
"updated_by": "text",
"monthly_budget": 1,
"last_tracked_activity": "text"
}Permanently deletes a tag.
Bearer token for authentication
The workspace of the agency client to act on. The API key must belong to the agency's root workspace.
Successful Response
Validation Error
DELETE /tags/{id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"name": "text",
"message": "text"
}Updates a tag's name, description, status, or monthly spend cap. Only send the fields you want to change.
Bearer token for authentication
The workspace of the agency client to act on. The API key must belong to the agency's root workspace.
Successful Response
Only surface the budget cap when budgets are actually enabled.
Validation Error
PATCH /tags/{id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"name": "text",
"description": "text",
"tag_cap": 1,
"status": "enabled"
}{
"id": "text",
"tag_id": "text",
"name": "text",
"description": "text",
"url": "text",
"status": "text",
"mtd_resolutions": 1,
"created_at": "text",
"created_by": "text",
"updated_at": "text",
"updated_by": "text",
"monthly_budget": 1,
"last_tracked_activity": "text"
}Enables or disables a tag.
Bearer token for authentication
The workspace of the agency client to act on. The API key must belong to the agency's root workspace.
Successful Response
Only surface the budget cap when budgets are actually enabled.
Validation Error
POST /tags/{id}/status HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"status": "enabled"
}{
"id": "text",
"tag_id": "text",
"name": "text",
"description": "text",
"url": "text",
"status": "text",
"mtd_resolutions": 1,
"created_at": "text",
"created_by": "text",
"updated_at": "text",
"updated_by": "text",
"monthly_budget": 1,
"last_tracked_activity": "text"
}Last updated
Was this helpful?