Documentation Index
Fetch the complete documentation index at: https://api-docs.tiro.ooo/llms.txt
Use this file to discover all available pages before exploring further.
API Keys
The Tiro API uses API keys for authentication. All API requests must include a valid API key in the Authorization header using the Bearer token format.Getting Your API Key
Get your API key from the Tiro Platform dashboard:- Go to platform.tiro.ooo/dashboard/api-keys and sign in
- Click Create New API Key
- Copy your API key and store it securely
API Key Format
Tiro API keys follow this format:abc123.xR7mK9pL2qW4...
| Part | Example | Description |
|---|---|---|
Key ID ({id}) | abc123 | Visible in Platform dashboard. Used to identify which key is making requests. |
Secret ({secret}) | xR7mK9pL2qW4... | Shown only once at creation. The server stores only a hash — it cannot be recovered. |
| Full API Key | abc123.xR7mK9pL2qW4... | The entire string including the dot. This is what you use as the Bearer token. |
Making Authenticated Requests
Include your API key in theAuthorization header of every request:
Authentication Errors
If authentication fails, you’ll receive a401 Unauthorized response. Common reasons include:
- Missing Authorization header
- Malformed key (must be
{id}.{secret}) - Unknown key id
- Inactive, expired, or deleted key
Security Best Practices
Environment Variables
Store API keys securely using environment variables:Additional Security Guidelines
- Rotate keys regularly: Delete unused keys and generate new ones
- Separate keys per environment: Use different keys for development and production
- Monitor usage: Track API key usage and rotate on anomalies
- Never log API keys: Ensure keys don’t appear in application logs
- Use HTTPS only: Always make requests over secure connections