API

Svitrio exposes two API families: a public delivery API for reading published content, and an authenticated admin API for authoring and configuration.

Base URL & project ref

The base URL is your instance API host, e.g. https://your-workspace-api.svitrio.com. Every path is scoped to a project by its ref (a ULID): /api/p/{ref}/… for delivery, /admin/p/{ref}/… for authoring.

Envelope

Successful responses wrap the payload in { "data": … }. Errors return { "error": { "code", "message" } } with an appropriate HTTP status.

  • Authentication — API keys and how to send them.

  • Delivery API — read published nodes and entries.

  • Admin API — author, publish, snapshot.

  • Webhooks — react to content changes.