Overview
Labels help you categorize and organize work items across your projects. You can create hierarchical labels with custom colors and use them to filter and group issues.
Endpoints
List labels
GET /api/v1/workspaces/{workspace_slug}/projects/{project_id}/labels/
Retrieve all labels for a project.
Response
Hex color code (e.g., “#FF5733”)
Optional label description
Parent label ID for hierarchical labels
Example
curl -X GET \
"https://api.plane.so/api/v1/workspaces/acme/projects/abc-123/labels/" \
-H "X-Api-Key: your-api-key"
Create label
POST /api/v1/workspaces/{workspace_slug}/projects/{project_id}/labels/
Create a new label in the project.
Hex color code (default: random color)
Parent label ID to create a child label
Display order (default: 65535)
Example
curl -X POST \
"https://api.plane.so/api/v1/workspaces/acme/projects/abc-123/labels/" \
-H "X-Api-Key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"name": "Bug",
"color": "#FF0000",
"description": "Something is broken"
}'
Update label
PATCH /api/v1/workspaces/{workspace_slug}/projects/{project_id}/labels/{label_id}/
Update an existing label.
Example
curl -X PATCH \
"https://api.plane.so/api/v1/workspaces/acme/projects/abc-123/labels/label-uuid/" \
-H "X-Api-Key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"color": "#00FF00"
}'
Delete label
DELETE /api/v1/workspaces/{workspace_slug}/projects/{project_id}/labels/{label_id}/
Delete a label from the project.
Deleting a label removes it from all associated work items. This action cannot be undone.
Example
curl -X DELETE \
"https://api.plane.so/api/v1/workspaces/acme/projects/abc-123/labels/label-uuid/" \
-H "X-Api-Key: your-api-key"
Label hierarchies
Labels support parent-child relationships, allowing you to create hierarchical categorization:
{
"name" : "Frontend" ,
"color" : "#3B82F6" ,
"parent" : null
}
// Child label
{
"name" : "React" ,
"color" : "#61DAFB" ,
"parent" : "uuid-of-frontend-label"
}
Using labels with work items
Labels can be added to work items via the Work Items API :
{
"name" : "Fix navigation bug" ,
"labels" : [ "label-uuid-1" , "label-uuid-2" ]
}
Best practices
Color coding - Use consistent color schemes across related labels for better visual organization
Hierarchies - Group related labels under parent labels (e.g., Platform → Web, Mobile, API)
Naming - Use clear, concise label names that describe the category
Next steps
Work Items API Apply labels to work items
Projects API Manage project settings