T

Togai REST API

REST discovered

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
Togai API token / secret key bearer discovered Get token ↗

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.

Togai short-lived bearer token jwt discovered Get key ↗
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.