Authentication
All API requests require a Bearer token in the Authorization header.
Getting an API Key
- Subscribe to ToolBox Pro
- Visit the developer dashboard to generate your key
- Your API key is stored in your browser only - ToolBox never stores it server-side
Using Your Key
Include the key in every request:
curl -X POST https://www.toolbox-kit.com/api/v1/json-format \
-H "Content-Type: application/json" \
-H "Authorization: Bearer tb_your_api_key_here" \
-d '{"json": "{\"name\":\"test\"}"}'
API Key Format
Keys follow the format tb_ followed by 32 hex characters:
tb_550e8400e29b41d4a716446655440000
Security
- Keys are generated client-side using
crypto.randomUUID() - Keys are stored in your browser's localStorage only
- ToolBox never sees or stores your API key on the server
- You can regenerate or revoke your key at any time from the dashboard
Registering for Pro Rate Limits
After generating your key, register it with your Pro subscription to unlock higher rate limits:
curl -X POST https://www.toolbox-kit.com/api/v1/register-key \
-H "Content-Type: application/json" \
-d '{
"apiKey": "tb_your_api_key_here",
"subscriptionId": "YOUR_SUBSCRIPTION_ID",
"provider": "dodo"
}'