---
title: "Publish a demo page (no authentication required)"
method: POST
path: "/demo/publish"
---

# Publish a demo page (no authentication required)

`POST /demo/publish`

## Request

- Base URL: `https://api.unmarkdown.com/v1`
- URL: `https://api.unmarkdown.com/v1/demo/publish`
- Auth: none required

Creates a temporary published page without requiring authentication. Pages expire after 72 hours. Use the returned claim_token with POST /demo/claim to permanently save the document to your account. Ideal for LLM agents, quick demos, and try-before-you-sign-up flows.

## Request body

- DemoPublishRequest
  - `content` string, required: Markdown content (max 100KB)
  - `title` string
  - `template_id` string
  - `theme_mode` 'light' | 'dark'

## Response `201`

Demo page published

- DemoPublishResponse
  - `url` string, uri
  - `claim_token` string, uuid
  - `expires_at` string, date-time
  - `template_id` string
  - `id` string, uuid

## Other responses

- `400`: Invalid request
- `500`: Internal server error

---

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