Documentation Index
Fetch the complete documentation index at: https://docs.coraltalk.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Authenticate every Platform API request with a Bearer token API key created by an organization admin.API keys
Keys are created in the Coraltalk app:- Sign in at app.coraltalk.com as an organization admin.
- Open API Keys from the organization sidebar.
- Choose Create key and select the environment:
- Test — prefix
ct_test_, use with/api/v1/dev/... - Live — prefix
ct_live_, use with/api/v1/prod/...
- Test — prefix
- Copy the full key immediately. It is shown once and cannot be retrieved later.
Key format
| Part | Example | Notes |
|---|---|---|
| Prefix | ct_live_ or ct_test_ | Identifies environment |
| Secret | random string | Stored hashed server-side |
Environment matching
| Key prefix | Required base path |
|---|---|
ct_test_ | /api/v1/dev/ |
ct_live_ | /api/v1/prod/ |
401 Unauthorized.
Dev vs production data
Resources created via the API are tagged with an environment:- Dev (
/api/v1/dev/) — test data isolated from your live org UI and billing usage. - Prod (
/api/v1/prod/) — live data visible in the Coraltalk app and counted toward usage.
Organization scope
Each API key is bound to a single organization. All created resources belong to that org. Keys cannot access another organization’s data. Independent teachers (accounts without an active organization) cannot create API keys.Revoking keys
From API Keys in the organization sidebar, revoke a key to immediately block further requests. Revoked keys return401 Unauthorized.
Rotate keys by creating a new key, updating your integration, then revoking the old key.
Request logs
Organization admins can view API Logs in the sidebar. Logs include:- Timestamp, HTTP method, path
- Status code and latency
- API key ID (not the secret)
- Environment (
devorprod)