Documentation Index
Fetch the complete documentation index at: https://docs.kansato.com/llms.txt
Use this file to discover all available pages before exploring further.
API keys
Create keys in Settings → Developer → API Keys (workspace owners only).| Key kind | Prefix | Use |
|---|---|---|
| Secret | wh_ | Server-side: full SDK and moderation API |
| Publishable | whpk_ | Browser-side hosted report UI, direct report creation, and report reasons (see React SDK) |
API reference
The API reference tab is generated fromopenapi.json. Try it against a running API:
- Server: your API origin (for example
http://localhost:3001). - Authorization:
Bearer+ your secret key (wh_...).
SDK base URL
The Node SDK targets the Whistle SDK mount point by default:https://api.kansato.com/sdk/whistle/v1
Override with baseUrl for local development:
/api/v1/organizations/...; those are documented on the feature pages and in the running server’s OpenAPI/Swagger where exposed.
For browser-side UI integrations, the hosted report form lives on the Whistle web origin and is opened through the React SDK or the plain iframe snippet shown in the dashboard’s developer settings.
Webhooks
In Settings → Developer → Webhooks, register HTTPS endpoints, pick event types, and set a signing secret. Verify deliveries with the Node SDK or manually—see Outbound webhooks.Local OpenAPI UI
With the Whistle server running locally, Swagger UI is typically athttp://localhost:3001/docs (exact path matches your server config).
