Getting Your API Key
To send notifications, you’ll need to authenticate as an application using your API key. If you don’t have your key yet, please open a ticket in our discord channel.Using Your API Key
Include your API key in thex-dialect-api-key
header for all server-side requests:
Error Handling
Common Authentication Errors
401 Unauthorized: Invalid or missing API keyError Handling Example
Best Practices
💡 Security:- Store API keys securely (environment variables, secrets management)
- Never expose API keys in client-side code
- Use HTTPS for all API communication
- Always check response status codes
- Implement proper retry logic for transient failures
- Log authentication errors for debugging
- Respect API rate limits to avoid being blocked
- Implement exponential backoff for retries