Color Palettes API

A Color Palette holds the colors that the reports and dashboards of an account use. People with the Account Designer or the Account Administrator role can create and update Color Palettes. People with the Auditor role can read them. The OAuth token needs the color-palette scope.

List Color Palettes

List all Color Palettes for an account:

GET /color_palettes

Response

status: 200 OK
[
  {
    "id": 4,
    "sourceID": null,
    "name": "Corporate",
    "disabled": false,
    "created_at": "2026-11-19T01:38:34-06:00",
    "updated_at": "2026-11-19T01:38:34-06:00",
    "nodeID": "..."
  },
  {
    "id": 3,
    "sourceID": null,
    "name": "Widget",
    "disabled": false,
    "created_at": "2026-11-18T09:12:05-06:00",
    "updated_at": "2026-11-18T09:12:05-06:00",
    "nodeID": "..."
  }
]

The response contains these fields by default. Filtering and pagination are available to reduce/limit the collection of Color Palettes.

Collection Fields

By default the following fields will appear in collections of Color Palettes:

id sourceID name disabled created_at updated_at

Obtain a different set of fields using the ?fields= parameter.

Filtering

Filtering is available for the following fields:

id source sourceID name disabled

Sorting

By default a collection of Color Palettes is sorted ascending by name.

The following fields are accepted by the ?sort= parameter:

id sourceID name created_at updated_at

Get a single Color Palette

GET /color_palettes/:id

Response

status: 200 OK
{
  "basic_colors": [
    {
      "color": "#7cb5ec",
      "dark_mode_color": "#7cb5ec",
      "id": 839,
      "type": "basic",
      "nodeID": "..."
    },
    {
      "color": "#434348",
      "dark_mode_color": "#94a3b8",
      "id": 840,
      "type": "basic",
      "nodeID": "..."
    }
  ],
  "created_at": "2026-11-18T09:12:05-06:00",
  "disabled": false,
  "id": 3,
  "name": "Widget",
  "source": null,
  "sourceID": null,
  "special_colors": [
    {
      "color": "#1e3a8a",
      "dark_mode_color": "#60a5fa",
      "id": 808,
      "type": "metric",
      "nodeID": "..."
    },
    {
      "color": "#33cc33",
      "dark_mode_color": "#33cc33",
      "id": 812,
      "type": "target_ok",
      "nodeID": "..."
    }
  ],
  "updated_at": "2026-11-18T09:12:05-06:00",
  "nodeID": "..."
}

The response contains these fields.

Create a Color Palette

POST /color_palettes

When creating a new Color Palette these fields are available.

A new Color Palette gets the default color for each special color type that the request leaves out. It gets the default basic colors when the request has no basic colors.

Response

status: 201 Created
{
  "created_at": "...",
  "...": "..."
}

The response contains all fields of the created Color Palette and is similar to the response in Get a single Color Palette

Update a Color Palette

PATCH /color_palettes/:id

When updating a Color Palette these fields are available.

Response

status: 200 OK
{
  "created_at": "...",
  "...": "..."
}

The response contains all fields of the updated Color Palette and is similar to the response in Get a single Color Palette

Fields

basic_colors
Readonly Array of colors - The basic colors of the Color Palette. The charts use them in this order.
basic_colors_attributes
Writeonly Array of colors - The basic colors to add, update or remove. A color without an id is added. A color with the id of a basic color of this Color Palette updates that color, and with "_destroy": true it removes that color. Each color gets the type basic, also when the request gives another type. A Color Palette can have at most 25 basic colors.
created_at
Readonly datetime - The date and time at which the Color Palette was created.
disabled
Optional boolean, default: false - The Disabled box is checked when the Color Palette may no longer be selected.
id
Readonly integer - The unique ID of the Color Palette.
name
Required string (max 128) - The name of the Color Palette. It must be unique within the account. The check ignores case.
reset
Writeonly boolean - When true, all colors of the Color Palette are removed, and the default colors are added again.
source
Optional string (max 30) - See source
sourceID
Optional string (max 128) - See source
special_colors
Readonly Array of colors - The special colors of the Color Palette, such as the colors of target states, impact levels and heatmaps.
special_colors_attributes
Writeonly Array of colors - The special colors to set. The type identifies the special color, so each color updates the color of its type. The type must be one of the special color types, and cannot be basic.
updated_at
Readonly datetime - The date and time of the last update of the Color Palette. If the Color Palette has no updates it contains the created_at value.

Color Fields

color
Required string - The color in light mode, as a hex color such as #7cb5ec or #7ce.
dark_mode_color
Optional string - The color in dark mode, as a hex color. When it is empty, dark mode uses the light mode color.
id
Readonly integer - The unique ID of the color. Give it in basic_colors_attributes to update or remove a basic color.
type
Readonly enum - The type of the color. Basic colors have the type basic. Give the type of a special color in special_colors_attributes. Valid values for special colors are:
  • metric: Metric
  • target_none: None
  • target_clock_stopped: Clock stopped
  • target_best_effort: Best effort
  • target_ok: OK
  • target_about_due: About due
  • target_due: Due
  • target_overdue: Overdue
  • impact_none: None
  • impact_low: Low
  • impact_medium: Medium
  • impact_high: High
  • impact_top: Top
  • satisfaction_satisfied: Satisfied
  • satisfaction_dissatisfied: Dissatisfied
  • effort_percentage0: 0%
  • effort_percentage50_minus: 50% or less
  • effort_percentage5090: 50%-90%
  • effort_percentage90100: 90%-100%
  • effort_percentage100110: 100%-110%
  • effort_percentage110_plus: Over 110%
  • target_completed_not_breached: Completed not breached
  • target_open_not_breached: Open not breached
  • target_completed_breached: Completed breached
  • target_open_breached: Open breached
  • breached: Breached
  • not_breached: Not breached
  • heatmap_heat: Heat
  • heatmap_daily_total: Daily total
  • heatmap_hourly_total: Hourly total
  • heatmap_grand_total: Grand total