Who Can Manage Keys
Only Owners can create, view, and delete API keys. Members and Viewers cannot access API key management.Creating an API Key
- Go to Settings > API Keys
- Click Create API Key
- Enter a name (e.g., “Production API”, “Development”)
- Choose sandbox mode and the key’s sending controls. For an assistant, enable Require send approval, select allowed sending lists, and set a daily live-send cap
- Click Create
- Copy the key immediately into your application’s or MCP client’s private credential settings — it won’t be shown again
Key Properties
Enable Require send approval when creating or editing a key to require a person to review each SMS hold in Settings > Send Approvals. The key uses pending sends for single or bulk SMS. Direct SMS/raw SMS, email, OTP, and send-enabling operations are blocked. Email and OTP have no approval workflow; Voice Calls is a separate product. Reads, stop, and unsubscribe remain available. The key API usesrequireSendConfirmation; Who Am I reports api_key.send_policy.require_confirmation. Rotation preserves the setting. Changing it revokes other active, grace-period, and paused credentials in the same rotation family.
Connect an AI assistant
Use a separate sandbox key with confirmation required for initial setup. Follow Connect an AI assistant to configure a verified MCP connection and inspect its account and mode. The assistant holds a proposed SMS; a person reviews it in Settings → Send Approvals before execution. These settings do not establish recipient consent, provision a sender, or guarantee delivery. See the approved-send walkthrough for the complete flow and handling uncertain outcomes.Using API Keys
Include the key in theX-Api-Key header:
Pause and resume
An owner can pause a key in Settings → API Keys. The assistant can pause its own key throughtrackly_pause_key, optionally supplying a reason. Paused credentials stop authenticating and cannot resume themselves.
To resume, an owner reviews the current key state in Trackly and selects Resume. If the key changed after the page was loaded, refresh and review it again. A rotated key keeps its original grace deadline; resuming does not extend it.
Revoking Keys
To revoke (delete) a key:- Go to Settings > API Keys
- Find the key
- Click Delete
- Confirm deletion
Key Rotation
Best practice: Rotate keys periodically.- Create a new key
- Update your systems to use the new key
- Verify the new key works
- Delete the old key
Multiple Keys
Changing an API key’s allowed lists or daily send cap immediately revokes other still-valid keys from the same rotation chain, including keys in a grace window. Move integrations to the key you are editing before changing its send policy. Renaming a key or saving an equivalent policy preserves the existing grace window. Rotated keys share the day’s send usage, so rotation does not reset the allowance. You can have multiple active keys:
This allows:
- Rotating one without affecting others
- Different access for different systems
- Easier tracking of which system uses which key
Discord Linking
API keys are also used to link Discord accounts:Security Best Practices
Never commit keys to git
Never commit keys to git
Use environment variables or secret managers. Add keys to
.gitignore.Use separate keys per environment
Use separate keys per environment
Different keys for dev, staging, production. Easier to rotate and track.
Monitor Last Used
Monitor Last Used
Check the “Last Used” column. If a key hasn’t been used in months, consider revoking.
Rotate after team changes
Rotate after team changes
When team members with key access leave, rotate keys as a precaution.
Troubleshooting
Lost API key
Lost API key
Keys can’t be recovered. Create a new one and update your systems.
Can't create keys
Can't create keys
Only Owners can manage API keys. Ask an Owner for a key or to upgrade your role.
Next Steps
API Reference
Start making API calls
Billing
View usage and costs