Authentication
FreeAPITools uses API keys for authentication. All requests must include your key.
API Key Authentication
Include your API key in the Authorization header:
curl https://freeapitools.dev/api/collect/verify \ -H "Authorization: Bearer YOUR_API_KEY"
Token Refresh
Tokens expire after 30 days. Refresh them with:
curl -X POST https://freeapitools.dev/api/collect \
-H "Content-Type: application/json" \
-d '{"action": "refresh", "token": "YOUR_CURRENT_TOKEN"}' Error Codes
| Code | Description |
|---|---|
| 401 | Invalid or missing API key |
| 403 | API key doesn't have required permissions |
| 429 | Rate limit exceeded |