API Reference
Complete REST API reference for the Nevarmail email management platform.
API Reference
The Nevarmail API provides a unified REST interface for managing email delivery across multiple providers. All endpoints are served over HTTPS and return JSON responses.
Base URL
https://api.nevarmail.comFor local development:
http://localhost:3400Authentication
All API requests require authentication via an API key passed in the Authorization header:
Authorization: Bearer nvm_your_api_key_hereAPI keys are scoped to specific permissions. See the full API reference for details on available scopes and authentication flows.
Resources
- Email -- Send transactional and templated emails
- Scheduling -- Schedule emails for future delivery
- Templates -- Manage email templates with variable substitution
- Providers -- Configure and monitor email service providers
- Senders -- Manage verified sender identities
- Analytics -- Track email delivery, opens, clicks, and bounces
- Inbound Routing -- Configure rules for processing inbound emails
- System -- Health checks and system information
Rate Limiting
API requests are rate-limited per API key. Rate limit headers are included in every response:
X-RateLimit-Limit-- Maximum requests allowed in the windowX-RateLimit-Remaining-- Requests remaining in the current windowX-RateLimit-Reset-- Unix timestamp when the window resets
When rate-limited, the API returns HTTP 429 with a Retry-After header.
Error Handling
All errors return a consistent JSON structure:
{
"error": "Human-readable error message",
"code": "MACHINE_READABLE_CODE"
}Common error codes:
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid API key |
PERMISSION_DENIED | 403 | API key lacks the required scope |
SCOPE_DENIED | 403 | Insufficient API scope for this operation |
RATE_LIMITED | 429 | Too many requests |
NOT_FOUND | 404 | Resource not found |