Documentation
Authentication
Learn how to authenticate your API requests with Insurlink Hub.
API Keys
All API requests require authentication using an API key. Include your API key in the Authorization header of every request.
curl https://api.insurlink.com/v1/organizations \
-H "Authorization: Bearer YOUR_SECRET_KEY"bash
Getting Your API Key
1. Log in to your Insurlink Hub dashboard
2. Navigate to Settings → API Keys
3. Create a new API key or use an existing one
4. Copy your secret key (it will only be shown once)
Test vs Live Keys
Test Keys: Start with sk_test_
Live Keys: Start with sk_live_
Use test keys for development and testing. Switch to live keys when you're ready for production.
Security Best Practices
- Never commit API keys to version control
- Store keys in environment variables
- Use different keys for different environments
- Rotate keys regularly
- Revoke compromised keys immediately