API reference
The authoring API is the server interface used by Story Studio. It saves native story content with the same ownership and revision checks that protect editor changes. It is not permission to modify application code or database schemas.
This reference describes the deployed HTTP authoring and reading interfaces reviewed on December 2, 2026. The development branch can contain newer protocols; do not assume those are available on the hosted service.
Availability
| Capability | Current status |
|---|---|
| Signed-in Studio session | Available |
| List, create, read, and save owned stories | Available |
| Draft playback and reader progress | Available |
| Published reading | Available for eligible editions |
| Story-scoped player credentials | Available for targeted reading |
| Self-service author access tokens | Planned; not available yet |
| Turnkey connection for arbitrary AI editors | Depends on author-token work |
Use https://nonlinearstory.com as the origin for the paths in this reference. Send JSON bodies as Content-Type: application/json. HTTP is documented here first; Studio also has a Socket.IO transport sharing authorization checks.
Start with Authentication, then Read and save stories. Do not send a story-player credential to an authoring endpoint and expect editing access.
Compatibility
Treat the returned document as the contract for the story's server version. Preserve IDs and unrelated fields. Rich page text is structured data, not a plain string. Media delivery can substitute image references for inline bytes. Do not construct a full document from a partial resource response, invent a schema, or import development records into an older hosted protocol.