Skip to main content

List labels

Lists all labels. Labels are returned sorted by creation date, with the most recent labels appearing first.

GET /v1/labels
curl https://api.onset.io/v1/labels \
-u {API_KEY}:
200 (OK) Response
[
{
"id": "4ea15843-a49c-42ec-9c2c-a73514533df1",
"name": "Feature",
"slug": "feature",
"color": "#4CB782",
"organization_id": "e2f422ab-f08d-44bc-9be4-5bdc5a7907af",
"created_at": "2022-05-19T21:03:51.930Z",
"updated_at": "2022-05-19T21:03:51.930Z"
},
{
"id": "126afb06-79f5-49ad-8ea2-bbd686acf2f3",
"name": "Improvements",
"slug": "improvements",
"color": "#26B5CE",
"organization_id": "e2f422ab-f08d-44bc-9be4-5bdc5a7907af",
"created_at": "2022-05-19T21:03:51.930Z",
"updated_at": "2022-05-19T21:03:51.930Z"
},
{
"id": "7891347c-0a29-4ec1-83b3-158e45d12119",
"name": "Announcement",
"slug": "announcement",
"color": "#0F7488",
"organization_id": "e2f422ab-f08d-44bc-9be4-5bdc5a7907af",
"created_at": "2022-05-19T21:03:51.930Z",
"updated_at": "2022-05-19T21:03:51.930Z"
}
]