API Reference V1
Authentication
Learn how to authenticate your API requests
All API endpoints require authentication using Bearer tokens in the Authorization header:
API key used for authenticating requests to the API. This key must be included in the header of each request.
Workspace identifier for the API.
Must be set to application/json
.
Obtaining API Keys
Generate an API key under the ‘Settings’ tab for your API credentials. Each API key has specific permissions and limits associated with it.
Get your API key from Trillet Settings Dashboard
Security Best Practices
- Keep your API keys secure and never expose them in client-side code
- Rotate your API keys periodically
- Use different API keys for development and production environments
- Monitor your API key usage for any suspicious activity