Skip to content
Browse API reference
Backgrounds

Backgrounds

Create a background

posthttps://api.intelliprint.net/v1/backgrounds

Store your background artwork with Intelliprint, making it easy to repeatedly use in print jobs by just referencing the ID.

Specify the Background's ID to a print job's background.first_page or background.other_pages for it to be applied.

Request body

multipart/form-data
filerequired
one of
One of
Option 1Direct file upload

The PDF or Word document to use as the background.

You can either provide this file directly as a binary file or as a Base64 encoded data object. Please select an approach above.

The accepted file formats are PDF, RTF and Word documents.

The PDF or Word document to use as the background.

You can either provide this file directly as a binary file or as a Base64 encoded data object. Please select an approach above.

The accepted file formats are PDF, RTF and Word documents.

Option 2Base64 encoded file data

The base64 encoded background file data.

The accepted file formats are PDF, RTF and Word documents.

contentstringrequired

The Base64 encoded content of the background file.

Example"BASE64_ENCODED_PDF"
namestringrequired

The name of the background file.

Example"Filename.pdf"
name
string

A user-friendly name for this background. This name is used for the selection menu in the dashboard print editor.

Example"Company Letterhead"
team
string

To restrict dashboard-based usage of this background to a certain team, specify the team's ID here.

Examplenull

Responses

Sample JSON for every response shape is in the right rail. Expand a row below to see every field this endpoint can return.

200Successful response
id
string

A globally unique identifier for the background.

Example"bg_eg"
object
string

The object type. Always background.

Allowed valuesbackground
account
string

The Intelliprint account ID that the background belongs to.

Example"acc_eg"
name
string

A user-friendly name for this background. This name is used for the selection menu in the dashboard print editor.

Example"Company Letterhead"
file
object
namestring

The name of the file uploaded as the background.

Example"eg_file.pdf"
sizeinteger<int64>

The size of the file uploaded as the background in bytes.

Example1024000
team
object

The team that the background is available to. Can be set to null to make the background available to everyone.

pdf
string<uri>

A URL to a PDF example of the background. This is a signed URL that will expire after 1 hour.

Example"https://cdn.storage.com/intelliprint/backgrounds/bg_ID.pdf"
created
integer<int64>

The UNIX timestamp of when the background was created. We use UNIX timestamps to avoid timezone-based issues.

Example1761955200
400Example error response
error
object
messagestring

A human-readable message describing the error. You can display this to your users to help them understand what went wrong.

Example"Received unknown parameter: testmood (Did you mean testmode?)"
typestring

The general category of the error.

Allowed valuesinvalid_request_errorauthentication_errorpayment_errorrate_limitedinternal_error
Example"invalid_request_error"
codestring

A unique code for the specific error that occurred.

Allowed valuesparameter_invalidparameter_missingparameter_unknownbody_too_largebody_incorrect_formatno_api_keyinvalid_api_keylogged_outforbiddenpayment_errornot_foundrate_limitedrefusedinternal_error
Example"parameter_unknown"
paramstring

The parameter that caused the error, if applicable.

Example"testmood"