---
title: "Get Shared Doc Preview"
method: GET
path: "/api/doc/{slug}/preview.png"
---

# Get Shared Doc Preview

`GET /api/doc/{slug}/preview.png`

## Request

- Base URL: `https://api.drillflow.de` (the document declares no server; this is the origin it was published from)
- URL: `https://api.drillflow.de/api/doc/{slug}/preview.png`
- Auth: none declared

The share's picture (B31b) — for mail, READMEs and wikis that refuse an
iframe. A snapshot: it shows the diagram as it was when the link was made,
and nothing can change it afterwards, which is what makes it cacheable
forever.

## Path parameters

- `slug` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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