Create custom color palette
This endpoint requires Organization Admin permissions.
Create a custom chart color palette. Palette names must be unique per type within the organization.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Body
Ordered hex colors. Discrete palettes are used in order; continuous palettes interpolate between them.
1 - 50 elements^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$Palette name, unique per type within the organization
1 - 256"Brand colors"
discretepalettes color categoriescontinuouspalettes define a gradient for numeric scales
discrete, continuous "discrete"
Response
Color palette created
Ordered hex colors. Discrete palettes are used in order; continuous palettes interpolate between them.
1 - 50 elements^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$Palette ID. Visualizations reference the palette by this value.
When the palette was created
Palette name, unique per type within the organization
1 - 256"Brand colors"
discretepalettes color categoriescontinuouspalettes define a gradient for numeric scales
discrete, continuous "discrete"
When the palette was last updated

