HTTP API

The host's typed JSON API, generated from its OpenAPI file.

Every host serves this API under /v1, plus the channel webhooks. The pages are generated from spec/schema/host-api/openapi.json. For authentication, streaming and retries, read the HTTP API guide first.

The examples use http://localhost:8787, the address threads dev serves on.

Edit on GitHub