# Changelog Labels

Changelogfy provides an API to you to interact with your changelogs.

# Get Labels

https://changelogfy.com/api/projects/{api_token}/changelog-labels

Params:

api_token - required
page - optional

This method will get changelog labels from your project with pagination, 20 labels per page.

# Response:

{
  "current_page": 1,
  "data": [
    {
      "id": 4,
      "name": "New",
      "color": "#32AD03",
      "project_id": 2,
      "created_at": "2019-01-15T17:21:43.000000Z",
      "updated_at": "2019-07-04T23:57:15.000000Z",
      "order": 0,
      "first_rgb": "50, 173, 3, 255",
      "secondary_rgb": "50, 173, 3, 0.12"
    },
    {
      "id": 5,
      "name": "Improvement",
      "color": "#7300FF",
      "project_id": 2,
      "created_at": "2019-01-15T17:21:43.000000Z",
      "updated_at": "2020-10-31T17:04:47.000000Z",
      "order": 1,
      "first_rgb": "115, 0, 255, 255",
      "secondary_rgb": "115, 0, 255, 0.12"
    }
  ],
  "first_page_url": "https://changelogfy.com/api/projects/ag13f982-0a0c-3cdc-8144-89af158c39e3/post-labels?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "https://changelogfy.com/api/projects/ag13f982-0a0c-3cdc-8144-89af158c39e3/post-labels?page=1",
  "next_page_url": null,
  "path": "https://changelogfy.com/api/projects/ag13f982-0a0c-3cdc-8144-89af158c39e3/post-labels",
  "per_page": 20,
  "prev_page_url": null,
  "to": 4,
  "total": 4
}