Getting your API key
1
Open Settings
Navigate to Settings in the ToeBox sidebar.
2
Find your API key
Under the API Keys section, you will see your ToeBox API key. Click Reveal to show the full key, or Copy to copy it to your clipboard.Your API key starts with the prefix
tb_ followed by a unique identifier.Using your API key
Include your API key in theAuthorization header of every request:
Example request
MCP endpoint authentication
The MCP endpoint uses the same API key but passes it as a query parameter:MCP configuration example
Security best practices
- Do not commit keys to version control — Use environment variables instead
- Do not expose keys in client-side code — API calls should be made from your server
- Rotate keys if compromised — Contact support@toebox.ai to regenerate your API key
- Use HTTPS — All ToeBox API endpoints require HTTPS. HTTP requests are rejected.