Browse API reference
Backgrounds
List all backgrounds
Returns a paginated list of all the available backgrounds with optional filtering.
Parameters
Query
limitThe number of objects to return in the response.
1skipThe number of objects to skip (For pagination).
0sort_fieldThe field to sort the backgrounds by.
sort_orderThe order to sort the backgrounds in.
fieldsA filtered down list of fields to return in the response. Example: ["id", "name", "file.name"]. By default, all fields are returned.
teamFilters the results to only those backgrounds that are assigned to this team ID.
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 responseapplication/json
objectThe object type. Always list.
listdataobject.idstringA globally unique identifier for the background.
"bg_eg"objectstringThe object type. Always background.
backgroundaccountstringThe Intelliprint account ID that the background belongs to.
"acc_eg"namestringA user-friendly name for this background. This name is used for the selection menu in the dashboard print editor.
"Company Letterhead"fileobjectnamestringThe name of the file uploaded as the background.
"eg_file.pdf"sizeinteger<int64>The size of the file uploaded as the background in bytes.
1024000teamobjectThe team that the background is available to. Can be set to null to make the background available to everyone.
pdfstring<uri>A URL to a PDF example of the background. This is a signed URL that will expire after 1 hour.
"https://cdn.storage.com/intelliprint/backgrounds/bg_ID.pdf"createdinteger<int64>The UNIX timestamp of when the background was created. We use UNIX timestamps to avoid timezone-based issues.
1761955200total_availableThe total number of objects available that can be returned by the API using successive paginated requests.
100has_moreWhether there are more objects available that can be requested in the next paginated request.
true400Example error responseapplication/json
errormessagestringA human-readable message describing the error. You can display this to your users to help them understand what went wrong.
"Received unknown parameter: testmood (Did you mean testmode?)"typestringThe general category of the error.
invalid_request_errorauthentication_errorpayment_errorrate_limitedinternal_error"invalid_request_error"codestringA unique code for the specific error that occurred.
parameter_invalidparameter_missingparameter_unknownbody_too_largebody_incorrect_formatno_api_keyinvalid_api_keylogged_outforbiddenpayment_errornot_foundrate_limitedrefusedinternal_error"parameter_unknown"paramstringThe parameter that caused the error, if applicable.
"testmood"