Create a palette
curl --request POST \
--url https://api.print.app/v2/palettes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Brand",
"colors": [
{
"name": "Navy",
"hex": "#1f2a44",
"cmyk": "100,80,30,40"
},
{
"name": "Gold",
"hex": "#c9a227",
"spot": "PANTONE 7753 C"
}
]
}
'import requests
url = "https://api.print.app/v2/palettes"
payload = {
"title": "Brand",
"colors": [
{
"name": "Navy",
"hex": "#1f2a44",
"cmyk": "100,80,30,40"
},
{
"name": "Gold",
"hex": "#c9a227",
"spot": "PANTONE 7753 C"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Brand',
colors: [
{name: 'Navy', hex: '#1f2a44', cmyk: '100,80,30,40'},
{name: 'Gold', hex: '#c9a227', spot: 'PANTONE 7753 C'}
]
})
};
fetch('https://api.print.app/v2/palettes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.print.app/v2/palettes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Brand',
'colors' => [
[
'name' => 'Navy',
'hex' => '#1f2a44',
'cmyk' => '100,80,30,40'
],
[
'name' => 'Gold',
'hex' => '#c9a227',
'spot' => 'PANTONE 7753 C'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.print.app/v2/palettes"
payload := strings.NewReader("{\n \"title\": \"Brand\",\n \"colors\": [\n {\n \"name\": \"Navy\",\n \"hex\": \"#1f2a44\",\n \"cmyk\": \"100,80,30,40\"\n },\n {\n \"name\": \"Gold\",\n \"hex\": \"#c9a227\",\n \"spot\": \"PANTONE 7753 C\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.print.app/v2/palettes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Brand\",\n \"colors\": [\n {\n \"name\": \"Navy\",\n \"hex\": \"#1f2a44\",\n \"cmyk\": \"100,80,30,40\"\n },\n {\n \"name\": \"Gold\",\n \"hex\": \"#c9a227\",\n \"spot\": \"PANTONE 7753 C\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.print.app/v2/palettes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Brand\",\n \"colors\": [\n {\n \"name\": \"Navy\",\n \"hex\": \"#1f2a44\",\n \"cmyk\": \"100,80,30,40\"\n },\n {\n \"name\": \"Gold\",\n \"hex\": \"#c9a227\",\n \"spot\": \"PANTONE 7753 C\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "palette",
"id": "folder:8a1d2c3b-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"title": "Brand",
"colors": [
{
"name": "Navy",
"type": "solid",
"hex": "#1f2a44",
"cmyk": "100,80,30,40",
"spot": null
}
],
"builtIn": false,
"created": "2026-10-27T10:00:00Z",
"modified": "2026-10-27T10:00:00Z"
}{
"error": true,
"code": "invalid_request",
"message": "width is required.",
"param": "width",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "unauthorized",
"message": "Missing or invalid secret key. Send it as \"Authorization: Bearer sk_…\".",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "account_suspended",
"message": "This account is suspended. Settle the outstanding invoice in the Print.App dashboard.",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "unsupported_media_type",
"message": "Send the request body as JSON, with \"Content-Type: application/json\".",
"requestId": "FZn-uhymjoEEJow="
}{
"message": "Too Many Requests"
}{
"error": true,
"code": "internal_error",
"message": "Something went wrong on our side. Retry the request; if it keeps failing, contact support with the requestId.",
"requestId": "FZn-uhymjoEEJow="
}Palettes
Create a palette
Creates a palette of solid colours, each with an optional CMYK value and spot colour name for print.
POST
/
v2
/
palettes
Create a palette
curl --request POST \
--url https://api.print.app/v2/palettes \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Brand",
"colors": [
{
"name": "Navy",
"hex": "#1f2a44",
"cmyk": "100,80,30,40"
},
{
"name": "Gold",
"hex": "#c9a227",
"spot": "PANTONE 7753 C"
}
]
}
'import requests
url = "https://api.print.app/v2/palettes"
payload = {
"title": "Brand",
"colors": [
{
"name": "Navy",
"hex": "#1f2a44",
"cmyk": "100,80,30,40"
},
{
"name": "Gold",
"hex": "#c9a227",
"spot": "PANTONE 7753 C"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Brand',
colors: [
{name: 'Navy', hex: '#1f2a44', cmyk: '100,80,30,40'},
{name: 'Gold', hex: '#c9a227', spot: 'PANTONE 7753 C'}
]
})
};
fetch('https://api.print.app/v2/palettes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.print.app/v2/palettes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Brand',
'colors' => [
[
'name' => 'Navy',
'hex' => '#1f2a44',
'cmyk' => '100,80,30,40'
],
[
'name' => 'Gold',
'hex' => '#c9a227',
'spot' => 'PANTONE 7753 C'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.print.app/v2/palettes"
payload := strings.NewReader("{\n \"title\": \"Brand\",\n \"colors\": [\n {\n \"name\": \"Navy\",\n \"hex\": \"#1f2a44\",\n \"cmyk\": \"100,80,30,40\"\n },\n {\n \"name\": \"Gold\",\n \"hex\": \"#c9a227\",\n \"spot\": \"PANTONE 7753 C\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.print.app/v2/palettes")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Brand\",\n \"colors\": [\n {\n \"name\": \"Navy\",\n \"hex\": \"#1f2a44\",\n \"cmyk\": \"100,80,30,40\"\n },\n {\n \"name\": \"Gold\",\n \"hex\": \"#c9a227\",\n \"spot\": \"PANTONE 7753 C\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.print.app/v2/palettes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Brand\",\n \"colors\": [\n {\n \"name\": \"Navy\",\n \"hex\": \"#1f2a44\",\n \"cmyk\": \"100,80,30,40\"\n },\n {\n \"name\": \"Gold\",\n \"hex\": \"#c9a227\",\n \"spot\": \"PANTONE 7753 C\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "palette",
"id": "folder:8a1d2c3b-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
"title": "Brand",
"colors": [
{
"name": "Navy",
"type": "solid",
"hex": "#1f2a44",
"cmyk": "100,80,30,40",
"spot": null
}
],
"builtIn": false,
"created": "2026-10-27T10:00:00Z",
"modified": "2026-10-27T10:00:00Z"
}{
"error": true,
"code": "invalid_request",
"message": "width is required.",
"param": "width",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "unauthorized",
"message": "Missing or invalid secret key. Send it as \"Authorization: Bearer sk_…\".",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "account_suspended",
"message": "This account is suspended. Settle the outstanding invoice in the Print.App dashboard.",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "unsupported_media_type",
"message": "Send the request body as JSON, with \"Content-Type: application/json\".",
"requestId": "FZn-uhymjoEEJow="
}{
"message": "Too Many Requests"
}{
"error": true,
"code": "internal_error",
"message": "Something went wrong on our side. Retry the request; if it keeps failing, contact support with the requestId.",
"requestId": "FZn-uhymjoEEJow="
}Authorizations
A secret key from Print.App admin → Domains → Secret keys, sent as Authorization: Bearer sk_…. Server-side only.
Headers
Makes a retry safe: a second request with the same key and the same body gets the first response back (for 24 hours) instead of creating the resource again. Use a new key, such as a UUID, for every new request.
Required string length:
1 - 255Body
application/json
Response
Created.
A colour palette.
Allowed value:
"palette"Show child attributes
Show child attributes
Provided by Print.App: it cannot be changed, only hidden by deleting it.