Skip to main content
POST
Import library graphics

Authorizations

Authorization
string
header
required

A secret key from Print.App admin → Domains → Secret keys, sent as Authorization: Bearer sk_…. Server-side only.

Headers

Idempotency-Key
string

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 - 255

Body

application/json

Library graphics, and the folder to put them in.

graphicIds
string[]
required

Library graphic ids, from GET /v2/library/graphics.

Required array length: 1 - 60 elements
Required string length: 1 - 120
folderId
string

One of your graphic folders: they go first in it. Without it, a new folder in Pictures.

Required string length: 1 - 200
title
string

The new folder's name, without folderId. Default Library picks.

Required string length: 1 - 80

Response

OK.

A folder of graphics in one of the editor's panels.

object
string
required
Allowed value: "graphic_folder"
id
string
required
title
string | null
required
panel
enum<string> | null
required
Available options:
pictures,
backgrounds,
textures,
frames,
null
fileIds
string[]
required

Its files, in the order the editor shows them.

builtIn
boolean
required

Provided by Print.App: listed, but cannot be changed.

created
string<date-time> | null
required
modified
string<date-time> | null
required