Updated March 2026
Sutrena Pages lets you deploy static HTML pages through the API. POST /api/pages with a slug, title, and html body. You get back a public URL.
The slug is the path. If your slug is "about", the page is available at sutrena.com/p/about. If you have a custom subdomain (alice.sutrena.com), the page lives at alice.sutrena.com/about. With a custom domain, it is yourdomain.com/about.
The special slug "index" becomes the root page. alice.sutrena.com/ serves the index page.
To update a page, call PUT /api/pages/:id with the new HTML. To delete, call DELETE /api/pages/:id. List all your pages with GET /api/pages.
You can include inline CSS and JavaScript in the HTML. For external assets like images, CSS files, or JS bundles, upload them through the assets API (POST /api/pages/assets) and reference the CDN URLs in your HTML.
Plan limits: Free gets 10 projects (forms, pages, and dashboards combined). Builder ($9/month) gets 50 projects. Pro ($29/month) gets 200 projects. Scale ($79/month) is unlimited.
This is useful for landing pages, documentation, portfolios, project pages, or any static content you want to deploy without setting up hosting. Combine with a custom subdomain for branded URLs like yourname.sutrena.com/projects, or add a custom domain on Builder+ plans for a fully professional setup.
Pages are public by default. Anyone with the URL can view them. There is no authentication layer for page visitors.
# Deploy a page
curl -X POST https://sutrena.com/api/pages \
-H "Authorization: Bearer st_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"slug": "about",
"title": "About Me",
"html": "<!DOCTYPE html><html><head><title>About</title></head><body><h1>Hello</h1><p>This is my page.</p></body></html>"
}'
# Response:
# {
# "id": "page_abc",
# "slug": "about",
# "url": "https://sutrena.com/p/about",
# ...
# }
# Update the page
curl -X PUT https://sutrena.com/api/pages/page_abc \
-H "Authorization: Bearer st_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"html": "<!DOCTYPE html><html><head><title>About</title></head><body><h1>Updated</h1></body></html>"
}'