Developers
API reference
Every endpoint of the partner API, version 1: what it does, which key it takes, the fields it reads and answers with, and the errors it can answer with.
Address and format
Every endpoint is under https://partners.makesnapshots.com/api/v1. Send a key in the Authorization header of every request, as Bearer followed by the key (sending a key).
- Request bodies and answers are JSON. Answers are never cached.
- Every amount is a whole number of US cents. The price list covers the cards only. A quote and an order add US postage for the shipping speed you choose with
shipping_speed. - A list returns one page, newest first, with
has_moreandnext_cursor. To read the next page, sendnext_cursorascursor. - A test key reads and writes only test orders, events and webhook endpoints. A live key reads and writes only live ones (Test mode). No answer ever includes an artwork or print file.
- Every answer has an
X-Request-Idheader. Every error repeats the same value asrequest_id. - An OpenAPI 3.1.0 description of every endpoint below is at
https://partners.makesnapshots.com/api/v1/openapi.json. It needs no key.
Endpoints
Each endpoint says which key it takes. A secret-key endpoint accepts a secret key, sent from a server. A publishable endpoint accepts a publishable key from one of its allowed origins, or a secret key sent from a server.
Retrieve the account
GET /api/v1/account
The partner account a key belongs to, and the mode of the key. A quick way to check that a key works.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
curl -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/accountThe answer is 200 with an object whose object is account:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always account. |
id | string | The account's id. |
name | string | The account's name, as it is set in the portal. |
mode | string | The mode of the key that made the request. One of: test, live. |
{
"object": "account",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"name": "Example Cards",
"mode": "test"
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, rate_limited, unavailable.
List prices
GET /api/v1/prices
The card finishes and the account's price for one card in each, by the number of cards in an order.
- Key: a publishable key from one of its allowed origins, or a secret key from a server.
- Idempotency-Key: not used.
- The tier is chosen by the total number of cards in the whole order, across every line.
- A masked finish adds a mask design charge for each design and each foil, which a quote lists under extras.
- Postage is not included in any amount here. A quote adds it.
curl -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/pricesThe answer is 200 with an object whose object is price_list:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always price_list. |
mode | string | The mode of the key that made the request. One of: test, live. |
currency | string | Every amount is in US cents. Always usd. |
basis | string | Partner prices are the wholesale rate card. Always wholesale. |
postage_included | boolean | Amounts are for the cards only: postage is not included. Always false. |
finishes | array of objects | Every finish, in the order the price list uses. |
finishes[].key | string | The finish key a quote line names. One of: standard, holo, maskedHoloFoil, maskedHoloPlusFoil. |
finishes[].label | string | The finish's name, for a person. |
finishes[].masked | boolean | True for a masked finish, which adds a mask design charge and may take a foils count. |
tiers | array of objects | The price of one card, by the number of cards in the order, lowest tier first. |
tiers[].min_cards | integer | The fewest cards in an order for this tier. |
tiers[].max_cards | integer or null | The most cards for this tier, or null for the last tier. |
tiers[].unit_cents | object | The price of one card at this tier, for each finish key. |
tiers[].unit_cents.standard | integer, cents | One card in the standard finish, in cents. |
tiers[].unit_cents.holo | integer, cents | One card in the holo finish, in cents. |
tiers[].unit_cents.maskedHoloFoil | integer, cents | One card in the maskedHoloFoil finish, in cents. |
tiers[].unit_cents.maskedHoloPlusFoil | integer, cents | One card in the maskedHoloPlusFoil finish, in cents. |
mask_design_cents | integer, cents | For a masked finish: the charge for each design and each foil, once per order line. |
wholesale_minimum_cards | integer | An order of fewer cards than this is marked below_wholesale_minimum on its quote. |
small_order_policy | string | How orders below wholesale_minimum_cards are priced on POST /api/v1/quotes. One of: flag-below-minimum, website-equivalent, enforce-minimum. |
{
"object": "price_list",
"mode": "test",
"currency": "usd",
"basis": "wholesale",
"postage_included": false,
"finishes": [
{
"key": "holo",
"label": "Holo",
"masked": false
}
],
"tiers": [
{
"min_cards": 250,
"max_cards": 999,
"unit_cents": {
"standard": integer, cents,
"holo": integer, cents,
"maskedHoloFoil": integer, cents,
"maskedHoloPlusFoil": integer, cents
}
}
],
"mask_design_cents": integer, cents,
"wholesale_minimum_cards": 250,
"small_order_policy": "flag-below-minimum"
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, origin_not_allowed, account_inactive, key_creator_not_permitted, rate_limited, unavailable.
Create a quote
POST /api/v1/quotes
Prices an order without placing it: one line for each design, with its finish and how many to print, and US standard postage on top.
- Key: a publishable key from one of its allowed origins, or a secret key from a server.
- Idempotency-Key: accepted (retrying safely).
- A quote is not stored and places nothing. The same lines always give the same amounts until the price list changes.
- Postage is US standard shipping, priced by the main site's retail rule on the cards' total.
- A line may name one of the account's designs. A quote whose every line names a design, in standard or holo, is what POST /api/v1/orders charges for the same lines.
- An Idempotency-Key header is accepted: the same key with the same body answers with the first answer again.
The request body:
| Field | Type | Required | What it is |
|---|---|---|---|
lines | array of objects | Required | One line for each design in the order. 1 to 50 items. |
lines[].finish | string | Required | The finish key, from GET /api/v1/prices. A line that names a design is standard or holo. One of: standard, holo, maskedHoloFoil, maskedHoloPlusFoil. |
lines[].quantity | integer | Required | How many cards of this design. From 1 to 100000. |
lines[].foils | integer | Optional | For a masked finish only: how many foils the design has. Leave it out for 1. From 1 to 3. Only with finish maskedHoloFoil or maskedHoloPlusFoil. |
lines[].design_id | string | Optional | One of the account's designs, from POST /api/v1/designs. Optional. |
shipping_speed | string | Optional | US shipping speed tier: standard (default), priority (3-day), or express (2-day). One of: standard, priority, express. |
lines[].foils is allowed only when finish is maskedHoloFoil or maskedHoloPlusFoil. Sent with another finish, the request is refused.
curl -X POST -H "Authorization: Bearer sn_test_sk_…" -H "Content-Type: application/json" -d '{"lines":[{"finish":"holo","quantity":100},{"finish":"maskedHoloFoil","quantity":50,"foils":1}]}' https://partners.makesnapshots.com/api/v1/quotesThe answer is 200 with an object whose object is quote:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always quote. |
mode | string | The mode of the key that made the request. One of: test, live. |
currency | string | Every amount is in US cents. Always usd. |
basis | string | Partner prices are the wholesale rate card. Always wholesale. |
lines | array of objects | One for each line asked for, in the same order. |
lines[].finish | string | The finish key asked for. One of: standard, holo, maskedHoloFoil, maskedHoloPlusFoil. |
lines[].quantity | integer | The number of cards asked for. |
lines[].foils | integer | The foils the line is priced with: 1 unless a masked line asked for more. |
lines[].design_id | string or null | The design the line named, or null. |
lines[].label | string | What the line is, for a person. |
lines[].unit_cents | integer, cents | The price of one card on this line. |
lines[].amount_cents | integer, cents | The line's amount. |
extras | array of objects | Charges beside the cards, such as the mask design charge for a masked finish. Often empty. |
extras[].label | string | What the charge is, for a person. |
extras[].quantity | integer or null | How many, where the charge is counted. |
extras[].unit_cents | integer, cents or null | The price of one, where the charge is counted. |
extras[].amount_cents | integer, cents | The charge's amount. |
card_count | integer | Cards across the whole order: what chooses the tier. |
cards_cents | integer, cents | Every line and extra added together: the cards. |
shipping_speed | string | The US shipping speed tier priced. One of: standard, priority, express. |
postage_service | string | The postage priced. |
postage_cents | integer, cents | US postage for an order of these cards at the chosen shipping speed. |
total_cents | integer, cents | The cards and the postage. |
below_wholesale_minimum | boolean | True when the order has fewer cards than the price list's wholesale_minimum_cards. |
warnings | array of strings | Anything about the lines a person should read before ordering. Usually empty. |
{
"object": "quote",
"mode": "test",
"currency": "usd",
"basis": "wholesale",
"lines": [
{
"finish": "holo",
"quantity": 100,
"foils": 1,
"design_id": null,
"label": "Holo cards (one design)",
"unit_cents": integer, cents,
"amount_cents": integer, cents
}
],
"extras": [
{
"label": "Mask design",
"quantity": 1,
"unit_cents": integer, cents or null,
"amount_cents": integer, cents
}
],
"card_count": 150,
"cards_cents": integer, cents,
"shipping_speed": "standard",
"postage_service": "US standard shipping",
"postage_cents": integer, cents,
"total_cents": integer, cents,
"below_wholesale_minimum": true,
"warnings": [
string
]
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, origin_not_allowed, account_inactive, key_creator_not_permitted, invalid_json, invalid_request, request_too_large, invalid_idempotency_key, idempotency_key_reused, idempotency_in_progress, design_not_found, rate_limited, unavailable.
Ask for upload addresses
POST /api/v1/designs/upload_urls
One address for each file of a design, to send the file to with an HTTP PUT. Then save the design with POST /api/v1/designs.
- Key: a secret key, from a server.
- Idempotency-Key: accepted (retrying safely).
- Send each file with PUT to its url, with the Content-Type the answer names and the file as the body. An address works for two hours.
- A file that is uploaded and never saved as a design is cleared automatically after three hours.
- The file's type is what you name here; the check that saves the design reads the file's own bytes and decides.
The request body:
| Field | Type | Required | What it is |
|---|---|---|---|
files | array of objects | Required | The files to upload: a front and a back for each design. 1 to 20 items. |
files[].side | string | Required | Which face of the card the file is. One of: front, back. |
files[].type | string | Required | The file's type. One of: png, jpg, webp. |
curl -X POST -H "Authorization: Bearer sn_test_sk_…" -H "Content-Type: application/json" -d '{"files":[{"side":"front","type":"png"},{"side":"back","type":"png"}]}' https://partners.makesnapshots.com/api/v1/designs/upload_urlsThe answer is 200 with an object whose object is upload_list:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always upload_list. |
uploads | array of objects | One for each file asked for, in the same order. |
uploads[].side | string | The face asked for. One of: front, back. |
uploads[].upload_id | string | Name it as front_upload_id or back_upload_id when you save the design. |
uploads[].url | string or null | Where to PUT the file. null when an address could not be made: ask again. |
uploads[].method | string | The method to send the file with. Always PUT. |
uploads[].content_type | string | The Content-Type to send it with. One of: image/png, image/jpeg, image/webp. |
{
"object": "upload_list",
"uploads": [
{
"side": "front",
"upload_id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f/front-6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f.png",
"url": "https://…",
"method": "PUT",
"content_type": "image/png"
}
]
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, invalid_json, invalid_request, request_too_large, invalid_idempotency_key, idempotency_key_reused, idempotency_in_progress, too_many_uploads, rate_limited, unavailable.
Save a design
POST /api/v1/designs
Saves a front and a back you uploaded as a design, once both pass the strict artwork check the portal uses.
- Key: a secret key, from a server.
- Idempotency-Key: accepted (retrying safely).
- The check is the portal's, with the same refusals: a portrait card at cut size or bleed size, at least 299 DPI, PNG, JPEG or WebP, read from the file's own bytes.
- A file the check refuses is answered 422 with every problem named under problems, and both uploads are removed: upload them again once fixed.
- A saved design's files never change. The answer never carries a file: only what the check read.
The request body:
| Field | Type | Required | What it is |
|---|---|---|---|
name | string | Required | What to call the design. |
front_upload_id | string | Required | The upload_id of the front file. |
back_upload_id | string | Required | The upload_id of the back file. |
finish_default | string | Optional | The finish to suggest for it. Leave it out for standard. One of: standard, holo. |
curl -X POST -H "Authorization: Bearer sn_test_sk_…" -H "Content-Type: application/json" -d '{"name":"Rookie card","front_upload_id":"6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f/front-6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f.png","back_upload_id":"6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f/back-6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f.png","finish_default":"standard"}' https://partners.makesnapshots.com/api/v1/designsThe answer is 201 with an object whose object is design:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always design. |
id | string | The design's id. An order line names it. |
name | string | The design's name. |
finish_default | string | The finish the portal suggests for this design. One of: standard, holo. |
front | object | What the strict artwork check read from the front file. The file itself is never answered. |
front.width_px | integer | The front file's width in pixels. |
front.height_px | integer | The front file's height in pixels. |
front.geometry | string | cut_25x35: the file is the card at cut size, and its bleed is added by mirroring its edge. bleed_2625x3625: the file carries its own bleed. One of: cut_25x35, bleed_2625x3625. |
front.bleed | boolean | True when the file carries its own bleed. |
back | object | What the check read from the back file. |
back.width_px | integer | The back file's width in pixels. |
back.height_px | integer | The back file's height in pixels. |
back.geometry | string | cut_25x35: the file is the card at cut size, and its bleed is added by mirroring its edge. bleed_2625x3625: the file carries its own bleed. One of: cut_25x35, bleed_2625x3625. |
back.bleed | boolean | True when the file carries its own bleed. |
archived | boolean | True once archived: an archived design cannot go on a new order. |
created_at | string | When it was saved, as an ISO 8601 time. |
{
"object": "design",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"name": "Rookie card",
"finish_default": "standard",
"front": {
"width_px": 788,
"height_px": 1088,
"geometry": "bleed_2625x3625",
"bleed": true
},
"back": {
"width_px": 788,
"height_px": 1088,
"geometry": "bleed_2625x3625",
"bleed": true
},
"archived": false,
"created_at": "2026-11-25T15:04:05.000Z"
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, invalid_json, invalid_request, request_too_large, invalid_idempotency_key, idempotency_key_reused, idempotency_in_progress, upload_missing, artwork_refused, design_limit, rate_limited, unavailable.
List designs
GET /api/v1/designs
The account's designs that are not archived, newest first, a page at a time.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
| Field | Type | Required | What it is |
|---|---|---|---|
limit | integer | Optional | How many to answer, newest first. Leave it out for 20. From 1 to 100. |
cursor | string | Optional | The next_cursor of the page before, to answer the page after it. |
curl -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/designsThe answer is 200 with an object whose object is list:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always list. |
data | array of objects | The designs on this page, newest first. |
data[].object | string | What kind of object this is. Always design. |
data[].id | string | The design's id. An order line names it. |
data[].name | string | The design's name. |
data[].finish_default | string | The finish the portal suggests for this design. One of: standard, holo. |
data[].front | object | What the strict artwork check read from the front file. The file itself is never answered. |
data[].front.width_px | integer | The front file's width in pixels. |
data[].front.height_px | integer | The front file's height in pixels. |
data[].front.geometry | string | cut_25x35: the file is the card at cut size, and its bleed is added by mirroring its edge. bleed_2625x3625: the file carries its own bleed. One of: cut_25x35, bleed_2625x3625. |
data[].front.bleed | boolean | True when the file carries its own bleed. |
data[].back | object | What the check read from the back file. |
data[].back.width_px | integer | The back file's width in pixels. |
data[].back.height_px | integer | The back file's height in pixels. |
data[].back.geometry | string | cut_25x35: the file is the card at cut size, and its bleed is added by mirroring its edge. bleed_2625x3625: the file carries its own bleed. One of: cut_25x35, bleed_2625x3625. |
data[].back.bleed | boolean | True when the file carries its own bleed. |
data[].archived | boolean | True once archived: an archived design cannot go on a new order. |
data[].created_at | string | When it was saved, as an ISO 8601 time. |
has_more | boolean | True when there is a page after this one. |
next_cursor | string or null | Send it as cursor to read the next page; null on the last page. |
{
"object": "list",
"data": [
{
"object": "design",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"name": "Rookie card",
"finish_default": "standard",
"front": {
"width_px": 788,
"height_px": 1088,
"geometry": "bleed_2625x3625",
"bleed": true
},
"back": {
"width_px": 788,
"height_px": 1088,
"geometry": "bleed_2625x3625",
"bleed": true
},
"archived": false,
"created_at": "2026-11-25T15:04:05.000Z"
}
],
"has_more": false,
"next_cursor": null
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, invalid_request, invalid_cursor, rate_limited, unavailable.
Retrieve a design
GET /api/v1/designs/{id}
One design of the account, archived or not.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
{id} in the path is the id, as an earlier answer gave it. One of another account is resource_missing; a design belongs to both modes, so a test key and a live key reach the same one.
curl -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/designs/6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4fThe answer is 200 with an object whose object is design:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always design. |
id | string | The design's id. An order line names it. |
name | string | The design's name. |
finish_default | string | The finish the portal suggests for this design. One of: standard, holo. |
front | object | What the strict artwork check read from the front file. The file itself is never answered. |
front.width_px | integer | The front file's width in pixels. |
front.height_px | integer | The front file's height in pixels. |
front.geometry | string | cut_25x35: the file is the card at cut size, and its bleed is added by mirroring its edge. bleed_2625x3625: the file carries its own bleed. One of: cut_25x35, bleed_2625x3625. |
front.bleed | boolean | True when the file carries its own bleed. |
back | object | What the check read from the back file. |
back.width_px | integer | The back file's width in pixels. |
back.height_px | integer | The back file's height in pixels. |
back.geometry | string | cut_25x35: the file is the card at cut size, and its bleed is added by mirroring its edge. bleed_2625x3625: the file carries its own bleed. One of: cut_25x35, bleed_2625x3625. |
back.bleed | boolean | True when the file carries its own bleed. |
archived | boolean | True once archived: an archived design cannot go on a new order. |
created_at | string | When it was saved, as an ISO 8601 time. |
{
"object": "design",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"name": "Rookie card",
"finish_default": "standard",
"front": {
"width_px": 788,
"height_px": 1088,
"geometry": "bleed_2625x3625",
"bleed": true
},
"back": {
"width_px": 788,
"height_px": 1088,
"geometry": "bleed_2625x3625",
"bleed": true
},
"archived": false,
"created_at": "2026-11-25T15:04:05.000Z"
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, resource_missing, rate_limited, unavailable.
Archive a design
DELETE /api/v1/designs/{id}
Archives a design: it can no longer go on a new order. Its files are kept, because an order already placed still prints them.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
- Archiving a design that is archived already answers resource_missing.
- A test key cannot archive a design: designs are shared by test and live orders, so a test run could stop a live integration's design. Archive it with a live key, or on the Designs page of the partner portal.
{id} in the path is the id, as an earlier answer gave it. One of another account is resource_missing; a design belongs to both modes, so a test key and a live key reach the same one.
curl -X DELETE -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/designs/6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4fThe answer is 200 with an object whose object is design:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always design. |
id | string | The design's id. An order line names it. |
name | string | The design's name. |
finish_default | string | The finish the portal suggests for this design. One of: standard, holo. |
front | object | What the strict artwork check read from the front file. The file itself is never answered. |
front.width_px | integer | The front file's width in pixels. |
front.height_px | integer | The front file's height in pixels. |
front.geometry | string | cut_25x35: the file is the card at cut size, and its bleed is added by mirroring its edge. bleed_2625x3625: the file carries its own bleed. One of: cut_25x35, bleed_2625x3625. |
front.bleed | boolean | True when the file carries its own bleed. |
back | object | What the check read from the back file. |
back.width_px | integer | The back file's width in pixels. |
back.height_px | integer | The back file's height in pixels. |
back.geometry | string | cut_25x35: the file is the card at cut size, and its bleed is added by mirroring its edge. bleed_2625x3625: the file carries its own bleed. One of: cut_25x35, bleed_2625x3625. |
back.bleed | boolean | True when the file carries its own bleed. |
archived | boolean | True once archived: an archived design cannot go on a new order. |
created_at | string | When it was saved, as an ISO 8601 time. |
{
"object": "design",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"name": "Rookie card",
"finish_default": "standard",
"front": {
"width_px": 788,
"height_px": 1088,
"geometry": "bleed_2625x3625",
"bleed": true
},
"back": {
"width_px": 788,
"height_px": 1088,
"geometry": "bleed_2625x3625",
"bleed": true
},
"archived": false,
"created_at": "2026-11-25T15:04:05.000Z"
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, resource_missing, test_key_not_permitted, rate_limited, unavailable.
Place an order
POST /api/v1/orders
Places an order of the account's designs, shipped to one US address. A live key's order is charged to the account's saved card and goes to production, exactly as one placed in the portal. A test key's order is priced the same way and never charged or printed.
- Key: a secret key, from a server.
- Idempotency-Key: required.
- An Idempotency-Key is required: send the same key again to retry, and the first answer comes back. The same key with another body is refused.
- The order is placed in the name of the person who made the key, who must still be an owner or a manager of the account.
- expected_total_cents, when sent, must be the total: send the total_cents of a quote of the same lines to be sure of what is charged.
- A card that is declined leaves the order with status payment_failed: it is tried again automatically, and the answer is still 201.
The request body:
| Field | Type | Required | What it is |
|---|---|---|---|
partner_reference | string or null | Optional | Your own order number or note, up to 48 characters. A white-label order prints it on the packing slip. |
ship_to | object | Required | Where the order ships: a US address (50 states, DC, territories, or APO/FPO military). |
ship_to.name | string | Required | Who it is addressed to: 3 to 60 characters. |
ship_to.street1 | string | Required | The street address. |
ship_to.street2 | string or null | Optional | A second address line, or null. |
ship_to.city | string | Required | The city. |
ship_to.state | string | Required | Two-letter code for a US state, DC, territory (PR, VI, GU, AS, MP), or military state (AA, AE, AP). |
ship_to.zip | string | Required | A five-digit ZIP code, or ZIP+4. |
ship_to.phone | string | Required | A ten-digit US phone number, for the carrier. |
shipping_speed | string | Optional | US shipping speed tier: standard (default), priority (3-day), or express (2-day). One of: standard, priority, express. |
lines | array of objects | Required | One line for each design and finish. 1 to 100 items. |
lines[].design_id | string | Required | One of the account's designs that is not archived. |
lines[].finish | string | Required | The finish. One of: standard, holo. |
lines[].quantity | integer | Required | How many cards of this design. From 1 to 5000. |
rights_confirmed | boolean | Required | Send true to confirm, for this order: "I own the copyright or have permission to use these images." Always true. |
expected_total_cents | integer | Optional | The total you expect, from a quote: the order is refused if the total is different. |
curl -X POST -H "Authorization: Bearer sn_test_sk_…" -H "Content-Type: application/json" -H "Idempotency-Key: <a key of your own>" -d '{"partner_reference":"SHOP-5521","ship_to":{"name":"Ada Lovelace","street1":"12 Main St","city":"Springfield","state":"IL","zip":"62701","phone":"2175550100"},"lines":[{"design_id":"6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f","finish":"holo","quantity":100}],"rights_confirmed":true}' https://partners.makesnapshots.com/api/v1/ordersThe answer is 201 with an object whose object is order:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always order. |
id | string | The order's id. |
number | string | The order's number, as the portal shows it. |
mode | string | The mode of the key that made the request. One of: test, live. |
source | string | Where the order was placed. One of: portal, file, api, shopify. |
partner_reference | string or null | Your own reference for the order, or null. |
status | string | Where the order stands. One of: draft, received, payment_failed, in_production, packed, shipped, delivered, cancelled. |
status_label | string | The status as the portal words it. |
tracking_number | string or null | The tracking number once the order has shipped, or null. A test order's starts with TEST-. |
ship_to | object or null | Where it ships. |
ship_to.name | string | Who it is addressed to: 3 to 60 characters. |
ship_to.street1 | string | The street address. |
ship_to.street2 | string or null | A second address line, or null. |
ship_to.city | string | The city. |
ship_to.state | string | Two-letter code for a US state, DC, territory (PR, VI, GU, AS, MP), or military state (AA, AE, AP). |
ship_to.zip | string | A five-digit ZIP code, or ZIP+4. |
ship_to.phone | string | A ten-digit US phone number, for the carrier. |
lines | array of objects | One line for each design and finish. |
lines[].design_id | string | The design printed. |
lines[].finish | string | The finish. One of: standard, holo. |
lines[].quantity | integer | How many cards. |
lines[].unit_cents | integer, cents or null | The price of one card on this line, frozen when the order was placed. |
lines[].amount_cents | integer, cents or null | The line's amount, frozen when the order was placed. |
cards_cents | integer, cents or null | The cards, every line added together. |
shipping_speed | string | The US shipping speed tier for this order. One of: standard, priority, express. |
postage_cents | integer, cents or null | US postage for the chosen shipping speed. |
total_cents | integer, cents or null | What the order costs: the cards and the postage. |
currency | string | Every amount is in US cents. Always usd. |
payment | object | Where the charge stands. A test order is never charged. |
payment.state | string | The charge's state. One of: not_charged, charging, failed, review, paid, refunding, refunded. |
payment.message | string or null | A sentence about the charge when there is something to say, or null. |
payment.next_attempt_at | string or null | When a failed charge is tried again, or null. |
cancellable | boolean | True when POST /api/v1/orders/{id}/cancel would cancel it now. |
created_at | string | When the order was made. |
placed_at | string or null | When it was placed, or null. |
{
"object": "order",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"number": "PO-1001",
"mode": "test",
"source": "api",
"partner_reference": "SHOP-5521",
"status": "received",
"status_label": "Received",
"tracking_number": null,
"ship_to": {
"name": "Ada Lovelace",
"street1": "12 Main St",
"street2": null,
"city": "Springfield",
"state": "IL",
"zip": "62701",
"phone": "2175550100"
},
"lines": [
{
"design_id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"finish": "holo",
"quantity": 100,
"unit_cents": integer, cents or null,
"amount_cents": integer, cents or null
}
],
"cards_cents": integer, cents or null,
"shipping_speed": "standard",
"postage_cents": integer, cents or null,
"total_cents": integer, cents or null,
"currency": "usd",
"payment": {
"state": "paid",
"message": null,
"next_attempt_at": null
},
"cancellable": true,
"created_at": "2026-11-25T15:04:05.000Z",
"placed_at": "2026-11-25T15:04:05.000Z"
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, invalid_json, invalid_request, request_too_large, invalid_idempotency_key, idempotency_key_required, idempotency_key_reused, idempotency_in_progress, design_not_found, duplicate_line, price_changed, billing_required, charge_blocked, rate_limited, unavailable.
List orders
GET /api/v1/orders
The account's orders of the key's mode, from every source, newest first, a page at a time.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
- A test key lists test orders only, and a live key live orders only.
- Filter by status, source, or q (matching partner_reference or order number).
| Field | Type | Required | What it is |
|---|---|---|---|
limit | integer | Optional | How many to answer, newest first. Leave it out for 20. From 1 to 100. |
cursor | string | Optional | The next_cursor of the page before, to answer the page after it. |
status | string | Optional | Return only orders currently in this status. One of: draft, received, payment_failed, in_production, packed, shipped, delivered, cancelled. |
source | string | Optional | Return only orders from this source. One of: portal, file, api, shopify. |
q | string | Optional | Filter by partner_reference or order number (case-insensitive substring). |
curl -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/ordersThe answer is 200 with an object whose object is list:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always list. |
data | array of objects | The orders on this page, newest first. |
data[].object | string | What kind of object this is. Always order. |
data[].id | string | The order's id. |
data[].number | string | The order's number, as the portal shows it. |
data[].mode | string | The mode of the key that made the request. One of: test, live. |
data[].source | string | Where the order was placed. One of: portal, file, api, shopify. |
data[].partner_reference | string or null | Your own reference for the order, or null. |
data[].status | string | Where the order stands. One of: draft, received, payment_failed, in_production, packed, shipped, delivered, cancelled. |
data[].status_label | string | The status as the portal words it. |
data[].tracking_number | string or null | The tracking number once the order has shipped, or null. A test order's starts with TEST-. |
data[].ship_to | object or null | Where it ships. |
data[].ship_to.name | string | Who it is addressed to: 3 to 60 characters. |
data[].ship_to.street1 | string | The street address. |
data[].ship_to.street2 | string or null | A second address line, or null. |
data[].ship_to.city | string | The city. |
data[].ship_to.state | string | Two-letter code for a US state, DC, territory (PR, VI, GU, AS, MP), or military state (AA, AE, AP). |
data[].ship_to.zip | string | A five-digit ZIP code, or ZIP+4. |
data[].ship_to.phone | string | A ten-digit US phone number, for the carrier. |
data[].lines | array of objects | One line for each design and finish. |
data[].lines[].design_id | string | The design printed. |
data[].lines[].finish | string | The finish. One of: standard, holo. |
data[].lines[].quantity | integer | How many cards. |
data[].lines[].unit_cents | integer, cents or null | The price of one card on this line, frozen when the order was placed. |
data[].lines[].amount_cents | integer, cents or null | The line's amount, frozen when the order was placed. |
data[].cards_cents | integer, cents or null | The cards, every line added together. |
data[].shipping_speed | string | The US shipping speed tier for this order. One of: standard, priority, express. |
data[].postage_cents | integer, cents or null | US postage for the chosen shipping speed. |
data[].total_cents | integer, cents or null | What the order costs: the cards and the postage. |
data[].currency | string | Every amount is in US cents. Always usd. |
data[].payment | object | Where the charge stands. A test order is never charged. |
data[].payment.state | string | The charge's state. One of: not_charged, charging, failed, review, paid, refunding, refunded. |
data[].payment.message | string or null | A sentence about the charge when there is something to say, or null. |
data[].payment.next_attempt_at | string or null | When a failed charge is tried again, or null. |
data[].cancellable | boolean | True when POST /api/v1/orders/{id}/cancel would cancel it now. |
data[].created_at | string | When the order was made. |
data[].placed_at | string or null | When it was placed, or null. |
has_more | boolean | True when there is a page after this one. |
next_cursor | string or null | Send it as cursor to read the next page; null on the last page. |
{
"object": "list",
"data": [
{
"object": "order",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"number": "PO-1001",
"mode": "test",
"source": "api",
"partner_reference": "SHOP-5521",
"status": "received",
"status_label": "Received",
"tracking_number": null,
"ship_to": {
"name": "Ada Lovelace",
"street1": "12 Main St",
"street2": null,
"city": "Springfield",
"state": "IL",
"zip": "62701",
"phone": "2175550100"
},
"lines": [
{
"design_id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"finish": "holo",
"quantity": 100,
"unit_cents": integer, cents or null,
"amount_cents": integer, cents or null
}
],
"cards_cents": integer, cents or null,
"shipping_speed": "standard",
"postage_cents": integer, cents or null,
"total_cents": integer, cents or null,
"currency": "usd",
"payment": {
"state": "paid",
"message": null,
"next_attempt_at": null
},
"cancellable": true,
"created_at": "2026-11-25T15:04:05.000Z",
"placed_at": "2026-11-25T15:04:05.000Z"
}
],
"has_more": false,
"next_cursor": null
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, invalid_request, invalid_cursor, rate_limited, unavailable.
Retrieve an order
GET /api/v1/orders/{id}
One order of the account and the key's mode, with where it stands and, once shipped, its tracking number.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
{id} in the path is the id, as an earlier answer gave it. One of another account, or of the other mode, is resource_missing.
curl -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/orders/6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4fThe answer is 200 with an object whose object is order:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always order. |
id | string | The order's id. |
number | string | The order's number, as the portal shows it. |
mode | string | The mode of the key that made the request. One of: test, live. |
source | string | Where the order was placed. One of: portal, file, api, shopify. |
partner_reference | string or null | Your own reference for the order, or null. |
status | string | Where the order stands. One of: draft, received, payment_failed, in_production, packed, shipped, delivered, cancelled. |
status_label | string | The status as the portal words it. |
tracking_number | string or null | The tracking number once the order has shipped, or null. A test order's starts with TEST-. |
ship_to | object or null | Where it ships. |
ship_to.name | string | Who it is addressed to: 3 to 60 characters. |
ship_to.street1 | string | The street address. |
ship_to.street2 | string or null | A second address line, or null. |
ship_to.city | string | The city. |
ship_to.state | string | Two-letter code for a US state, DC, territory (PR, VI, GU, AS, MP), or military state (AA, AE, AP). |
ship_to.zip | string | A five-digit ZIP code, or ZIP+4. |
ship_to.phone | string | A ten-digit US phone number, for the carrier. |
lines | array of objects | One line for each design and finish. |
lines[].design_id | string | The design printed. |
lines[].finish | string | The finish. One of: standard, holo. |
lines[].quantity | integer | How many cards. |
lines[].unit_cents | integer, cents or null | The price of one card on this line, frozen when the order was placed. |
lines[].amount_cents | integer, cents or null | The line's amount, frozen when the order was placed. |
cards_cents | integer, cents or null | The cards, every line added together. |
shipping_speed | string | The US shipping speed tier for this order. One of: standard, priority, express. |
postage_cents | integer, cents or null | US postage for the chosen shipping speed. |
total_cents | integer, cents or null | What the order costs: the cards and the postage. |
currency | string | Every amount is in US cents. Always usd. |
payment | object | Where the charge stands. A test order is never charged. |
payment.state | string | The charge's state. One of: not_charged, charging, failed, review, paid, refunding, refunded. |
payment.message | string or null | A sentence about the charge when there is something to say, or null. |
payment.next_attempt_at | string or null | When a failed charge is tried again, or null. |
cancellable | boolean | True when POST /api/v1/orders/{id}/cancel would cancel it now. |
created_at | string | When the order was made. |
placed_at | string or null | When it was placed, or null. |
{
"object": "order",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"number": "PO-1001",
"mode": "test",
"source": "api",
"partner_reference": "SHOP-5521",
"status": "received",
"status_label": "Received",
"tracking_number": null,
"ship_to": {
"name": "Ada Lovelace",
"street1": "12 Main St",
"street2": null,
"city": "Springfield",
"state": "IL",
"zip": "62701",
"phone": "2175550100"
},
"lines": [
{
"design_id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"finish": "holo",
"quantity": 100,
"unit_cents": integer, cents or null,
"amount_cents": integer, cents or null
}
],
"cards_cents": integer, cents or null,
"shipping_speed": "standard",
"postage_cents": integer, cents or null,
"total_cents": integer, cents or null,
"currency": "usd",
"payment": {
"state": "paid",
"message": null,
"next_attempt_at": null
},
"cancellable": true,
"created_at": "2026-11-25T15:04:05.000Z",
"placed_at": "2026-11-25T15:04:05.000Z"
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, resource_missing, rate_limited, unavailable.
Cancel an order
POST /api/v1/orders/{id}/cancel
Cancels an order before it goes to production, with the portal's rules: an order whose payment failed closes at once, and a paid order is refunded in full first. Once an order is in production it cannot be cancelled here.
- Key: a secret key, from a server.
- Idempotency-Key: accepted (retrying safely).
- While a charge or a refund is running, the order cannot be cancelled: try again once it has finished.
{id} in the path is the id, as an earlier answer gave it. One of another account, or of the other mode, is resource_missing.
curl -X POST -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/orders/6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f/cancelThe answer is 200 with an object whose object is order:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always order. |
id | string | The order's id. |
number | string | The order's number, as the portal shows it. |
mode | string | The mode of the key that made the request. One of: test, live. |
source | string | Where the order was placed. One of: portal, file, api, shopify. |
partner_reference | string or null | Your own reference for the order, or null. |
status | string | Where the order stands. One of: draft, received, payment_failed, in_production, packed, shipped, delivered, cancelled. |
status_label | string | The status as the portal words it. |
tracking_number | string or null | The tracking number once the order has shipped, or null. A test order's starts with TEST-. |
ship_to | object or null | Where it ships. |
ship_to.name | string | Who it is addressed to: 3 to 60 characters. |
ship_to.street1 | string | The street address. |
ship_to.street2 | string or null | A second address line, or null. |
ship_to.city | string | The city. |
ship_to.state | string | Two-letter code for a US state, DC, territory (PR, VI, GU, AS, MP), or military state (AA, AE, AP). |
ship_to.zip | string | A five-digit ZIP code, or ZIP+4. |
ship_to.phone | string | A ten-digit US phone number, for the carrier. |
lines | array of objects | One line for each design and finish. |
lines[].design_id | string | The design printed. |
lines[].finish | string | The finish. One of: standard, holo. |
lines[].quantity | integer | How many cards. |
lines[].unit_cents | integer, cents or null | The price of one card on this line, frozen when the order was placed. |
lines[].amount_cents | integer, cents or null | The line's amount, frozen when the order was placed. |
cards_cents | integer, cents or null | The cards, every line added together. |
shipping_speed | string | The US shipping speed tier for this order. One of: standard, priority, express. |
postage_cents | integer, cents or null | US postage for the chosen shipping speed. |
total_cents | integer, cents or null | What the order costs: the cards and the postage. |
currency | string | Every amount is in US cents. Always usd. |
payment | object | Where the charge stands. A test order is never charged. |
payment.state | string | The charge's state. One of: not_charged, charging, failed, review, paid, refunding, refunded. |
payment.message | string or null | A sentence about the charge when there is something to say, or null. |
payment.next_attempt_at | string or null | When a failed charge is tried again, or null. |
cancellable | boolean | True when POST /api/v1/orders/{id}/cancel would cancel it now. |
created_at | string | When the order was made. |
placed_at | string or null | When it was placed, or null. |
{
"object": "order",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"number": "PO-1001",
"mode": "test",
"source": "api",
"partner_reference": "SHOP-5521",
"status": "received",
"status_label": "Received",
"tracking_number": null,
"ship_to": {
"name": "Ada Lovelace",
"street1": "12 Main St",
"street2": null,
"city": "Springfield",
"state": "IL",
"zip": "62701",
"phone": "2175550100"
},
"lines": [
{
"design_id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"finish": "holo",
"quantity": 100,
"unit_cents": integer, cents or null,
"amount_cents": integer, cents or null
}
],
"cards_cents": integer, cents or null,
"shipping_speed": "standard",
"postage_cents": integer, cents or null,
"total_cents": integer, cents or null,
"currency": "usd",
"payment": {
"state": "paid",
"message": null,
"next_attempt_at": null
},
"cancellable": true,
"created_at": "2026-11-25T15:04:05.000Z",
"placed_at": "2026-11-25T15:04:05.000Z"
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, resource_missing, invalid_idempotency_key, idempotency_key_reused, idempotency_in_progress, order_not_cancellable, rate_limited, unavailable.
Advance a test order
POST /api/v1/orders/{id}/advance
Immediately advances a test-mode order by one fulfillment step (received -> in_production -> packed -> shipped -> delivered) for fast CI and webhook testing without waiting 60 seconds per step.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
- Test keys only: calling with a live key returns test_mode_only.
- Each step triggers the same partner order events and test webhooks as the scheduled walk.
{id} in the path is the id, as an earlier answer gave it. One of another account, or of the other mode, is resource_missing.
curl -X POST -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/orders/6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f/advanceThe answer is 200 with an object whose object is order:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always order. |
id | string | The order's id. |
number | string | The order's number, as the portal shows it. |
mode | string | The mode of the key that made the request. One of: test, live. |
source | string | Where the order was placed. One of: portal, file, api, shopify. |
partner_reference | string or null | Your own reference for the order, or null. |
status | string | Where the order stands. One of: draft, received, payment_failed, in_production, packed, shipped, delivered, cancelled. |
status_label | string | The status as the portal words it. |
tracking_number | string or null | The tracking number once the order has shipped, or null. A test order's starts with TEST-. |
ship_to | object or null | Where it ships. |
ship_to.name | string | Who it is addressed to: 3 to 60 characters. |
ship_to.street1 | string | The street address. |
ship_to.street2 | string or null | A second address line, or null. |
ship_to.city | string | The city. |
ship_to.state | string | Two-letter code for a US state, DC, territory (PR, VI, GU, AS, MP), or military state (AA, AE, AP). |
ship_to.zip | string | A five-digit ZIP code, or ZIP+4. |
ship_to.phone | string | A ten-digit US phone number, for the carrier. |
lines | array of objects | One line for each design and finish. |
lines[].design_id | string | The design printed. |
lines[].finish | string | The finish. One of: standard, holo. |
lines[].quantity | integer | How many cards. |
lines[].unit_cents | integer, cents or null | The price of one card on this line, frozen when the order was placed. |
lines[].amount_cents | integer, cents or null | The line's amount, frozen when the order was placed. |
cards_cents | integer, cents or null | The cards, every line added together. |
shipping_speed | string | The US shipping speed tier for this order. One of: standard, priority, express. |
postage_cents | integer, cents or null | US postage for the chosen shipping speed. |
total_cents | integer, cents or null | What the order costs: the cards and the postage. |
currency | string | Every amount is in US cents. Always usd. |
payment | object | Where the charge stands. A test order is never charged. |
payment.state | string | The charge's state. One of: not_charged, charging, failed, review, paid, refunding, refunded. |
payment.message | string or null | A sentence about the charge when there is something to say, or null. |
payment.next_attempt_at | string or null | When a failed charge is tried again, or null. |
cancellable | boolean | True when POST /api/v1/orders/{id}/cancel would cancel it now. |
created_at | string | When the order was made. |
placed_at | string or null | When it was placed, or null. |
{
"object": "order",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"number": "PO-1001",
"mode": "test",
"source": "api",
"partner_reference": "SHOP-5521",
"status": "received",
"status_label": "Received",
"tracking_number": null,
"ship_to": {
"name": "Ada Lovelace",
"street1": "12 Main St",
"street2": null,
"city": "Springfield",
"state": "IL",
"zip": "62701",
"phone": "2175550100"
},
"lines": [
{
"design_id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"finish": "holo",
"quantity": 100,
"unit_cents": integer, cents or null,
"amount_cents": integer, cents or null
}
],
"cards_cents": integer, cents or null,
"shipping_speed": "standard",
"postage_cents": integer, cents or null,
"total_cents": integer, cents or null,
"currency": "usd",
"payment": {
"state": "paid",
"message": null,
"next_attempt_at": null
},
"cancellable": true,
"created_at": "2026-11-25T15:04:05.000Z",
"placed_at": "2026-11-25T15:04:05.000Z"
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, resource_missing, test_mode_only, order_not_advanceable, rate_limited, unavailable.
List events
GET /api/v1/events
What happened to the account's orders of the key's mode, newest first: the same events webhooks deliver.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
| Field | Type | Required | What it is |
|---|---|---|---|
limit | integer | Optional | How many to answer, newest first. Leave it out for 20. From 1 to 100. |
cursor | string | Optional | The next_cursor of the page before, to answer the page after it. |
curl -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/eventsThe answer is 200 with an object whose object is list:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always list. |
data | array of objects | The events on this page, newest first. |
data[].object | string | What kind of object this is. Always event. |
data[].id | string | The event's id. A webhook is delivered at least once: de-duplicate on it. |
data[].type | string | What happened. One of: order.accepted, order.payment_failed, order.in_production, order.shipped, order.delivered, order.cancelled, order.refunded. |
data[].mode | string | The mode of the key that made the request. One of: test, live. |
data[].created | integer | When it happened, in Unix seconds. |
data[].data | object | The order it happened to. Read the whole order with GET /api/v1/orders/{id}. |
data[].data.object | object | The order, as it stood. |
data[].data.object.object | string | What kind of object this is. Always order. |
data[].data.object.id | string | The order's id. |
data[].data.object.number | string | The order's number. |
data[].data.object.partner_reference | string or null | Your reference, or null. |
data[].data.object.status | string | Its status when the event happened. One of: draft, received, payment_failed, in_production, packed, shipped, delivered, cancelled. |
has_more | boolean | True when there is a page after this one. |
next_cursor | string or null | Send it as cursor to read the next page; null on the last page. |
{
"object": "list",
"data": [
{
"object": "event",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"type": "order.shipped",
"mode": "test",
"created": 1764083045,
"data": {
"object": {
"object": "order",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"number": "PO-1001",
"partner_reference": "SHOP-5521",
"status": "shipped"
}
}
}
],
"has_more": false,
"next_cursor": null
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, invalid_request, invalid_cursor, rate_limited, unavailable.
Add a webhook endpoint
POST /api/v1/webhook_endpoints
Adds an address that receives the account's events of the key's mode, signed with a secret of its own. The secret is in this answer and never again.
- Key: a secret key, from a server.
- Idempotency-Key: accepted (retrying safely).
- The address must be https on the standard port, with a public name and no user name or password. It cannot be a Snapshot address.
- An endpoint is never changed: to change one, add the new one, then remove the old.
The request body:
| Field | Type | Required | What it is |
|---|---|---|---|
url | string | Required | Where to send events. |
events | array of strings | Required | The event types to send to it. 1 to 7 items. |
curl -X POST -H "Authorization: Bearer sn_test_sk_…" -H "Content-Type: application/json" -d '{"url":"https://shop.example.com/webhooks/snapshot","events":["order.shipped","order.delivered"]}' https://partners.makesnapshots.com/api/v1/webhook_endpointsThe answer is 201 with an object whose object is webhook_endpoint:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always webhook_endpoint. |
id | string | The endpoint's id. |
url | string | Where events are sent. |
mode | string | The mode of the key that made the request. One of: test, live. |
events | array of strings | The event types sent to it. |
status | string | disabled: deliveries kept failing and it was switched off, or it was removed. One of: enabled, disabled. |
disabled_reason | string or null | Why it is switched off, or null. One of: failing, removed. |
secret_prefix | string | The first letters of its signing secret, to tell two endpoints apart. |
consecutive_failures | integer | Attempts in a row that failed since the last one that worked. |
last_success_at | string or null | The last delivery it answered with a 2xx, or null. |
last_failure_at | string or null | The last attempt that failed, or null. |
created_at | string | When it was added. |
secret | string | The signing secret: whsec_ and 43 letters and digits. Shown in this answer only. |
{
"object": "webhook_endpoint",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"url": "https://shop.example.com/webhooks/snapshot",
"mode": "test",
"events": [
string
],
"status": "enabled",
"disabled_reason": null,
"secret_prefix": "whsec_AbC123",
"consecutive_failures": 0,
"last_success_at": null,
"last_failure_at": null,
"created_at": "2026-11-25T15:04:05.000Z",
"secret": "whsec_…"
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, invalid_json, invalid_request, request_too_large, invalid_idempotency_key, idempotency_key_reused, idempotency_in_progress, webhook_url_refused, webhook_endpoint_limit, rate_limited, unavailable.
List webhook endpoints
GET /api/v1/webhook_endpoints
The account's webhook endpoints of the key's mode, removed ones left out, newest first. No secret is answered.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
curl -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/webhook_endpointsThe answer is 200 with an object whose object is list:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always list. |
data | array of objects | Every endpoint, newest first. |
data[].object | string | What kind of object this is. Always webhook_endpoint. |
data[].id | string | The endpoint's id. |
data[].url | string | Where events are sent. |
data[].mode | string | The mode of the key that made the request. One of: test, live. |
data[].events | array of strings | The event types sent to it. |
data[].status | string | disabled: deliveries kept failing and it was switched off, or it was removed. One of: enabled, disabled. |
data[].disabled_reason | string or null | Why it is switched off, or null. One of: failing, removed. |
data[].secret_prefix | string | The first letters of its signing secret, to tell two endpoints apart. |
data[].consecutive_failures | integer | Attempts in a row that failed since the last one that worked. |
data[].last_success_at | string or null | The last delivery it answered with a 2xx, or null. |
data[].last_failure_at | string or null | The last attempt that failed, or null. |
data[].created_at | string | When it was added. |
{
"object": "list",
"data": [
{
"object": "webhook_endpoint",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"url": "https://shop.example.com/webhooks/snapshot",
"mode": "test",
"events": [
string
],
"status": "enabled",
"disabled_reason": null,
"secret_prefix": "whsec_AbC123",
"consecutive_failures": 0,
"last_success_at": null,
"last_failure_at": null,
"created_at": "2026-11-25T15:04:05.000Z"
}
]
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, rate_limited, unavailable.
Remove a webhook endpoint
DELETE /api/v1/webhook_endpoints/{id}
Removes an endpoint: nothing more is sent to it, and deliveries waiting for it are stopped.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
{id} in the path is the id, as an earlier answer gave it. One of another account, or of the other mode, is resource_missing.
curl -X DELETE -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/webhook_endpoints/6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4fThe answer is 200 with an object whose object is webhook_endpoint:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always webhook_endpoint. |
id | string | The endpoint's id. |
url | string | Where events are sent. |
mode | string | The mode of the key that made the request. One of: test, live. |
events | array of strings | The event types sent to it. |
status | string | disabled: deliveries kept failing and it was switched off, or it was removed. One of: enabled, disabled. |
disabled_reason | string or null | Why it is switched off, or null. One of: failing, removed. |
secret_prefix | string | The first letters of its signing secret, to tell two endpoints apart. |
consecutive_failures | integer | Attempts in a row that failed since the last one that worked. |
last_success_at | string or null | The last delivery it answered with a 2xx, or null. |
last_failure_at | string or null | The last attempt that failed, or null. |
created_at | string | When it was added. |
{
"object": "webhook_endpoint",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"url": "https://shop.example.com/webhooks/snapshot",
"mode": "test",
"events": [
string
],
"status": "enabled",
"disabled_reason": null,
"secret_prefix": "whsec_AbC123",
"consecutive_failures": 0,
"last_success_at": null,
"last_failure_at": null,
"created_at": "2026-11-25T15:04:05.000Z"
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, resource_missing, rate_limited, unavailable.
Send a test event
POST /api/v1/webhook_endpoints/{id}/test
Sends one signed webhook_endpoint.test event to the endpoint now, and answers what it answered.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
- A test send is not counted toward switching the endpoint off.
{id} in the path is the id, as an earlier answer gave it. One of another account, or of the other mode, is resource_missing.
curl -X POST -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/webhook_endpoints/6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f/testThe answer is 200 with an object whose object is webhook_test:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always webhook_test. |
endpoint_id | string | The endpoint sent to. |
delivered | boolean | True when the endpoint answered with a 2xx. |
status_code | integer or null | The status it answered with, or null when it did not answer. |
error | string or null | Why it was not delivered, or null. |
{
"object": "webhook_test",
"endpoint_id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"delivered": true,
"status_code": 200,
"error": null
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, resource_missing, webhook_endpoint_disabled, rate_limited, unavailable.
Start a builder session
POST /api/v1/builder_sessions
Starts one shopper's session in the design frame: your page opens the frame with the token, the shopper designs a card on one of your templates, and the card is saved as a design of your account for your server to order with POST /api/v1/orders.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
- The token works for 60 minutes and makes one design. Start one session for each shopper, and give the token only to that shopper's page.
- The token is in this answer and nowhere else: it is stored only as its SHA-256. A request that is sent again starts another session, so this endpoint takes no Idempotency-Key.
- origin is the exact origin of the page that opens the frame. It must be one of the allowed origins of one of the account's publishable keys of the same mode, and only a page on it can show the frame.
- fields are values the shopper finds filled in, keyed by the template's own field names; the shopper may change them. The frame lists the fields a template has.
- A key may start 200 sessions in any 24 hours, and a session takes at most 5 photos.
- The design is saved in the name of the person who made the key, who must still be an owner or a manager of the account when the shopper saves it.
The request body:
| Field | Type | Required | What it is |
|---|---|---|---|
template_id | string | Required | A template granted to the account that the design frame offers. The Embed page of the portal lists them. |
origin | string | Required | The origin of the page that opens the frame: scheme and host, and the port if there is one. |
fields | array of objects | Optional | Values you already know, such as the player's name. Leave it out for none. |
fields[].key | string | Required | The template's field name, such as playerName or number. |
fields[].value | string | Required | The value: up to 100 characters, or 500 for a bio. |
reference | string or null | Optional | Your own reference for this session, up to 48 characters, such as your cart line. The frame hands it back with the design, and the design is named by it. |
curl -X POST -H "Authorization: Bearer sn_test_sk_…" -H "Content-Type: application/json" -d '{"template_id":"6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f","origin":"https://shop.example.com","fields":[{"key":"playerName","value":"Ada Lovelace"}],"reference":"CART-8812-1"}' https://partners.makesnapshots.com/api/v1/builder_sessionsThe answer is 201 with an object whose object is builder_session:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always builder_session. |
id | string | The session's id. |
token | string | The session's token: sn_test_bs_ or sn_live_bs_ and 43 letters and digits. Shown in this answer only. Your page opens the frame with it. |
frame_url | string | The frame's address with the token in it, for a page that makes its own iframe instead of using embed.js. |
mode | string | The mode of the key that made the request. One of: test, live. |
template_id | string | The template the shopper designs on. |
origin | string | The only origin that can show the frame, as it is stored. |
reference | string or null | Your reference, or null. |
expires_at | string | When the token stops working, as an ISO 8601 time. |
{
"object": "builder_session",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"token": "sn_test_bs_…",
"frame_url": "https://www.makesnapshots.com/embed/s/sn_test_bs_…",
"mode": "test",
"template_id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"origin": "https://shop.example.com",
"reference": "CART-8812-1",
"expires_at": "2026-11-26T16:04:05.000Z"
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, invalid_json, invalid_request, request_too_large, template_not_offered, origin_not_registered, builder_session_limit, rate_limited, unavailable.
List granted templates
GET /api/v1/templates
The card templates granted to this account, whether each is offered in the embeddable design frame, and the field keys each template accepts for pre-filling.
- Key: a secret key, from a server.
- Idempotency-Key: not used.
- Pass a template id and its field keys to POST /api/v1/builder_sessions to start a shopper design session.
curl -H "Authorization: Bearer sn_test_sk_…" https://partners.makesnapshots.com/api/v1/templatesThe answer is 200 with an object whose object is list:
| Field | Type | What it is |
|---|---|---|
object | string | What kind of object this is. Always list. |
data | array of objects | Every template granted to this account. |
data[].object | string | What kind of object this is. Always template. |
data[].id | string | The template id to pass to POST /api/v1/builder_sessions. |
data[].name | string | The template name. |
data[].offered | boolean | True when the design frame can open a session on this template. |
data[].refusal | string or null | Why the template is not offered in the design frame, or null when offered. |
data[].fields | array of objects | The text fields this template accepts in builder_sessions.fields. |
data[].fields[].key | string | The field key. |
data[].fields[].label | string | The human-readable label. |
data[].fields[].max_length | integer | Maximum allowed characters. |
data[].fields[].multiline | boolean | True for multi-line fields such as bio. |
{
"object": "list",
"data": [
{
"object": "template",
"id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f",
"name": "Classic Rookie",
"offered": true,
"refusal": null,
"fields": [
{
"key": "playerName",
"label": "Player name",
"max_length": 80,
"multiline": false
}
]
}
]
}Errors it can answer with: missing_api_key, invalid_api_key, api_key_revoked, secret_key_in_browser, publishable_key_not_allowed, account_inactive, key_creator_not_permitted, rate_limited, unavailable.
Errors
Every error has the same shape. Have your program read code, which does not change. message is a sentence for a person, and its wording may change. param appears when one field is at fault. An artwork_refused error also has problems: one object for each problem the automatic artwork check found, with its side (front or back), its own code and a message.
{
"error": {
"type": "invalid_request_error",
"code": "invalid_request",
"message": "lines[0].quantity must be a whole number from 1 to 100000.",
"request_id": "req_…",
"param": "lines[0].quantity"
}
}| Code | Status | Type | What it means |
|---|---|---|---|
missing_api_key | 401 | authentication_error | Send your API key in the Authorization header, as "Bearer <key>". |
invalid_api_key | 401 | authentication_error | That API key is not valid. |
api_key_revoked | 401 | authentication_error | That API key was revoked. Create a new key on the Developers page of the partner portal. |
secret_key_in_browser | 401 | authentication_error | A secret key cannot be used from a browser: this request carried an Origin header. Keep secret keys on your server, and use a publishable key in a web page. |
publishable_key_not_allowed | 403 | permission_error | This endpoint needs a secret key. A publishable key can call only the endpoints the API reference marks as publishable. |
origin_not_allowed | 403 | permission_error | This publishable key does not answer requests from this origin. Send the request from one of the key's allowed origins, or make a key for this one. |
account_inactive | 403 | permission_error | This partner account is not active. |
invalid_json | 400 | invalid_request_error | The request body is not valid JSON. |
invalid_request | 400 | invalid_request_error | A field of the request is missing or not valid. |
request_too_large | 413 | invalid_request_error | The request body is larger than 65536 bytes. |
invalid_idempotency_key | 400 | invalid_request_error | An Idempotency-Key is 1 to 255 printable characters, with no spaces. |
idempotency_key_required | 400 | invalid_request_error | This endpoint needs an Idempotency-Key header. |
idempotency_key_reused | 409 | idempotency_error | This Idempotency-Key was already used for a different request. Use a new key for a new request. |
idempotency_in_progress | 409 | idempotency_error | A request with this Idempotency-Key is still running. Retry once it has finished. |
rate_limited | 429 | rate_limit_error | Too many requests. Wait for the number of seconds the Retry-After header gives, then try again. |
not_found | 404 | invalid_request_error | There is no endpoint at this path. The API reference lists every endpoint. |
resource_missing | 404 | invalid_request_error | Nothing with that id exists for this key's account and mode. |
invalid_cursor | 400 | invalid_request_error | That cursor is not one this list gave. Start again without a cursor. |
key_creator_not_permitted | 403 | permission_error | A key acts for the person who made it, and that person is no longer an owner or a manager of the account. An owner or a manager makes a new key on the Developers page. |
test_key_not_permitted | 403 | permission_error | A test key cannot do this, because it would change what live orders use. Use a live key, or the partner portal. |
too_many_uploads | 409 | invalid_request_error | This account has too many uploads that were never saved as a design. Save or finish those first: unsaved uploads are cleared automatically. |
upload_missing | 409 | invalid_request_error | Those uploads were not found, or are being saved already. Ask for new upload addresses and upload the files again. |
artwork_refused | 422 | invalid_request_error | These files cannot be printed as they are. Nothing was saved: `problems` names each one. |
design_limit | 409 | invalid_request_error | This account already holds the most designs one account can keep. |
design_not_found | 400 | invalid_request_error | A design on the order was not found in this account, or has been archived. |
duplicate_line | 400 | invalid_request_error | A design is on the order twice in the same finish. Add the quantities together instead. |
price_changed | 409 | invalid_request_error | The total is not the expected_total_cents sent. Ask for a new quote, check it, then send the order again. |
billing_required | 402 | payment_error | This account has no card to charge. An owner adds one on the Billing page of the partner portal. |
charge_blocked | 402 | payment_error | The order was not charged and was not placed. |
order_not_cancellable | 409 | invalid_request_error | This order cannot be cancelled now. |
test_mode_only | 400 | invalid_request_error | Advancing an order is available in test mode only. |
order_not_advanceable | 409 | invalid_request_error | This test order has already reached a final status and cannot be advanced further. |
webhook_url_refused | 400 | invalid_request_error | That address cannot receive webhooks: it must be https, on the standard port, with a public name and no user name or password. |
webhook_endpoint_limit | 409 | invalid_request_error | This account already has the most webhook endpoints allowed. Remove one first. |
webhook_endpoint_disabled | 409 | invalid_request_error | This endpoint is switched off. Add it again to start receiving events. |
template_not_offered | 400 | invalid_request_error | That template is not one this account can offer in the design frame. The Embed page of the partner portal lists the ones it can. |
origin_not_registered | 400 | invalid_request_error | origin must be exactly one of the allowed origins of one of this account's publishable keys of the same mode. A publishable key names its origins on the Developers page. |
builder_session_limit | 429 | rate_limit_error | This key has started the most builder sessions it may in 24 hours. Try again later. |
unavailable | 503 | api_error | That could not be done right now. Try again in a moment. |
| Type | What it means |
|---|---|
authentication_error | The key is missing, not valid, revoked, or a secret key was sent from a browser. |
permission_error | The key is valid but may not make this request. |
invalid_request_error | The request itself is wrong: its body, a field, or the path. |
idempotency_error | The Idempotency-Key was used for another request, or that request is still running. |
rate_limit_error | Too many requests in the window. |
payment_error | The order could not be charged: the account has no card on file, or the charge was stopped before it reached the card. |
api_error | Something went wrong on our side. The request may be retried. |
Account settings managed in the portal
Every endpoint of version 1 is listed above. You manage these in the partner portal instead:
- creating and revoking API keys (Creating a key);
- the list of webhook deliveries, resending one, and switching an endpoint back on (Deliveries and resending);
- the Templates page (Templates for your account). Your server can read the templates granted to your account, with their ids, through List granted templates;
- the address book, the product mappings and orders sent as a file (Send orders as a file);
- events (Run an event);
- the team, the brand and billing (Accounts, team and roles).
Read Orders through the API for the order flow end to end, and Webhooks for the events.