Overview

The Office Runtime API tracks Office add-in bindings and active sessions on the caller’s data-plane node. Public clients call the Cloud API at https://api.allternit.com; the control plane relays to Allternit API on the default healthy node. Bindings are node-local (in-memory with TTL in the :8013 process) — a request that lands on the wrong node looks like “no binding”. A binding represents a unique Office document; a session represents one active add-in instance attached to a binding.
HTTP 428 means this account has no healthy paired or provisioned node. Office has no ?node= override; it always follows the account default.

Base URL

Local data plane (same machine only):

Authentication

Production requests use a Clerk session JWT on the Cloud API. See Authentication and API Overview.

Data models

OfficeBinding

OfficeRuntimeSession

Endpoints

Bootstrap a document

Creates a binding for the document if one does not exist, creates or updates a session, and returns both plus gateway metadata.

Request body

Example request

Example response

Sync runtime state

Updates an existing binding and session with new document, platform, or runtime state.

Request body

Example response

Same shape as /bootstrap.

List bindings

Returns all non-stale bindings with their active sessions.

Example response

Get a binding

Returns a single binding with active sessions.

Error codes