Skip to main content
POST
/
boards
/
labels
Create board label
curl --request POST \
  --url https://api.surefeedback.com/api/v1/boards/labels \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "color": "<string>",
  "icon_name": "<string>",
  "description": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": "label-001",
    "name": "Bug",
    "color": "#EF4444"
  }
}
Creates a new label for the active organization.

Request body

name
string
required
Label name.
color
string
required
Hex color string, for example #EF4444.
icon_name
string
Optional icon name.
description
string
Optional label description.
{
  "success": true,
  "data": {
    "id": "label-001",
    "name": "Bug",
    "color": "#EF4444"
  }
}