Authorization header. There are no sessions or cookies. Each request is authenticated on its own, so keeping your key secret is essential.
Get your key
Create and manage your API keys in the Kyara dashboard. When you generate a new key, it is shown to you only once, so copy it immediately and store it somewhere secure such as a password manager or a secrets vault. If you ever need to rotate a key, you can regenerate it from the dashboard at any time. Regenerating a key immediately revokes the old one, so update any services using it before you rotate.Send the token
Pass your API key in theAuthorization header as a bearer token on every request. The value must be the string Bearer followed by your key.
apiKey parameter:
Let users bring their own key
If you’re building an application for other people, use the hosted onboarding flow instead of collecting keys manually. Send users to:redirect URL. The key is not appended to the redirect, so the user copies it and pastes it into your app to finish connecting. This keeps your users in control of their own credentials. See the onboarding API reference for full details on the redirect parameter and the flow.
Error reference
If you receive a
401, check that your Authorization header is formatted as Bearer <key> and that the key has not been regenerated or deleted in the dashboard.