Skip to main content
GET
/
labels
List all labels
curl --request GET \
  --url https://app.tryordinal.com/api/v1/labels \
  --header 'Authorization: Bearer <token>'
{
  "labels": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440400",
      "name": "Marketing",
      "color": "#9333ea",
      "backgroundColor": "#f3e8ff",
      "createdAt": "2025-06-01T00:00:00.000Z",
      "updatedAt": "2025-06-01T00:00:00.000Z"
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655440401",
      "name": "Product",
      "color": "#16a34a",
      "backgroundColor": "#dcfce7",
      "createdAt": "2025-06-01T00:00:00.000Z",
      "updatedAt": "2025-06-01T00:00:00.000Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication. Generate an API key from your workspace settings.

Response

List of labels

labels
object[]