---
title: "Upload the design preview"
method: POST
path: "/v3/backoffice/design/{id}/preview"
tags: ["Design"]
---

# Upload the design preview

`POST /v3/backoffice/design/{id}/preview`

## Request

- Base URL: `https://api.rhinoartisan.com`
- URL: `https://api.rhinoartisan.com/v3/backoffice/design/{id}/preview`
- Auth: API key in header `apikey`
- TypeScript: <https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api/docs/v3/backoffice/design/:id/preview/post.ts> (a function with typed inputs; its response is checked against the schema)

Stores the image captured from the viewer as the design's preview and returns the updated design. Replacing a preview deletes the previous file. Works on drafts too.

## Path parameters

- `id` integer, required

## Request body `multipart/form-data`

- object
  - `preview` string, binary
  - `kind` 'main' | 'top' | 'side'

## Response `200`

Preview stored

## Other responses

- `400`: MISSING_PREVIEW | INVALID_KIND
- `404`: DESIGN_NOT_FOUND

## Changes

- **2026-10-15** `598bac108453`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api/changes/v3/backoffice/design/:id/preview/post.md)

---

[API](https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api.md) - [All operations](https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rhinoartisan/apis/rhinoartisan-api/revisions/f0e1d3d69cfb?raw)
