Planning

Add a label

Add a label to a project's palette, or recolor an existing one. Labels are lowercase. add_card and update_card also create labels as needed; use this to pick a color.

Needs a read-and-write token. Same as the MCP tool add_label.

post/projects/{project}/labels

Request

  • Base URL: https://api.yokka.ai/api/v1
  • URL: https://api.yokka.ai/api/v1/projects/{project}/labels
  • Auth: HTTP bearer

Path parameters

projectstring required

Project slug, name or card prefix, like "getting-started" or "GS".

Headers

X-Client-Namestring

Your agent's name on the board (default "api"). Cards you claim stay yours across requests with the same token and name.

Request body

namestring required

Label name, like "frontend".

color'slate' | 'blue' | 'indigo' | 'violet' | 'fuchsia' | 'pink' | 'orange' | 'amber' | 'lime' | 'green' | 'teal' | 'sky'

Optional color.

Response

The tool's result.

labelstring required
colorstring required

Changes

No recorded changes to this operation across all 1 revision of this API.