Design Catalog

Updated November 20, 2026

Every card and keepsake is made from one WHCC design. These routes list the designs for your products and read one in full, with everything you need to draw a design grid and a design page yourself. Only the products in the Cards & Keepsakes table use them.

This page is optional. To order a card or keepsake, you only need a designId, and Cards & Keepsakes Step 2 shows the two calls that find one. Read on if you want to show WHCC's designs inside your own application, with your own grid and design page.

The Cards & Keepsakes guide walks through ordering step by step; this page has every parameter and field. The examples use the test host, https://apis-stage.whcc.com/api.

The routes

All three routes take your API key like any other route, and all three take products: a comma-separated list of up to 50 product references, each a ref, an id or a marketing slug.

Product keys. Responses key each product by its ref in productRefs, foil, defaultSelections, products and the actions.detail url. If a ref could name more than one of your products, the product is keyed by its id instead, and its products entry still carries ref. Send the key you were given wherever a product reference is accepted.

Product reference errors. A reference to a product your account can't order adds no designs and isn't an error. One that doesn't match any product, or matches several of yours, fails the whole request with 400 naming it. The error carries productReferencesUrl, where to list your valid references, and suggestedProductReference when exactly one is a close match.

GET /v1/catalog/designs/tags

Returns { "tags": [...] }: the sorted tags carried by designs for the products you send, so a tag picker only offers tags that match something. It takes products only.

  • Every tag it returns is accepted by the design list's tags.
  • Utility tags are never returned, such as productvariant, designvariant, greetingvariant and blank. Shape and orientation tags such as horizontal and square stay available.
  • A folded card's tags include those of the flat designs it can be printed from.
  • If the tag list is briefly unavailable, WHCC returns 503 with a Retry-After header. Wait that many seconds and try again. Products with no tagged designs return 200 with tags: [].

GET /v1/catalog/designs

Lists the designs for your products, one page at a time.

Parameter What it does
productsRequired. Up to 50 product references, comma-separated.
tagsRequired unless you send family. Comma-separated; a design must carry every tag. Tags match exactly.
familyOne familyId. Lists that suite's designs, with or without tags.
sortcurated (the default), name or updated. Prefix name or updated with - for descending; -curated returns 400.
foilAny of pressed, available and none. Send pressed,available to match whcc.com's "Foil-Pressed" filter.
photoCountWhole numbers. Keeps designs that can hold exactly one of these photo counts, summed across all faces.
slipInclip keeps designs that offer a slip-in clip for a mini snapshot; none keeps the rest.
expandAny of photos (adds photoCount and photoCounts), meta (adds updatedAt) and layouts (adds faces).
limit1 to 200, default 50. At most 100 when products names more than 25 references or expand includes layouts.
cursorThe previous page's nextCursor.

tags or family. There's no unfiltered list: send at least one tag, or a family. Use tags for a grid people filter ("holiday" and "modern"). Use family for "more in this suite": send the design's familyId with the same products and drop the design you started from. If you send a tag that doesn't exist, WHCC returns 400 with tagsUrl, the tags route for your products, and suggestedTag when exactly one tag is a close match.

Paging. Follow nextCursor until it's absent. A cursor only works with the exact parameters and sort that produced it, and only for 24 hours. If anything changed, including the curated order itself, WHCC returns 400; if it's expired, WHCC returns 410. Either way, start again from the first page. totalCount is the count when the page was built, and ordering names the order actually applied: name when no curated order fits your tags.

Each design in designs[]:

Field What it is
idThe design's id: what you send as designId.
primaryDisplayName, secondaryDisplayNameThe name to show, and the variant's name when there is one (show it as "Primary (Secondary)"). Neither names the product.
familyIdThe design's suite, for the family parameter.
formatsThe card formats the design can be ordered as: ["flat"], ["flat", "folded"] or ["folded"], and [] for a design that isn't a flat or folded card.
baseImagesfront.previewUrl (full size), front.smallUrl (the grid tile) and back.smallUrl (the card's back, small): artwork without shape or foil, bleed included. Each is null when missing; back.smallUrl is null for a one-sided design. Detail returns front only.
productRefsWhich of your requested products the design applies to, by product key.
foilPer product: pressed (ships with foil or requires it), available (foil can be added) or none.
defaultSelectionsPer product: the design's own shapes, foil_pressed_designs and foil_pressed_foil_color.
themes[]The design's colorways: id, name, a full-size and a small artwork image (previewUrl, smallUrl), and a swatch as hex and rgb.
actions.detailThe detail route for this design, with products already set. Its url is a path starting with /api: join it to the host, not the base.
photoCount, photoCountsWith expand=photos: the most photos the design holds, and the range as min and max, for a label such as "1-5 Photos".
updatedAtWith expand=meta.
faces[]With expand=layouts: each face's layouts, each with name, photoCount and one artwork image in the design's own colorway.

The response's products has one entry per product key: ref, name, format (flat, folded or null), aspect, size (width, height, bleed and resolution, used for the canvas) and shapes[], every shape the product defines, each with id, name and svgPath.

GET /v1/catalog/designs/{id}

Reads one design. It takes products (required), themes (colorway names, comma-separated, to narrow the colorways and their images) and expand, any of faces, photos, meta and selections. The list's filters aren't accepted here. A design that doesn't exist or isn't published returns 404.

It returns the list's names, familyId, formats, baseImages and productRefs, plus:

  • themes[]: every colorway, with id, name, isBase, swatch and foilColor. foilColor is the suite's choice for that colorway and may not be offered on your product, so take foil colors from foilColors.
  • tags: every tag on the design that the list accepts.
  • faces[], with expand=faces: each face (Front, Back, or another name), with every layout's name, photoCount and previews[], one artwork image per colorway (color, url, smallUrl). A layout is one photo arrangement; one is picked per face in the editor.

Example: GET /v1/catalog/designs/Z7q598rP88YARGYQJ?products=5x7-horizontal-flat-card&expand=faces,selections (trimmed)

1
2
3
curl "https://apis-stage.whcc.com/api/v1/catalog/designs/Z7q598rP88YARGYQJ?products=5x7-horizontal-flat-card&expand=faces,selections" \
	-H "Authorization: Bearer <YOUR_API_KEY>" \
	-H "WHCC-API-Version: 2026-10"

Example response (trimmed)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
	"id": "Z7q598rP88YARGYQJ",
	"primaryDisplayName": "Joy Border",
	"secondaryDisplayName": null,
	"familyId": "YyZC47vZ7RzhKmFAX",
	"formats": ["flat", "folded"],
	"baseImages": {
		"front": {
			"previewUrl": "https://designs.dragdrop.design/previews/Z7q598rP88YARGYQJ/10000/layout_1_sherwood%20forest_UJZHV.jpg",
			"smallUrl": "https://designs.dragdrop.design/previews/Z7q598rP88YARGYQJ/10000/layout_1_sherwood%20forest_UJZHV_small.jpg"
		}
	},
	"themes": [
		{ "id": "iNKi86duDPG2B69ZQ", "name": "sherwood forest", "isBase": true, "swatch": { "hex": "#052f21", "rgb": [5, 47, 33] }, "foilColor": null },
		{ "…": "9 more colorways" }
	],
	"tags": ["new", "holiday", "minimal", "modern", "popular"],
	"productRefs": ["5x7-horizontal-flat-card"],
	"faces": [
		{
			"name": "Front",
			"nodeId": 10000,
			"layouts": [
				{
					"name": "layout_1",
					"photoCount": 1,
					"previews": [
						{
							"color": "sherwood forest",
							"url": "https://designs.dragdrop.design/previews/Z7q598rP88YARGYQJ/10000/layout_1_sherwood%20forest_UJZHV.jpg",
							"smallUrl": "https://designs.dragdrop.design/previews/Z7q598rP88YARGYQJ/10000/layout_1_sherwood%20forest_UJZHV_small.jpg"
						},
						{ "…": "one per colorway" }
					]
				},
				{ "name": "layout_2", "photoCount": 2, "…": "…" }
			]
		},
		{ "name": "Back", "nodeId": 10001, "layouts": [ { "…": "8 layouts" } ] }
	],
	"products": {
		"5x7-horizontal-flat-card": {
			"ref": "5x7-horizontal-flat-card",
			"name": "5x7 Flat Card Horizontal",
			"format": "flat",
			"aspect": "landscape",
			"size": { "width": 7, "height": 5, "bleed": 0.25, "resolution": 300 },
			"shapes": [
				{ "id": "no", "name": "none", "svgPath": "M37.5,1537.5l0-1500l2100,0v1500H37.5z" },
				{ "…": "5 more shapes: a2, b2, c13, c14, e16" }
			],
			"foils": [
				{
					"id": "glittered",
					"name": "Glittered",
					"overlayUrl": "https://cdn.dragdrop.design/foils/glittered-7x5.png",
					"designUrls": [
						"https://cdn.dragdrop.design/foils/glittered-7x5-medium.png",
						"https://cdn.dragdrop.design/foils/glittered-7x5-small.png",
						"https://cdn.dragdrop.design/foils/glittered-7x5-thumb.png"
					]
				},
				{ "…": "2 more foils" }
			],
			"foilColors": [
				{
					"id": "gold",
					"name": "gold",
					"overlayColors": ["181,140,61", "217,184,112", "255,250,217"],
					"textureUrl": "https://cdn.dragdrop.design/editor/imgs/foil-texture.jpg"
				},
				{ "…": "9 more foil colors" }
			],
			"slipInCutStyles": [],
			"defaultSelections": {
				"shapes": "e16",
				"foil_pressed_designs": "no",
				"foil_pressed_foil_color": "silver",
				"printed_envelopes_style": "joyful_classic",
				"slip_in_cut_style": null
			},
			"foilRequired": false,
			"selections": {
				"paper_types": {
					"id": "paper_types",
					"name": "paper",
					"options": [
						{ "id": "smooth_matte_cover", "name": "smooth matte" },
						{ "…": "8 more papers" }
					],
					"default": "smooth_matte_cover"
				},
				"envelopes": {
					"id": "envelopes",
					"name": "envelope style",
					"options": [
						{ "id": "5x7_white", "name": "white" },
						{ "id": "no", "name": "none" },
						{ "…": "9 more envelopes" }
					],
					"default": "5x7_white"
				},
				"…": "gloss_coating, printed_envelopes, printed_envelopes_style, printed_envelopes_font, the address groups and triple_thick_matte_inserts"
			}
		}
	}
}

Each entry in products has the list's envelope fields and what this design offers on that product:

Field What it is
shapes[]The shapes this design offers: id (send it as shapes), name and svgPath. no is the plain rectangle.
foils[]The foil designs it offers: id (send it as foil_pressed_designs), name, overlayUrl (the full-canvas mask) and designUrls (smaller renders for a picker, largest first). A foil that's turned off isn't listed.
foilColors[]The foil colors: id (send it as foil_pressed_foil_color), name, overlayColors (r,g,b stops for tinting) and textureUrl (the grain). Empty whenever foils is empty: a foil needs both.
slipInCutStyles[]The slip-in cut styles: no, or corner or curve for a clip.
defaultSelectionsThe design's own shapes, foil_pressed_designs, foil_pressed_foil_color, printed_envelopes_style and slip_in_cut_style. Every key is present.
foilRequiredtrue when the design doesn't allow "no foil": don't offer it, and send one of foils[].id.
selectionsWith expand=selections: the card's other option groups, such as paper, envelopes and insert colors, keyed by field name. Each has id, name, the options this design offers and the design's default.

A flat design listed under a folded card offers only the plain rectangle and no foil there. A product the design doesn't apply to returns empty lists.

Build your own grid

The design catalog gives you everything you need to draw a design grid and a design page: artwork images, shape outlines, foil masks and foil colors. The API returns the parts, and you put them together. Here's how.

The canvas

Shape outlines, foil masks and artwork images all share one pixel canvas. The API doesn't state it, so work it out from the product's size:

  • Width is (size.width + size.bleed) Γ— size.resolution.
  • Height is (size.height + size.bleed) Γ— size.resolution.

For a vertical 5x7 card, size is { "width": 5, "height": 7, "bleed": 0.25, "resolution": 300 }, so the canvas is (5 + 0.25) Γ— 300 = 1575 by (7 + 0.25) Γ— 300 = 2175 pixels. Use it as the SVG viewBox: 0 0 1575 2175. A horizontal 5x7 card reports width: 7 and height: 5, so its canvas is 2175 by 1575. When bleed or resolution is null, the product has no geometry: show its artwork images without shapes or foil.

width Γ— height is the cut size, the size of the finished card. bleed is the total added to each dimension, so 0.125 inches on every edge, and it's trimmed off when the card is cut. The plain rectangle shape, no, is that cut line, inset 37.5 pixels from each edge: on the horizontal card its path is M37.5,1537.5l0-1500l2100,0v1500H37.5z, a 2100 Γ— 1500 rectangle.

Draw the layers

Draw each card in this order:

  1. Artwork. Stretch the artwork image over the whole canvas, such as the row's baseImages.front.smallUrl, a colorway's smallUrl, or a layout's image from detail. The images include the bleed.
  2. Foil, on the front face only. Use the foil's overlayUrl, a full-canvas PNG, as an alpha mask over the foil color: take the color's textureUrl grain, turn it gray, and map it through the overlayColors stops. Draw foil only when there's both a foil and a foil color, and the color has stops. The back never has foil.
  3. Shape. Clip the artwork and the foil to the chosen shape's svgPath. Clip with the plain rectangle, no, too, or the card shows its bleed.
  4. Cut line, optional. Draw the same path as a dashed outline on the design page, so it's clear where the item is cut.

Here it is as an SVG for a vertical 5x7 card in gold foil. Each overlayColors stop, such as 181,140,61, becomes one value in the three tableValues lists: divide red, green and blue by 255.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1575 2175">
  <defs>
    <clipPath id="shape"><path d="M1537.5,2137.5H37.5V37.5h1500V2137.5z"/></clipPath>
    <mask id="foil-mask" style="mask-type:alpha">
      <image href="https://cdn.dragdrop.design/foils/shimmer-5x7.png" width="1575" height="2175"/>
    </mask>
    <filter id="gold" color-interpolation-filters="sRGB">
      <feColorMatrix type="saturate" values="0"/>
      <feComponentTransfer>
        <feFuncR type="table" tableValues="0.710 0.851 1.000"/>
        <feFuncG type="table" tableValues="0.549 0.722 0.980"/>
        <feFuncB type="table" tableValues="0.239 0.439 0.851"/>
      </feComponentTransfer>
    </filter>
  </defs>
  <g clip-path="url(#shape)">
    <image href="ARTWORK_IMAGE_URL" width="1575" height="2175" preserveAspectRatio="none"/>
    <image href="https://cdn.dragdrop.design/editor/imgs/foil-texture.jpg" width="1575" height="2175"
           preserveAspectRatio="none" filter="url(#gold)" mask="url(#foil-mask)"/>
  </g>
  <path d="M1537.5,2137.5H37.5V37.5h1500V2137.5z" fill="none" stroke="#666" stroke-width="4" stroke-dasharray="16 12"/>
</svg>

Grid tiles

On a grid tile, draw the artwork clipped to the design's default shape, without foil. The list gives you both: the shape id is in the row's defaultSelections, and its svgPath is in the response's products. Foil masks are only on detail, so draw foil on the design page, and use the row's foil state for a "Foil-pressed" badge on the tile.

Start from the design's defaults

A design opens in the editor with its own defaultSelections: its shape, foil and foil color, and its printed-envelope and slip-in styles. Show them on your tiles and design page. You don't have to send them to create, because the editor applies them. Send the ones that were changed on your design page, and if you want the create response's price to include the design's own choices, send its non-null values unchanged. They're snake_case because they're the selection field names create takes. foil_pressed_designs: "no" (none on some products) is a real "no foil" choice, not a missing value, and null means the product doesn't offer that field or the design sets no default for it. When a shape or foil is changed on your design page, offer only what the design's detail lists for that product, and if the design's foilRequired is true, don't offer "no foil".

Create has no colorway field. The colorway is picked in the editor. On your design page, show themes[] as the colorways the editor offers.

Sizes to show

Show the cut size: a 5x7 card is 5 Γ— 7 inches when it arrives. The bleed is the strip trimmed off when the card is cut, so don't show the larger print size. A die-cut shape is cut inside the same rectangle.

Read the catalog live

Don't keep your own copy of designs. Read the catalog when the page loads, because foils and availability change: a seasonal foil can be turned off, and a design can be withdrawn.

If something goes wrong

The design routes return the same error shapes as every other route; Errors & Rate Limits has them all. These are the ones you're most likely to meet:

When What WHCC returns What to do
Design list with an unknown tag400 with tagsUrl, and suggestedTag when one is closePick a tag from the tags route.
Design list with an old or changed cursor400, or 410 once it's expiredStart again from the first page.
A design route returns 403Problem Details with "Insufficient scope"Your key can't reach the design catalog. Email integrations@whcc.com.
Back to Top πŸ‘†