API reference
The interactive TelAPI reference is generated from an OpenAPI snapshot exported from TelAPI at a platform release tag and rendered as a self-contained Redoc HTML page hosted at /openapi/telapi.html. When the snapshot is present in this repo, the banner below links to it.
How the export works (at release time)
-
The release manager builds TelAPI from the release tag.
-
A monorepo script exports the OpenAPI document and writes it to a known path.
-
From this docs repo, run:
pnpm openapi:sync --from /path/to/openapi.json --tag 0.9.11The script validates the spec, writes the canonical
static/openapi/telapi.json, an archive copystatic/openapi/telapi-0.9.11.json, and produces a self-contained Redoc HTML view atstatic/openapi/telapi.htmlvia@redocly/cli. -
Commit all three files and run
pnpm buildto confirm the banner above links to the rendered view. -
Open a docs PR with the snapshot bump alongside the version cut.
The export procedure and the surrounding docs-version cut are maintained internally by the docs team and are not part of the public site.
Why this isn't the live /documentation
TelAPI's /documentation route is excellent for the platform you happen to be hitting. It's not stable for versioned docs because:
- It updates the moment the platform updates.
- It isn't searchable or cross-linked with the concept pages in this section.
- It isn't reachable from outside the deployment.
The release-time export makes the same schema reachable, searchable, and pinned to the docs version users selected in the version switcher.
See also
- Authentication · Scopes · Call tokens · Errors
- Version sources — how to confirm what your platform is running.