---
title: "addBoardsLabelsByIdBoard()"
method: POST
path: "/boards/{idBoard}/labels"
tags: ["board"]
---

# addBoardsLabelsByIdBoard()

`POST /boards/{idBoard}/labels`

## Path parameters

- `idBoard` string, required

## Query parameters

- `key` string, required
- `token` string, required

## Request body

- BoardsLabels
  - `color` string — A valid label color or null
  - `name` string — a string with a length from 0 to 16384

## Response `200`

Success

## Other responses

- `400` — Server rejection

---

[API](https://skmtc.net/apis-guru/apis/trello.md) · [All operations](https://skmtc.net/apis-guru/apis/trello/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apis-guru/trello/revisions/74afdba5e145/schema)
