🏷️ Labels
Create a label
Create a new label in the specified workspace. Color must be one of color_1..color_20.
post/api/v1/workspaces/{workspace_id}/labels
Path parameters
workspace_idstring required
Example:610a1e660cb41530ca40d372
Request body
Example request
{
"name": "Urgent",
"color": "color_2"
}Response
Label created
Example response
{
"status": true,
"message": "Label created successfully. Use the returned `id` in `labels[]` when creating a post, or to update or delete this label.",
"data": {
"id": "625d06734ceb636c2f5e7743",
"_id": "625d06734ceb636c2f5e7743",
"name": "Urgent",
"color": "color_2"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.