Skip to main content
GET

Authorizations

x-api-key
string
header
required

API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys

Query Parameters

category
string

Keep only one top category: apparel, home-living, accessories, drinkware, signage-advertising, print-paper, packaging, branding.

subcategory
string

Keep only one subcategory, the middle level: t-shirts, mugs, wallpaper, tote-bags.

product_type
string

Keep only one product type, the narrowest level: crewneck-short-sleeve, classic-ceramic-mug, wall-mural, tote-bag.

tags
string

Keep only templates carrying these tags, comma-separated (t-shirt-mockup).

platforms
string

Keep only templates marked for these storefronts or automation tools, comma-separated (etsy, shopify, woocommerce, zapier, make, n8n).

industries
string

Keep only templates marked for these industries, comma-separated.

use_cases
string

Keep only templates marked for these use cases, comma-separated.

Keep only the templates we feature, or only the rest.

Free text matched against a template's title and description, so "coffee mug" or "oversized tee" both work.

page
integer
default:1

Which page of results to return, counting from 1.

Required range: x >= 1
limit
integer
default:20

Templates per page, 1 to 100.

Required range: 1 <= x <= 100
sort_by
enum<string>
default:published_at

Which field the results are ordered by.

Available options:
published_at,
title
sort_order
enum<string>
default:desc

Order: desc (default) or asc.

Available options:
asc,
desc

Response

200 - application/json

Successful Response

A page of templates, counted in both units.

total_templates
integer
required

How many templates match the filters, across every page.

total_mockups
integer
required

How many mockups those templates hold between them, across every page.

page
integer
required

Which page this is, counting from 1.

limit
integer
required

How many templates one page carries.

pages
integer
required

How many pages the filters match.

templates
PublicLibraryTemplate · object[]

The templates on this page.