Trellis uses workspace API keys to authenticate trusted server-side integrations and MCP clients. Send the key as a Bearer token in theDocumentation Index
Fetch the complete documentation index at: https://docs.trellistech.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header.
Obtain an API key
- Log in to the Trellis Dashboard.
- Open the workspace where the integration should operate.
- Go to Settings > Developer and open the Developer / API section.
- In API Keys, click Create Key.
- Give the key a clear name, such as “Operations MCP” or “Reporting worker”.
- Copy the key immediately and store it in your server-side secret manager.
Key scope
Each API key belongs to one workspace. Trellis rejects cross-workspace requests, even if the same user belongs to multiple workspaces.| Scope | Behavior |
|---|---|
| Workspace | The key can only access the workspace where it was created |
| Server-side only | Do not expose the key in browser or mobile client code |
| Revocable | Revoked keys stop working immediately |
Security best practices
- Store keys in environment variables or a secret manager.
- Never commit a key to source control.
- Rotate keys periodically.
- Create separate keys for separate systems so you can revoke one integration without disrupting others.
- Use explicit user confirmation before any connected client creates tasks, updates records, or sends messages.
Revoking a key
- Go to Settings > Developer and open the Developer / API section.
- Find the key you want to revoke.
- Click Revoke.
- Confirm the action.
401 Unauthorized.