---
title: "Serve the stored PNG of a shared wireframe"
method: GET
path: "/api/share/{token}/{filename}"
tags: ["sharing"]
---

# Serve the stored PNG of a shared wireframe

`GET /api/share/{token}/{filename}`

## Request

- Base URL: `https://voltplan.app`
- URL: `https://voltplan.app/api/share/{token}/{filename}`
- Auth: none declared

Finds the PocketBase `wireframe_states` record whose `share_token` equals `token` and proxies its stored `preview_image` (saved by `POST /api/share/save-png`) without exposing the PocketBase URL. Depends on the wireframe having a share token and a stored preview image.

## Response `200`

The stored PNG.

## Other responses

- `400`: `filename` does not match `voltplan-*.png`.
- `404`: Unknown share token, no stored PNG, or the stored file could not be fetched.
- `500`: PocketBase lookup or file fetch threw.

---

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