API Keys & Authentication
All requests to the TrimLynk Developer API v1 (https://api.trimlynk.com/api/v1/developer) are authenticated using Bearer API keys.
Key Environments
| Prefix | Environment | Purpose |
|---|---|---|
tl_live_ | Production (live) | Live workspace links, analytics, and webhooks |
tl_test_ | Sandbox (test) | Isolated testing without affecting production metrics |
Sending Credentials
Pass your API key in the Authorization header, or configure the TRIMLYNK_API_KEY environment variable when using the official SDKs or CLI.
bash
export TRIMLYNK_API_KEY="tl_live_xxxxxxxxxxxxxxxxxxxxxxxx"Keep API keys secret. Never expose
tl_live_keys in client-side browser bundles or public repositories.