API Reference
Complete reference for the eml.dev REST API.
Base URL
All API requests should be made to:
https://eml.dev/api/v1
Authentication
Authenticate requests using the Authorization header with your API key:
Authorization: Token YOUR_API_KEY
See Authentication for more details.
Content Type
All requests must include the JSON content type header:
Content-Type: application/json
Errors
The API returns standard HTTP status codes:
| Status | Description |
|---|---|
| 200 | Success |
| 400 | Bad request - invalid parameters |
| 401 | Unauthorized - invalid or missing API key |
| 403 | Forbidden - domain not verified |
| 422 | Validation error - check error message |
| 500 | Server error - contact support |