Labels
Create label
Creates a label within a board. Requires board editor permissions.
post/boards/{boardId}/labels
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/boards/{boardId}/labels
- Auth: one of:
- HTTP bearer
- API key in header X-Api-Key
Path parameters
boardIdstring required
Example:1357158568008091264
ID of the board to create the label in
Request body
Example request
{
"position": 65536,
"name": "Bug",
"color": "berry-red"
}Response
Label created successfully
Example response
{
"item": {
"id": "1357158568008091264",
"boardId": "1357158568008091265",
"position": 65536,
"name": "Bug",
"color": "berry-red",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.