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.
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.
/{resource}| Param | Description |
|---|---|
limit | Max results per page. Default 25, max 100. |
offset | Pagination offset. Default 0. |
since / until | ISO date range filter on createdAt. |
sort | created_at (default) or updated_at. |
order | asc or desc (default). |
| Resource-specific filters | e.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 }
}
/{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
/{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
/{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"}'
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.).
| Resource | Never exposed | Read-only (visible, not settable) |
|---|---|---|
jobs | internalNotes | laborCost, materialCost, customerId |
customers | internalNotes | tier, creditLimit, currentBalance, depositRequired, paymentTerms, totalLifetimeValue, totalJobs |
quotes | internalNotes | total |
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.
| Step | Details |
|---|---|
| Authorize | https://app.printsked.com/oauth/authorizeParameters: |
| Token | POST https://hfypdyhmafppzjktlvoz.supabase.co/functions/v1/oauth-tokenSend |
| Scopes | Space-separated: jobs, customers, quotes, invoices, orders, proofs. |
| Access token | oat_... 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
/accountReturns 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 / methods | Filters | Required on create | Read-only / hidden |
|---|---|---|---|
/jobsGET, POST, PATCH | status, stage, customer, product, jobNumber | customer, product | Read-only: laborCost, materialCost, customerId. Hidden: internalNotes. |
/customersGET, POST, PATCH | name, email, company, phone | name | Read-only: tier, creditLimit, currentBalance, depositRequired, paymentTerms, totalLifetimeValue, totalJobs. Hidden: internalNotes. |
/quotesGET, POST, PATCH | status, quoteStatus, customer, quoteNumber | None | Read-only: total, settings.customerId. Hidden: internalNotes. |
/invoicesGET, POST, PATCH | status, customer, number | customer | Read-only: amount, balance, status, paymentHistory, customerId. |
/ordersGET only | status, customer, number | — | Hidden: internalNotes. |
/proofsGET 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.
/ordersList orders, newest first by default. Filters: status, customer, number.
/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.
/proofsList proofs. Filters: status, customer, customerId.
/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.
/hooksSubscribe 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" }/hooksList subscriptions created through the API.
/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
| Group | Events |
|---|---|
| Quotes | quote.created, quote.sent, quote.approved, quote.revised, quote.voided, quote.status_changed |
| Orders | order.created, order.status_changed, order.completed, order.cancelled |
| Jobs | job.created, job.stage_changed, job.completed, job.assigned |
| Invoices | invoice.created, invoice.paid, invoice.overdue, invoice.voided |
| Payments | payment.received, payment.refunded |
| Customers | customer.created, customer.updated, customer.deleted |
| Proofs | proof.uploaded, proof.approved, proof.rejected, proof.commented |
| Production | production.started, production.completed, production.delayed |
Errors
| Status | Meaning |
|---|---|
400 | Invalid request — missing a required field, bad query parameter, etc. |
401 | Missing, invalid, revoked, or expired API key. |
403 | The key doesn't have access to this resource, or is read-only and you attempted a write. |
404 | Unknown resource or record id. |
413 | Request body larger than 256KB. |
429 | Rate limit exceeded — see Rate limits. Wait for Retry-After seconds. |
405 | Method not supported, for example writing to orders or proofs. |
409 | Idempotency-Key reused with a different request, or the shop has too many webhooks. |
500 | Server 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\"" }
