On this page
Jigsaw Press API
jp_test_ is sandbox, jp_live_ is live.2026-11-30T14:02:11Z). Dates like ship_by are New York calendar days.What the API does#
- Create orders. One order is one shipment to one US address, with one or more puzzles. Each puzzle names a size (
sku) and an https link to the artwork. See Create an order. - Check the artwork for you. We download each file and check its type, size and resolution in the background, usually within seconds. Orders that pass wait for payment; orders that fail are rejected and never charged.
- Charge once a day. At 11 AM ET we charge the card on your account once for everything waiting, or you can pay right away with Pay now. See Billing.
- Make and ship it. Orders paid before noon ET on a business day count from that day. Tracking is added when it ships.
- Tell you what happened. Every change is a signed webhook event. See Webhooks.
Sandbox and live#
Every account has two environments that never mix. Sandbox (jp_test_ keys) behaves like live, including artwork checks, charges and webhooks, but nothing is printed, shipped or charged; sandbox charges are simulated. Live (jp_live_ keys) makes real puzzles and charges your card. Anyone can use sandbox right after signing up. Live keys work once our team approves your account.
Details: Sandbox & testing and Live access.
Sign up and get a sandbox key#
Create a business account, then open Dashboard › API keys and create a sandbox key. It starts with jp_test_. The full key is shown once, so copy it somewhere safe.
Keep keys on your server, never in a browser or mobile app. Put it in an environment variable and check that it works by fetching your account.
export CORNERPIECE_KEY=jp_test_9Qa4Rs7Tu2Vw5Xy8Za1Bc3dcurl https://jigsawpress.com/v1/account \ -H "Authorization: Bearer $CORNERPIECE_KEY"{ "id": "acct_Rz4Kp9Wn2Xq7Lb", "name": "Kindred Prints", "environment": "sandbox", "live_access": "not_requested", "tier": "starter", "payment_method": null}Create your first order#
Send one puzzle to one address. In sandbox you can use our test artwork: https://test-artwork.jigsawpress.com/good.jpg is a large, sharp photo that passes every check. Other test files trigger each kind of problem; see Test artwork.
Put your own order number in external_id and send an Idempotency-Key header. If the request times out and you retry with the same key, you get the same order back instead of a second puzzle.
The answer comes back right away with 201 and status processing. Prices are already in costs.
curl https://jigsawpress.com/v1/orders \ -H "Authorization: Bearer $CORNERPIECE_KEY" \ -H "Idempotency-Key: TEST-1001" \ -H "Content-Type: application/json" \ -d '{ "external_id": "TEST-1001", "items": [ { "sku": "PZL-200", "quantity": 1, "title": "Our first puzzle", "orientation": "landscape", "artwork": { "url": "https://test-artwork.jigsawpress.com/good.jpg" } } ], "shipping": { "method": "usps_ground", "address": { "name": "Grace Kim", "line1": "77 Spring Garden St", "city": "Philadelphia", "state": "PA", "postal_code": "19123", "country": "US" } }}'{ "id": "ord_k4Mn8Pq3xY2aBc", "object": "order", "number": "JP-10482", "environment": "sandbox", "source": "api", "external_id": "TEST-1001", "status": "processing", "production_stage": null, "status_reason": null, "ship_by": null, "rush": false, "items": [ { "id": "itm_7Hc2Lw9Rt4Vx3N", "sku": "PZL-200", "pieces": 200, "quantity": 1, "orientation": "landscape", "title": "Our first puzzle", "mystery": false, "artwork": { "url": "https://test-artwork.jigsawpress.com/good.jpg", "fit": "cover", "crop": null, "width_px": null, "height_px": null, "effective_dpi": null, "quality": null, "preflight": "pending", "preview_url": null } } ], "shipping": { "method": "usps_ground", "address": { "company": null, "line2": null, "phone": null, "email": null, "name": "Grace Kim", "line1": "77 Spring Garden St", "city": "Philadelphia", "state": "PA", "postal_code": "19123", "country": "US" }, "carrier": null, "tracking_number": null, "tracking_url": null, "estimated_delivery": { "from": "2026-12-02", "to": "2026-12-04" } }, "branding": { "gift_message": null, "packing_slip_from": null }, "costs": { "currency": "usd", "items": 1550, "discount": 0, "options": 0, "rush": 0, "shipping": 540, "tax": 0, "total": 2090 }, "payment": { "status": "unpaid", "charge": null, "paid_at": null, "refunded_amount": 0, "last_error": null }, "warnings": [], "metadata": {}, "created_at": "2026-11-30T14:02:11Z", "updated_at": "2026-11-30T14:02:11Z"}Watch it move, then pay#
A few seconds later the artwork check is done and the order is awaiting_payment. Fetch it by id or by its number. Had the check failed, it would be rejected with a status_reason, and it would never be charged.
Orders waiting for payment are paid together by the daily charge at 11 AM ET. You don’t have to wait: press Pay now in the dashboard or call POST /v1/charges. In sandbox the charge is simulated and always succeeds, and the order becomes paid.
Then move a paid sandbox order to in_production, through its stages, to shipped and delivered with POST /v1/orders/:id/simulate, or with the buttons on the order in the dashboard.
curl https://jigsawpress.com/v1/orders/JP-10482 \ -H "Authorization: Bearer $CORNERPIECE_KEY"curl -X POST https://jigsawpress.com/v1/charges \ -H "Authorization: Bearer $CORNERPIECE_KEY"{ "charge": { "id": "ch_9Tq4Wm2Xc8Rb5K", "object": "charge", "environment": "sandbox", "order_ids": [ "ord_k4Mn8Pq3xY2aBc" ], "amount": 2565, "currency": "usd", "status": "succeeded", "trigger": "pay_now", "simulated": true, "stripe_payment_intent": null, "failure_message": null, "refunded_amount": 0, "card": null, "created_at": "2026-11-30T14:05:02Z" }}Add a webhook#
Polling works, but webhooks are better. In Dashboard › Webhooks, add an https endpoint for the sandbox environment and copy its signing secret (whsec_…). We POST an event every time an order changes and every time a charge succeeds or fails.
Check the JigsawPress-Signature header before trusting a payload, answer with any 2xx within 10 seconds, and do slow work afterwards. Press Send test event in the dashboard to try your code.
{ "id": "evt_2Lr7Nb4Kq9Xs3D", "object": "event", "type": "order.awaiting_payment", "environment": "sandbox", "created": "2026-11-30T14:02:19Z", "data": { "id": "ord_k4Mn8Pq3xY2aBc", "object": "order", "number": "JP-10482", "environment": "sandbox", "source": "api", "external_id": "TEST-1001", "status": "awaiting_payment", "production_stage": null, "status_reason": null, "ship_by": null, "rush": false, "items": [ { "id": "itm_7Hc2Lw9Rt4Vx3N", "sku": "PZL-200", "pieces": 200, "quantity": 1, "orientation": "landscape", "title": "Our first puzzle", "mystery": false, "artwork": { "url": "https://test-artwork.jigsawpress.com/good.jpg", "fit": "cover", "crop": { "x": 0, "y": 0, "w": 6000, "h": 4286 }, "width_px": 6000, "height_px": 4286, "effective_dpi": 310, "quality": "good", "preflight": "passed", "preview_url": "https://firebasestorage.googleapis.com/v0/b/puzzle-printing-ny.firebasestorage.app/o/artwork%2Ford_k4Mn8Pq3xY2aBc%2Fitm_7Hc2Lw9Rt4Vx3N%2Fpreview.jpg?alt=media&token=3f9c1a52-8d4e-4b6a-9e1f-2c7d5b8a0e64" } } ], "shipping": { "method": "usps_ground", "address": { "company": null, "line2": null, "phone": null, "email": null, "name": "Grace Kim", "line1": "77 Spring Garden St", "city": "Philadelphia", "state": "PA", "postal_code": "19123", "country": "US" }, "carrier": null, "tracking_number": null, "tracking_url": null, "estimated_delivery": { "from": "2026-12-02", "to": "2026-12-04" } }, "branding": { "gift_message": null, "packing_slip_from": null }, "costs": { "currency": "usd", "items": 1550, "discount": 0, "options": 0, "rush": 0, "shipping": 540, "tax": 0, "total": 2090 }, "payment": { "status": "unpaid", "charge": null, "paid_at": null, "refunded_amount": 0, "last_error": null }, "warnings": [], "metadata": {}, "created_at": "2026-11-30T14:02:11Z", "updated_at": "2026-11-30T14:02:19Z" }}Going live#
When your integration handles the whole flow in sandbox, ask for live access in the dashboard. You will need:
- A card on file. Add it under Dashboard › Billing. Live orders are charged to it once a day.
- A short request. Tell us what you are building and roughly how many orders a month you expect.
- Our approval. A person on our team reviews the request and emails you when it is decided.
Once approved, create a jp_live_ key and swap it in. Live keys used before approval get 403 live_access_required. Live artwork must be on your own https host; the sandbox test-artwork URLs are refused with 422 artwork_url_invalid.
Run through the checklist first.