Base URL
Base URL
Authentication
Pass an API key in theAuthorization header from a backend server or terminal. Browser requests carrying Sec-Fetch-Site are rejected with 400.
Request headers
See Authentication for key creation, expiration, and ownership rules.
OpenAPI specification
Generate a typed SDK or import every endpoint into Postman, Insomnia, or your coding agent:Download OpenAPI specification
openapi.yaml · OpenAPI 3.1 contract for client generation and tooling.Identifiers
Every identifier is an opaque string prefixed by resource type. An id your key cannot access always returns404, never 403.
People have unprefixed user ids. Always URL-encode
turn_id in path parameters because a turn_id can contain / or #.
Pagination
Paginated endpoints acceptlimit (1 to 100, default 50) and cursor, and return items alongside next_cursor. Pass next_cursor as cursor to fetch the next page; null marks the final page.
Asynchronous calls (202)
Long-running operations accept work with 202 and complete in the background:
Errors
Every error response uses one envelope:Error response
code, not HTTP status or error text. See Errors for every error code and retry policy.
Rate limits
Responses carryX-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset (Unix timestamp). A 429 response includes Retry-After in seconds; wait at least that duration before retrying. See Limits for every rate window and concurrency cap.