API Keys & Authentication
Create and manage API keys for programmatic integration with Mailaura.
Create API Keys
API keys enable access to the Mailaura REST API. Each key has granular permissions (read, write, send) and can be revoked at any time.
Go to Dashboard → Settings → API Keys.
Click 'Create New API Key'.
Assign a name and select permissions.
Copy the key immediately – it's only shown once.
Authentication
Use the API Key in the X-API-Key header with every request to https://www.mailaura.io/api/v1. For transactional emails, an API Secret is also required.
Security Note
Never store API keys in code. Use environment variables and restrict permissions to the minimum (Principle of Least Privilege).
Rate Limits
API requests are rate-limited by plan: Free 60/minute, Starter 300/minute, Pro 1,000/minute, Business 3,000/minute. Rate limit headers (X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset) are included in every response. API access is available from the Pro plan.