Skip to main content
GET
/
{projectSlug}
/
labels
List labels
curl --request GET \
  --url https://api.elean.app/v1/public/{projectSlug}/labels \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "018e1b2c-aaaa-0000-0000-000000000010",
    "name": "bug",
    "color": "#EF4444"
  },
  {
    "id": "018e1b2c-aaaa-0000-0000-000000000011",
    "name": "feature",
    "color": "#3B82F6"
  }
]

Authorizations

Authorization
string
header
required

API key created in Workspace Settings → API Keys. Pass it in the Authorization header as a Bearer token, or in the X-API-Key header.

Format: el_ followed by 40 hex characters.

Path Parameters

projectSlug
string
required

The slug of the project.

Example:

"my-project"

Response

A list of labels.

id
string<uuid>

Unique identifier of the label.

Example:

"018e1b2c-aaaa-0000-0000-000000000010"

name
string

Display name of the label.

Example:

"bug"

color
string

Hex color code of the label.

Example:

"#EF4444"