curl -X POST 'https://api.example.com/tag-groups/batch' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '[
{
"scopeId": "scope_project",
"name": "Priority",
"key": "priority",
"description": "Task priority levels",
"maxAppliedPerTarget": 1,
"tags": [
{"identifier": "critical", "label": "Critical"},
{"identifier": "high", "label": "High"},
{"identifier": "medium", "label": "Medium"},
{"identifier": "low", "label": "Low"}
]
},
{
"scopeId": "scope_project",
"name": "Status",
"key": "status",
"description": "Task status",
"maxAppliedPerTarget": 1,
"tags": [
{"identifier": "open", "label": "Open"},
{"identifier": "in_progress", "label": "In Progress"},
{"identifier": "review", "label": "In Review"},
{"identifier": "done", "label": "Done"}
]
},
{
"scopeId": "scope_project",
"name": "Departments",
"key": "departments",
"description": "Organization departments",
"tags": [
{"identifier": "engineering", "label": "Engineering"},
{"identifier": "sales", "label": "Sales"},
{"identifier": "marketing", "label": "Marketing"}
]
}
]'
[
{
"id": "tag_group_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
"scopeId": "scope_project",
"name": "Priority",
"key": "priority",
"description": "Task priority levels",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdAt": "2024-01-15T10:30:00Z"
},
{
"id": "tag_group_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5c",
"scopeId": "scope_project",
"name": "Status",
"key": "status",
"description": "Task status",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdAt": "2024-01-15T10:30:00Z"
},
{
"id": "tag_group_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5d",
"scopeId": "scope_project",
"name": "Departments",
"key": "departments",
"description": "Organization departments",
"origin": "user",
"maxAppliedPerTarget": null,
"isLocked": false,
"createdAt": "2024-01-15T10:30:00Z"
}
]
Create multiple tag groups with inline tags in a single request
curl -X POST 'https://api.example.com/tag-groups/batch' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '[
{
"scopeId": "scope_project",
"name": "Priority",
"key": "priority",
"description": "Task priority levels",
"maxAppliedPerTarget": 1,
"tags": [
{"identifier": "critical", "label": "Critical"},
{"identifier": "high", "label": "High"},
{"identifier": "medium", "label": "Medium"},
{"identifier": "low", "label": "Low"}
]
},
{
"scopeId": "scope_project",
"name": "Status",
"key": "status",
"description": "Task status",
"maxAppliedPerTarget": 1,
"tags": [
{"identifier": "open", "label": "Open"},
{"identifier": "in_progress", "label": "In Progress"},
{"identifier": "review", "label": "In Review"},
{"identifier": "done", "label": "Done"}
]
},
{
"scopeId": "scope_project",
"name": "Departments",
"key": "departments",
"description": "Organization departments",
"tags": [
{"identifier": "engineering", "label": "Engineering"},
{"identifier": "sales", "label": "Sales"},
{"identifier": "marketing", "label": "Marketing"}
]
}
]'
[
{
"id": "tag_group_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
"scopeId": "scope_project",
"name": "Priority",
"key": "priority",
"description": "Task priority levels",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdAt": "2024-01-15T10:30:00Z"
},
{
"id": "tag_group_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5c",
"scopeId": "scope_project",
"name": "Status",
"key": "status",
"description": "Task status",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdAt": "2024-01-15T10:30:00Z"
},
{
"id": "tag_group_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5d",
"scopeId": "scope_project",
"name": "Departments",
"key": "departments",
"description": "Organization departments",
"origin": "user",
"maxAppliedPerTarget": null,
"isLocked": false,
"createdAt": "2024-01-15T10:30:00Z"
}
]
tag_group_{uuidv7}.system, user. Default: userid (optional): Client-provided IDidentifier (required): Unique identifier within the grouplabel (required): Display label for the tagtags array to create tags inline. This allows you to set up complete tag taxonomies in a single request.curl -X POST 'https://api.example.com/tag-groups/batch' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '[
{
"scopeId": "scope_project",
"name": "Priority",
"key": "priority",
"description": "Task priority levels",
"maxAppliedPerTarget": 1,
"tags": [
{"identifier": "critical", "label": "Critical"},
{"identifier": "high", "label": "High"},
{"identifier": "medium", "label": "Medium"},
{"identifier": "low", "label": "Low"}
]
},
{
"scopeId": "scope_project",
"name": "Status",
"key": "status",
"description": "Task status",
"maxAppliedPerTarget": 1,
"tags": [
{"identifier": "open", "label": "Open"},
{"identifier": "in_progress", "label": "In Progress"},
{"identifier": "review", "label": "In Review"},
{"identifier": "done", "label": "Done"}
]
},
{
"scopeId": "scope_project",
"name": "Departments",
"key": "departments",
"description": "Organization departments",
"tags": [
{"identifier": "engineering", "label": "Engineering"},
{"identifier": "sales", "label": "Sales"},
{"identifier": "marketing", "label": "Marketing"}
]
}
]'
[
{
"id": "tag_group_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
"scopeId": "scope_project",
"name": "Priority",
"key": "priority",
"description": "Task priority levels",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdAt": "2024-01-15T10:30:00Z"
},
{
"id": "tag_group_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5c",
"scopeId": "scope_project",
"name": "Status",
"key": "status",
"description": "Task status",
"origin": "user",
"maxAppliedPerTarget": 1,
"isLocked": false,
"createdAt": "2024-01-15T10:30:00Z"
},
{
"id": "tag_group_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5d",
"scopeId": "scope_project",
"name": "Departments",
"key": "departments",
"description": "Organization departments",
"origin": "user",
"maxAppliedPerTarget": null,
"isLocked": false,
"createdAt": "2024-01-15T10:30:00Z"
}
]
Was this page helpful?