This endpoint is perfect for debugging authentication issues and monitoring your API usage.
Authentication
Your API key for authentication. Format:
Bearer your_api_key_here
Response
Whether an error occurred (always false for successful requests)
Success message confirming API key validity
Use Cases
Integration Testing
Use this endpoint in your CI/CD pipeline to verify API key setup:Rate Limit Monitoring
Check your rate limit status before making batch requests:Health Check Endpoint
Use in your application’s health checks:Debugging Authentication Issues
When experiencing authentication problems, this endpoint provides detailed information:Best Practices
Regular Health Checks
Regular Health Checks
- Call this endpoint periodically in production to monitor API key health
- Set up alerts if the endpoint returns unexpected responses
- Include it in your application’s readiness probes
Rate Limit Awareness
Rate Limit Awareness
- Check rate limits before making large batch operations
- Implement backoff strategies when limits are low
- Monitor the
reset_at
timestamp for planning
Environment Validation
Environment Validation
- Test API keys in each environment (dev, staging, prod)
- Verify permissions match expected capabilities
- Ensure account status is active before deployment
Error Handling
Error Handling
- Handle all possible response codes (200, 401, 429)
- Log authentication failures for debugging
- Implement retry logic with exponential backoff
Common Issues
If this endpoint fails, check these common issues:
- Missing Authorization header - Ensure you’re including
Authorization: Bearer your_api_key
- Incorrect header format - Don’t include extra spaces or use wrong prefixes
- Revoked API key - Check your dashboard if the key was revoked
- Network issues - Verify you can reach
api.hitl.sh
- Rate limits - Wait if you’ve exceeded your hourly limit
Next Steps
Create Your First Loop
After verifying your API key, create a loop to start processing requests.
Authentication Guide
Learn more about API key management and security best practices.
Rate Limiting
Understand rate limits and optimize your API usage patterns.
Error Handling
Learn how to handle and debug API errors effectively.