Labels

Create label

Creates a label. Attach it to posts with label_ids and to ideas with label_ids.

post/labels

Request

  • Base URL: https://app.trypost.it/api
  • URL: https://app.trypost.it/api/labels
  • Auth: HTTP bearer

Request body

namestring required
colorstring required

Hex color, #RRGGBB.

Response

The created label.

idstring uuid
namestring
colorstring

Hex color, #RRGGBB.

created_atstring

UTC, format Y-m-d H:i:s.

updated_atstring

UTC, format Y-m-d H:i:s.

Example response

{
  "color": "#2563EB",
  "created_at": "2026-09-01 10:00:00",
  "updated_at": "2026-09-01 10:00:00"
}

Changes

No recorded changes to this operation across all 1 revision of this API.