LabelsList

List labels

Return active changelog labels for the authenticated organization, paginated with limit + cursor.

Returns active changelog labels for the authenticated organization. Unlike most metadata endpoints (categories, tags, statuses), this endpoint is paginated because labels can grow large in active changelogs.

Endpoint

POST https://api.productbridge.io/api/external/v1/labels/list

Arguments

body
api_keystring
Required

Your organization's public API key. See Authentication.

body
limitinteger

Number of items per page. Min 1, max 100. Defaults to 25.

body
cursorstring

Opaque pagination cursor returned by the previous page. Omit for the first page.

Returns

The standard cursor-paginated envelope. See Pagination for the loop pattern.

{
  "items": [ /* label objects */ ],
  "has_next_page": true,
  "cursor": "MjU"
}

Example request

curl -X POST https://api.productbridge.io/api/external/v1/labels/list \
  -H 'Content-Type: application/json' \
  -d '{
    "api_key": "pb_YOUR_PUBLIC_API_KEY",
    "limit": 25
  }'

Example response

{
  "items": [
    {
      "id": "993c3ef8-b8cd-cd15-01ba-label0000001",
      "name": "Release",
      "code": "release",
      "color": "#10B981",
      "description": "General release notes for new features and improvements.",
      "created_at": "2026-03-15T09:00:00.000Z"
    },
    {
      "id": "993c3ef8-b8cd-cd15-01ba-label0000002",
      "name": "Security",
      "code": "security",
      "color": "#EF4444",
      "description": null,
      "created_at": "2026-04-01T10:00:00.000Z"
    }
  ],
  "has_next_page": false,
  "cursor": null
}

Errors

StatusBodyCause
401{"detail":{"error":"invalid api_key"}}Missing / unknown / inactive api_key.
422Validation error envelopelimit out of range (must be 1–100).

See Errors for the full envelope shape.