API Keys
All Syncline API requests require authentication using an API key. Your API key identifies your account and tracks usage.Get Your API Key
- Visit syncline.run/developer/login
- Authenticate with Google
- Copy your API key from the developer dashboard
Making Authenticated Requests
Include your API key in theAuthorization header using Bearer authentication:
Environment Variables
Store your API key in an environment variable for security:Calendar Authentication (OAuth)
Before scheduling meetings, users must connect their Google Calendar:User OAuth Flow
-
Direct users to the OAuth endpoint:
- User authenticates with Google and grants calendar permissions
- User is redirected to your success URL with a confirmation
-
Verify calendar connection:
Response
Error Responses
401 Unauthorized
Authorization: Bearer YOUR_API_KEY header.
403 Forbidden
429 Rate Limited
Rate Limits
Rate limits are based on your pricing tier:| Tier | Meetings/Month | Rate Limit |
|---|---|---|
| Developer | 25 | 60 requests/min |
| Starter | 250 | 90 requests/min |
| Pro | 1,000 | 120 requests/min |
| Scale | 5,000 | 300 requests/min |
| Enterprise | Unlimited | Unlimited |
Best Practices
Store Keys Securely
Store Keys Securely
- Use environment variables, not hardcoded values
- Never commit API keys to version control
- Rotate keys if they’re exposed
Handle Errors Gracefully
Handle Errors Gracefully
- Implement retry logic for 5xx errors
- Show user-friendly error messages
- Log errors for debugging
Monitor Usage
Monitor Usage
- Check your usage dashboard regularly
- Set up alerts for approaching limits
- Plan upgrades before hitting limits
Next Steps
Quickstart
Schedule your first meeting
API Reference
Explore all endpoints