T
Togai REST API
Details
- URL
-
https://api.togai.com/ - Spec
- https://raw.githubusercontent.com/TogaiHQ/togai-mintlify-docs/main/openapi.yaml
- Spec (yaml)
- https://github.com/TogaiHQ/togai-mintlify-docs/blob/main/openapi.yaml
- Docs
- https://docs.togai.com/api-reference/getting-started
Authentication
In the Togai web app, open API Tokens via Settings → API Tokens, then click Generate New Token. Copy and store the secret key when it is created; the docs say it can only be retrieved once. Use that secret key as the Bearer token in API requests.
Authorization: Bearer <credential> First create a long-lived API token from API Tokens. Then call Generate short lived bearer token with Authorization: Bearer <long-lived-token>. The API returns a JWT bearer token valid for 24 hours, which the docs recommend for high-throughput event ingestion.