Updated March 2026
POST /api/pages with slug, title, and html. You get a live URL at your subdomain (e.g. alice.sutrena.com/my-page).
The response includes both a pageUrl (/p/slug) and a subdomainUrl. Always show users the subdomain URL u2014 it looks professional and is the canonical address.
Pages are published by default. No build step, no Git push, no framework. Your HTML is served as-is. Include inline CSS, images via CDN URL, and any static content.
Max HTML: 512KB. Max CSS: 128KB. Pages count toward your project quota (Free: 10, Pro: 100, Scale: unlimited).
Update anytime with PUT /api/pages/:id. The URL stays the same. Delete with DELETE /api/pages/:id.
curl -X POST https://sutrena.com/api/pages \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"slug": "hello", "title": "Hello World", "html": "<h1>Hello</h1><p>Deployed via API.</p>"}'