API reference

Reference

Every endpoint in the public API, grouped by resource. Request and response shapes are generated directly from the Zod contract at build time — if it compiles here, it's what the API returns.

Base URLs are published in the OpenAPI servers list and in /.well-known/tyxter.json. Auth: authorization: Bearer $TYXTER_API_KEY or tx_live_....

The canonical API origin is https://api.tyxter.com. The primary site also accepts /v1/* requests for agents that start from https://tyxter.com, but generated clients should prefer the first OpenAPI server URL.

Machine-readable schema: /openapi.json.

API discovery

GET/v1

This unauthenticated route returns the same JSON discovery document as /.well-known/tyxter.json. Use it when an agent starts from the conventional version root and needs the OpenAPI, documentation, MCP, and CLI links.

Response

FieldTypeNotes
objectrequired"tyxter.discovery"
versionrequired"1"
namerequired"Tyxter Messaging"
api_base_urlrequiredstring
dashboard_base_urlrequiredstring
docs_base_urlrequiredstring
capabilitiesrequiredobject[]
resourcesrequiredobject

CORS: server-side only

The public /v1/* API intentionally serves no CORS headers. Tyxter is built for servers and CLI agents — API keys are credentials and must never be embedded in browser code, so cross-origin browser calls are not supported by design. If you are building a browser app, call your own backend and let it hold the key and forward requests to Tyxter. A CORS preflight failure against api.tyxter.com is this posture, not an outage.