Printcore API (1.0)
Jobs, quotes, customers, files, products, inventory and webhooks for print shops on Printcore.
The Printcore API connects your storefronts, apps and automations to a print shop's Printcore account. Create jobs and quotes, keep customers and your price list in sync, attach artwork, and get a webhook the moment work moves through the shop.
Get a key. In Printcore, open Shop Settings → API & Webhooks → Generate API Key. Pick Read & Write to create records, or Read Only to look things up. The key is shown once.
Make a call. Send the key in the
X-API-Keyheader:curl "https://us-central1-quickbooks-app-c5298.cloudfunctions.net/api/v1/jobs?limit=5" \ -H "X-API-Key: pk_live_your_key_here"
Building an app for many shops? Use OAuth 2.0 ("Connect with Printcore") instead of asking each shop for a key. Email [email protected] to register your app.
Want to try things safely? Ask for access to the sandbox shop: a Pro shop full of fake customers, jobs and stock that is reset regularly.
The API is part of the Pro, Studio and Enterprise plans. A key or token from a shop on another plan gets 403 FEATURE_NOT_IN_PLAN.
Every request needs one of these.
API key (one shop, your own integration). Send X-API-Key: pk_live_…. Make keys in Shop Settings → API & Webhooks. Read Only keys read jobs, quotes, customers, files, products and inventory; Read & Write keys can also create and change them and manage webhooks; AI keys add use:ai. Keep keys on your server, never in a web page or an app customers download.
OAuth 2.0 (an app that many shops connect). Authorization code with PKCE (S256 only):
- Send the shop owner to
https://app.printcore.ai/oauth/authorizewithresponse_type=code, yourclient_id, an exact registeredredirect_uri, thescopes you need (space-separated), astate, andcode_challenge+code_challenge_method=S256. - They sign in and choose Allow (shop admins and owners on Pro, Studio or Enterprise only). The browser comes back to
redirect_uri?code=…&state=…. The code works once, for 10 minutes. POST https://app.printcore.ai/oauth/tokenwithgrant_type=authorization_code, thecode,redirect_uriandcode_verifier, authenticating with your client id and secret.- Call the API with
Authorization: Bearer pca_…. Access tokens last 1 hour. Get a new one withgrant_type=refresh_token; refresh tokens (pcr_…) last 90 days and are replaced on every use. Sending an old refresh token again disconnects the app.
The shop can disconnect your app any time in Settings → Integrations → Connected apps; its tokens and webhook subscriptions stop at once. Server metadata: https://app.printcore.ai/.well-known/oauth-authorization-server.
| Scope | Lets the app |
|---|---|
read:jobs | See jobs, job files and production steps |
write:jobs | Create and update jobs and attach files |
read:quotes | See quotes |
write:quotes | Create quotes |
read:customers | See customers and their contacts |
write:customers | Add customers |
read:inventory | See materials and stock levels |
read:products | See products and the price list |
write:products | Add and update products |
manage:webhooks | Subscribe to events (each event also needs its read scope) |
write:actuals | Record production times and material used (the Production connector key type) |
use:ai is never offered to OAuth apps, because AI calls use the shop's own credits.
Errors: a bad, expired or revoked token gets 401 with code: INVALID_TOKEN; a missing scope gets 403 with code: INSUFFICIENT_SCOPE and requiredScope; a shop whose plan doesn't include the API gets 403 with code: FEATURE_NOT_IN_PLAN.
- Send JSON with
Content-Type: application/json. Successful responses wrap the result indata. - Dates are ISO 8601 strings. Due dates are plain
YYYY-MM-DD. Money is in the shop's own currency. - Errors return a status code and
{ "error": "message", "code": "OPTIONAL_CODE" }. The message says what to fix. - A key or token only ever sees its own shop. Anything from another shop answers
404.
List endpoints return up to limit records (default 25, max 100) and a pagination object. When hasMore is true, pass nextCursor as cursor to get the next page.