curl --request POST \
--url https://api.print.app/v2/library/graphics/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"graphicIds": [
"c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1"
],
"title": "Bakery"
}
'import requests
url = "https://api.print.app/v2/library/graphics/import"
payload = {
"graphicIds": ["c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1"],
"title": "Bakery"
}
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({
graphicIds: ['c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1'],
title: 'Bakery'
})
};
fetch('https://api.print.app/v2/library/graphics/import', 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/library/graphics/import",
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([
'graphicIds' => [
'c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1'
],
'title' => 'Bakery'
]),
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/library/graphics/import"
payload := strings.NewReader("{\n \"graphicIds\": [\n \"c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1\"\n ],\n \"title\": \"Bakery\"\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/library/graphics/import")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"graphicIds\": [\n \"c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1\"\n ],\n \"title\": \"Bakery\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.print.app/v2/library/graphics/import")
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 \"graphicIds\": [\n \"c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1\"\n ],\n \"title\": \"Bakery\"\n}"
response = http.request(request)
puts response.read_body{
"object": "graphic_folder",
"id": "folder:19d51ae0-0bbd-43c9-b3d1-8aedc4e112b3",
"title": "Logos",
"panel": "pictures",
"fileIds": [
"file_01JB2W3X4Y5Z6A7B8C9D0E1F2G.png"
],
"builtIn": false,
"created": "2026-10-27T10:00:00Z",
"modified": "2026-10-27T10:05: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": "not_found",
"message": "Not found.",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "folder_not_empty",
"message": "The folder still holds designs. Remove them from it (or delete them) first.",
"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="
}Import library graphics
Puts library graphics in one of your graphic folders (folderId, first, in the order given), or in a new folder in Pictures (title). The folder links to them: they are not copied, and designs and the editor use them like your own files.
curl --request POST \
--url https://api.print.app/v2/library/graphics/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"graphicIds": [
"c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1"
],
"title": "Bakery"
}
'import requests
url = "https://api.print.app/v2/library/graphics/import"
payload = {
"graphicIds": ["c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1"],
"title": "Bakery"
}
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({
graphicIds: ['c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1'],
title: 'Bakery'
})
};
fetch('https://api.print.app/v2/library/graphics/import', 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/library/graphics/import",
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([
'graphicIds' => [
'c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1'
],
'title' => 'Bakery'
]),
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/library/graphics/import"
payload := strings.NewReader("{\n \"graphicIds\": [\n \"c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1\"\n ],\n \"title\": \"Bakery\"\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/library/graphics/import")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"graphicIds\": [\n \"c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1\"\n ],\n \"title\": \"Bakery\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.print.app/v2/library/graphics/import")
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 \"graphicIds\": [\n \"c_01c288d3-14a1-4c78-8a78-db112025c0e9-borders-1\"\n ],\n \"title\": \"Bakery\"\n}"
response = http.request(request)
puts response.read_body{
"object": "graphic_folder",
"id": "folder:19d51ae0-0bbd-43c9-b3d1-8aedc4e112b3",
"title": "Logos",
"panel": "pictures",
"fileIds": [
"file_01JB2W3X4Y5Z6A7B8C9D0E1F2G.png"
],
"builtIn": false,
"created": "2026-10-27T10:00:00Z",
"modified": "2026-10-27T10:05: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": "not_found",
"message": "Not found.",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "folder_not_empty",
"message": "The folder still holds designs. Remove them from it (or delete them) first.",
"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.
1 - 255Body
Library graphics, and the folder to put them in.
Library graphic ids, from GET /v2/library/graphics.
1 - 60 elements1 - 120One of your graphic folders: they go first in it. Without it, a new folder in Pictures.
1 - 200The new folder's name, without folderId. Default Library picks.
1 - 80Response
OK.
A folder of graphics in one of the editor's panels.
"graphic_folder"pictures, backgrounds, textures, frames, null Its files, in the order the editor shows them.
Provided by Print.App: listed, but cannot be changed.