N Nightship
Guides / Reference
// reference

HTTP API (OpenAPI)

nightshipd exposes a single HTTP API. The full spec is an OpenAPI document, and every running server serves live, browsable docs.

Live docs on your own server

Every nightshipd serves its own API reference — no separate site to keep in sync:

What’s in it

The API covers channels, builds, tokens, invites, and groups, plus the Tide sync descriptor endpoint (GET /api/tide/sync/{channel}) that hands a client presigned URLs. The desktop app and both CLIs speak this same API — anything they do, you can script.

Auth

Requests carry a bearer token; a server rejects unauthenticated requests with 401 until you present a valid one. Public channels are the exception — their read paths serve token-less followers.

← All guides