Version 4.0.24.20 (latest)
Get a Color Collection by ID
Use this to retrieve a specific Color Collection. Get a single color collection by id with ColorCollection
Get all standard color collections with ColorCollection
Get all custom color collections with ColorCollection
Note: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return Not Found
(404) errors.
Request
GET
/color_collections/{collection_id}
Datatype
Description
Request
path
Expand HTTP Path definition...
collection_id
Id of Color Collection
query
Expand HTTP Query definition...
fields
Requested fields.
Response
200: ColorCollection
Datatype
Description
(object)
id
lock
Unique Id
label
Label of color collection
categoricalPalettes
Expand DiscretePalette definition...
id
lock
Unique identity string
label
Label for palette
type
Type of palette
colors
sequentialPalettes
Expand ContinuousPalette definition...
id
lock
Unique identity string
label
Label for palette
type
Type of palette
stops
Expand ColorStop definition...
color
CSS color string
offset
Offset in continuous palette (0 to 100)
divergingPalettes
Expand ContinuousPalette definition...
id
lock
Unique identity string
label
Label for palette
type
Type of palette
stops
Expand ColorStop definition...
color
CSS color string
offset
Offset in continuous palette (0 to 100)
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link