Skip to main content
POST
Create a resource profile

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

A new resource profile. Give it to designs with resourceProfileIds on PATCH /v2/designs/{id}.

title
string
required

The profile's name.

Required string length: 1 - 200
rules
object[]
required

What the editor offers on designs that use the profile. A rule includes (only these) or excludes (all but these) its values.

Maximum array length: 20

Response

Created.

Limits the fonts, colours and graphics the editor offers on the designs that use it.

object
string
required
Allowed value: "resource_profile"
id
string
required
title
string | null
required
rules
object[]
required
created
string<date-time> | null
required
modified
string<date-time> | null
required