printsked.com

Docs API

PrintSked API Reference
PRINTSKED · API REFERENCE

Read and write your shop's jobs, customers, quotes, and invoices.

A REST API for building integrations — Zapier workflows, custom automations, or anything else your shop needs to connect to PrintSked.

Authentication

Every request needs an API key, sent as a bearer token.

Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Create a key from inside PrintSked under Settings → Integrations → API Keys. Each key can be scoped to specific resources and set to read-only or read + write — write access (creating or updating records) requires a key with write permission.

Keep it safe: the raw key is shown once, at creation. PrintSked stores only a hash of it and can't recover a lost key — create a new one if it's misplaced.

Base URL

https://hfypdyhmafppzjktlvoz.supabase.co/functions/v1/api-v1

This URL is the same for every shop — your API key is what identifies your account, not the URL.

Resources

Every record is otherwise a free-form set of fields — send any additional fields your workflow needs (notes, custom identifiers, etc.) and they'll be stored on the record.

jobs

Print jobs in production. Required on create: customer, product

customers

Customer records. Required on create: name

quotes

Quotes sent to customers. No fields are required on create.

invoices

Invoices billed to customers. Required on create: customer

orders

Orders. Read-only: GET list and single record.

proofs

Customer artwork proofs. Read-only: GET list and single record.

Reading records

Lists records for a resource, newest first by default, or fetch a single record by id.

GET/{resource}
ParamDescription
limitMax results per page. Default 25, max 100.
offsetPagination offset. Default 0.
since / untilISO date range filter on createdAt.
sortcreated_at (default) or updated_at.
orderasc or desc (default).
Resource-specific filterse.g. ?status=unpaid on invoices, ?customer=Acme on jobs — see the field reference for which fields are filterable per resource.
curl "https://hfypdyhmafppzjktlvoz.supabase.co/functions/v1/api-v1/customers?limit=5" \
  -H "Authorization: Bearer sk_live_..."
{
  "data": [
    {
      "id": "a4068ff5-32f4-4819-a22e-a5f8557ac822",
      "name": "Sameer",
      "email": "sameer@example.com",
      "phone": "5544554455",
      "company": "SC",
      "tier": "wholesale",
      "createdAt": "2026-08-01T17:40:42.876043+00:00",
      "updatedAt": "2026-08-01T17:44:17.481665+00:00"
    }
  ],
  "pagination": { "limit": 5, "offset": 0, "total": 42 }
}
GET/{resource}/{id}

Fetches a single record by id.

curl "https://hfypdyhmafppzjktlvoz.supabase.co/functions/v1/api-v1/customers/a4068ff5-32f4-4819-a22e-a5f8557ac822" \
  -H "Authorization: Bearer sk_live_..."

Creating records

POST/{resource}

Creates a new record. Requires a key with write permission. Send the required fields for that resource plus any extra fields you want stored.

curl -X POST "https://hfypdyhmafppzjktlvoz.supabase.co/functions/v1/api-v1/jobs" \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"customer":"Acme Co","product":"Vinyl Banner"}'
{
  "id": "c2d337ef-720a-4723-9c4f-75549ae2a3f6",
  "customer": "Acme Co",
  "product": "Vinyl Banner",
  "createdAt": "2026-09-03T18:57:36.318214+00:00",
  "updatedAt": "2026-09-03T18:57:36.318214+00:00"
}

Responses are 201 Created on success. A 413 is returned if the request body exceeds 256KB.

Updating records

PATCH/{resource}/{id}

Updates an existing record. Requires a key with write permission. Send only the fields you want to change.

curl -X PATCH "https://hfypdyhmafppzjktlvoz.supabase.co/functions/v1/api-v1/jobs/c2d337ef-720a-4723-9c4f-75549ae2a3f6" \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"product":"18oz Vinyl Banner"}'
There is no delete endpoint — records can be edited but not permanently removed through the API.

Field reference

A few fields on each resource are protected: some never leave the API in either direction, and some are visible on GET but can't be set via POST/PATCH because PrintSked only ever changes them through its own guarded logic (payment recording, margin calculations, etc.).

ResourceNever exposedRead-only (visible, not settable)
jobsinternalNoteslaborCost, materialCost, customerId
customersinternalNotestier, creditLimit, currentBalance, depositRequired, paymentTerms, totalLifetimeValue, totalJobs
quotesinternalNotestotal
invoices—amount, balance, status, paymentHistory

Rate limits

Requests are limited to 120 per minute per API key or connected app, and 300 per minute in total across all keys and connected apps your shop has issued. Every response includes headers showing where you stand:

X-RateLimit-Limit: 120
X-RateLimit-Remaining: 117
X-RateLimit-Shop-Limit: 300
X-RateLimit-Shop-Remaining: 284

Exceeding a limit returns 429 Too Many Requests with a Retry-After header.

Idempotency

To safely retry a POST without risking a duplicate record, send an Idempotency-Key header with a unique value. Retrying with the same key returns the original response instead of creating a second record.

curl -X POST ".../api-v1/customers" \
  -H "Authorization: Bearer sk_live_..." \
  -H "Idempotency-Key: my-unique-request-id-123" \
  -H "Content-Type: application/json" \
  -d '{"name":"Acme Co"}'

OAuth 2.0 (Connect)

Connected apps such as Zapier can ask a shop to sign in and approve access without sharing an API key.

PrintSked uses the OAuth 2.0 Authorization Code grant with required PKCE (S256). OAuth apps are registered by PrintSked.

StepDetails
Authorizehttps://app.printsked.com/oauth/authorize

Parameters: client_id, redirect_uri, response_type=code, state, scope, code_challenge, code_challenge_method=S256.

TokenPOST https://hfypdyhmafppzjktlvoz.supabase.co/functions/v1/oauth-token

Send grant_type=authorization_code, code, redirect_uri, client_id, client_secret, code_verifier. To refresh, use grant_type=refresh_token and refresh_token.

ScopesSpace-separated: jobs, customers, quotes, invoices, orders, proofs.
Access tokenoat_... tokens last 20 minutes. Send Authorization: Bearer oat_... and use the refresh token to renew.

Shops can disconnect an app in Settings → Integrations → Connected Apps.

Account

GET/account

Returns the shop associated with the API key or OAuth connection. Any valid key or token may call it.

{ "id": "6f1c...", "shopName": "Texas Signs", "email": "owner@texassigns.com" }

Resources and filters

List endpoints accept limit, offset, sort, order, since and until, plus the exact-match filters below. Read-only fields are returned but ignored on create/update; hidden fields are never returned.

Resource / methodsFiltersRequired on createRead-only / hidden
/jobs

GET, POST, PATCH

status, stage, customer, product, jobNumbercustomer, productRead-only: laborCost, materialCost, customerId. Hidden: internalNotes.
/customers

GET, POST, PATCH

name, email, company, phonenameRead-only: tier, creditLimit, currentBalance, depositRequired, paymentTerms, totalLifetimeValue, totalJobs. Hidden: internalNotes.
/quotes

GET, POST, PATCH

status, quoteStatus, customer, quoteNumberNoneRead-only: total, settings.customerId. Hidden: internalNotes.
/invoices

GET, POST, PATCH

status, customer, numbercustomerRead-only: amount, balance, status, paymentHistory, customerId.
/orders

GET only

status, customer, number—Hidden: internalNotes.
/proofs

GET only

status, customer, customerId—Hidden: internalNotes.
GET /jobs?stage=In%20Production&sort=updated_at&limit=10

Orders (read-only)

Order statuses: Draft, Quote, Approved, In Production, Ready, Completed, Invoiced or Cancelled.

GET/orders

List orders, newest first by default. Filters: status, customer, number.

GET/orders/{id}

Fetch one order.

{
  "id": "55555555-5555-5555-5555-555555555555",
  "number": "OR-1042",
  "customer": "Acme Print Co.",
  "status": "In Production",
  "total": 1240.5,
  "createdAt": "2026-10-12T15:00:00.000Z",
  "updatedAt": "2026-10-12T15:00:00.000Z"
}

Proofs (read-only)

Artwork proofs sent to customers. Statuses: pending, in_review, approved, needs_revision.

GET/proofs

List proofs. Filters: status, customer, customerId.

GET/proofs/{id}

Fetch one proof.

{
  "id": "77777777-7777-7777-7777-777777777777",
  "title": "Storefront banner v2",
  "customer": "Acme Print Co.",
  "status": "approved",
  "createdAt": "2026-10-12T15:00:00.000Z",
  "updatedAt": "2026-10-12T15:00:00.000Z"
}

Webhooks and instant triggers

PrintSked delivers events to a subscribed HTTPS URL as they occur, even when nobody has PrintSked open. Shops can manage URLs under Settings → Integrations → Webhooks.

POST/hooks

Subscribe a URL to one event. Requires read and write access to the event's resource. HTTPS only.

{ "url": "https://hooks.example.com/abc", "event": "quote.approved" }
GET/hooks

List subscriptions created through the API.

DELETE/hooks/{id}

Remove a subscription created through the API.

{ "id": "8a7d...", "event": "quote.approved", "url": "https://hooks.example.com/abc", "source": "api", "createdAt": "2026-10-12T15:00:00.000Z" }

Webhook delivery

Each delivery is an HTTP POST with a JSON body:

{
  "event": "job.stage_changed",
  "data": {
    "id": "1111...",
    "jobNumber": "JB-2811",
    "stage": "In Production",
    "previousStage": "Approved",
    "eventId": "evt_481_0"
  },
  "sentAt": "2026-10-12T15:05:00.000Z"
}

data contains the API record plus an eventId that remains unchanged on retries. Change events may include previousStatus, previousStage or previousAssignedTo. Payment events include the payment and invoice.

Signature: X-PrintSked-Signature: sha256=<hex> is an HMAC-SHA256 signature of the raw request body using the endpoint secret.

Retries: Respond with any 2xx within 8 seconds. Failed deliveries retry after 1 minute and 5 minutes. Returning 410 Gone removes an API-created subscription.

invoice.overdue and production.delayed are checked daily and sent once per record.

Event list

GroupEvents
Quotesquote.created, quote.sent, quote.approved, quote.revised, quote.voided, quote.status_changed
Ordersorder.created, order.status_changed, order.completed, order.cancelled
Jobsjob.created, job.stage_changed, job.completed, job.assigned
Invoicesinvoice.created, invoice.paid, invoice.overdue, invoice.voided
Paymentspayment.received, payment.refunded
Customerscustomer.created, customer.updated, customer.deleted
Proofsproof.uploaded, proof.approved, proof.rejected, proof.commented
Productionproduction.started, production.completed, production.delayed

Errors

StatusMeaning
400Invalid request — missing a required field, bad query parameter, etc.
401Missing, invalid, revoked, or expired API key.
403The key doesn't have access to this resource, or is read-only and you attempted a write.
404Unknown resource or record id.
413Request body larger than 256KB.
429Rate limit exceeded — see Rate limits. Wait for Retry-After seconds.
405Method not supported, for example writing to orders or proofs.
409Idempotency-Key reused with a different request, or the shop has too many webhooks.
500Server error. Retry using the same Idempotency-Key.

Error responses are JSON with a human-readable message:

{ "error": "This API key does not have access to \"invoices\"" }
Scroll to Top