Skip to main content
All ToeBox API endpoints require authentication. ToeBox uses API keys for authentication.

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 the Authorization header of every request:

Example request

MCP endpoint authentication

The MCP endpoint uses the same API key but passes it as a query parameter:
This format is required for compatibility with MCP clients (Claude Desktop, Cursor, etc.) that do not support custom headers.

MCP configuration example

Security best practices

Treat your API key like a password. Anyone with your API key can access your ToeBox agents and data.
  • 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.

Key format