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

Path Parameters

slug
string
required

The template's slug, as a listing returns it.

Response

200 - application/json

Successful Response

One template read on its own: the same shape, with the long-form copy.

slug
string
required

The template's stable name, used to read it on its own.

title
string
required

Display title of the product scene.

category
string
required

Top category, such as apparel or drinkware.

mockup_count
integer
required

How many mockups this template holds.

description
string | null

One or two sentences about the scene.

subcategory
string | null

Middle level, such as t-shirts.

product_type
string | null

Narrowest level, such as crewneck-short-sleeve.

tags
string[]

Tags the template is filterable by.

Whether the template is one we feature.

mockups
PublicLibraryMockup · object[]

Every mockup of the template, each with the address to render from, so a search answers with what to send next and needs no second call.

long_description
string | null

The scene described at length.

features
string[]

What the scene offers, in short lines.

visual_style
string[]

Style words, such as minimal or lifestyle.

target_audience
string[]

Who the scene is meant for.

compatible_platforms
string[]

Storefronts and tools the scene suits.

industries
string[]

Industries the scene suits.

use_cases
string[]

Uses the scene suits.

seasons
string[]

Seasons the scene suits.

published_at
string<date-time> | null
date-time

When the template was published.