Skip to main content

Is there an API for sharing markdown?

Yes, markshare provides an API for programmatic markdown sharing.

**Basic usage:**

curl -X POST https://api.markshare.to/v1/publish \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content": "# Hello World", "private": false}'

**Response:**

{
  "url": "https://www.markshare.to/@user/abc123",
  "id": "abc123",
  "expiresAt": null
}

**API features:** - Create public/private shares - Set expiration - Update existing shares - Delete shares - List all shares

Get your API key in dashboard settings.

Try markshare Free

Share markdown as beautiful webpages in 3 seconds.

Get Started

Related Questions