Demo Publish (No Auth)
Publish markdown instantly without creating an account. Documents expire after 72 hours.
Demo Publish (No Auth)
The demo publish endpoint lets you create a live web page from markdown without signing up or providing an API key. Pages expire after 72 hours.
How it works
- Send a POST request to
/v1/demo/publishwith your markdown content - Get back a public URL and a claim token
- The page is live immediately
- After 72 hours, the page expires and is removed
- To keep it permanently, claim it with your API key before it expires
Publish a demo page
curl -X POST https://api.unmarkdown.com/v1/demo/publish \
-H "Content-Type: application/json" \
-d '{
"title": "Quick Demo",
"content": "# Hello World\n\nThis page was published without an account.",
"template_id": "github"
}'
const response = await fetch(
"https://api.unmarkdown.com/v1/demo/publish",
{
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
title: "Quick Demo",
content: "# Hello World\n\nThis page was published without an account.",
template_id: "github",
}),
}
);
const data = await response.json();
console.log(data.url); // https://unmarkdown.com/p/abc123
console.log(data.claim_token); // save this to claim the document later
import requests
response = requests.post(
"https://api.unmarkdown.com/v1/demo/publish",
json={
"title": "Quick Demo",
"content": "# Hello World\n\nThis page was published without an account.",
"template_id": "github",
},
)
data = response.json()
print(data["url"]) # https://unmarkdown.com/p/abc123
print(data["claim_token"]) # save this to claim the document later
Response
{
"url": "https://unmarkdown.com/p/550e8400-e29b-41d4-a716-446655440000",
"claim_token": "a1b2c3d4-5678-9abc-def0-123456789abc",
"expires_at": "2026-02-18T12:00:00.000Z",
"template_id": "github",
"id": "550e8400-e29b-41d4-a716-446655440000"
}
TIP
Save the claim_token if you might want to keep the document. You will need it to claim ownership later.
Use cases
- LLM agents. Give your AI the ability to publish formatted output without managing API keys.
- Quick sharing. Turn markdown into a shareable link with zero setup.
- Try before signing up. Evaluate the rendering quality before creating an account.
- CI/CD previews. Publish preview pages for pull requests that auto-expire.
Limitations
- Pages expire after 72 hours
- No authentication means no editing or management after publish
- Content limited to 100KB per request
- Demo pages are not indexed by search engines
- No custom slugs (URLs use the document ID)
Next steps
To make a demo document permanent, see Claiming Demo Documents.