Guides
Authentication
Every request to the API carries a bearer token that Taktik issues to you.
Send the token in the Authorization header
Authorization: Bearer <your-token>The header must start with Bearer followed by a space and the token. Requests without it, or with any other scheme, are rejected with 401.
Getting a token
Tokens are issued by our team for now; self-serve API keys aren’t available yet. Tell us about your use case or email contact@taktikware.com.
Each token has an expiry date, set when we issue it. After that date requests fail with 401 and a message ending in Signature has expired; contact us for a new token.
Keep the token on your server
Never ship the token to a browser or mobile app
Anyone who has the token can make requests on your behalf. Keep it in an environment variable or secret manager on your backend, and call the API from there.
If your users record audio in a web or mobile app, send the recording to your own backend and forward it to the API with the token. Our live demo works this way: the browser posts to a server route, and only that route knows the token.
If you think a token has leaked, email contact@taktikware.com straight away.
Authentication errors
| Status | detail | Cause |
|---|---|---|
401 | Missing or invalid Authorization header | No Authorization header, or it doesn’t start with Bearer . |
401 | Invalid token: … | The token is malformed, wasn’t issued by Taktik, or has expired. The text after the colon gives the reason. |
See Errors for every status code.