v1.0 API Engine

Connect your business units programmatically.

MailRivo is built as an API-first platform. Every capability available in our dashboard is exposed via a robust REST interface, allowing you to sync millions of subscribers and trigger global broadcasts with standard HTTP requests.

npm install @mailrivo/sdk
# Push a new subscriber with custom fields
curl-X POST"https://api.mailrivo.io/v1/subscribers"
-H "Authorization: Bearer sk_live_..." \
-d {
  "email": "user@example.com",
  "listId": "uuid-v4-list-id",
  "customFields": { "plan": "Pro" }
}
201 Created
API Protocol v1.0

High-throughput infrastructure for autonomous teams.

ENDPOINTS / SUBSCRIBERS

Subscriber Lifecycle API

Manage recipient profiles programmatically. Our `/v1/subscribers` endpoint supports high-concurrency upserts, allowing you to sync user data from your internal databases without worrying about duplicates or rate ceilings.

CapabilityPUT/POST Upsert
CapabilityCustom Field Mapping
CapabilityStatus Transitions
CapabilityBulk Ingestion
EVENT_WEBHOOKS

Interaction Stream

Receive real-time pulses for every subscriber interaction. Listen for opens, clicks, bounces, and complaint events to keep your local database perfectly synced.

email.bounced500 ERROR
email.opened200 OK
list.unsub200 OK
SHA256 Signing
Auto-Retry logic
Event Grouping
TELEMETRY_API

Insight Retrieval

Fetch delivery telemetry and engagement metrics via API. Integrate MailRivo's raw data directly into your internal BI tools or custom executive dashboards.

"delivery_stats": [
  {"day": "2026-04-12", "sent": 12040 }
]
AUTHORIZATION_FLOW

Hardened Key Infrastructure

Our API utilizes the Bearer Token standard. Keys are strictly scoped and can be rotated instantly through the dashboard. All requests are logged with IP and node-id attribution for full audit compliance.

Security Standard
Bearer
Audit Logging
Active
Latency
12ms
PROJECT_ISOLATION

API-Level Isolation

Maintain strict multi-tenancy. Every request is scoped to your user account and filtered by the provided `projectId`. Your data streams never cross boundaries.

Multi-Tenant
Scoped Keys
BROADCAST_TRIGGER

Programmatic Broadcasts

Initiate mass campaigns via the `/v1/campaigns` endpoint. Create, schedule, and trigger sends programmatically based on your own internal business logic and product cycles.

Reliability Protocol

Infrastructure built for scale.

The MailRivo API is architected for zero-fail deliverability. Every request is processed through our high-concurrency Fastify middleware, backed by a sub-second response layer that keeps your production environment moving.

Hardened Security

Secure headers and Bearer auth protocols as standard.

Low Latency

Optimized PostgreSQL and Redis layers for sub-100ms API responses.

Predictable Payloads

Strict Zod-based validation on every inbound request.

High Throughput

Engineered to handle thousands of concurrent synchronization events.

RESPONSE_MANIFEST
HTTP/1.1 200 OK
{
  "success": true,
  "data": [{ "id": "sub_01", ... }],
  "metadata": { "total": 12040 }
}

Start building on the MailRivo platform.

Generate your production API keys and connect your infrastructure in minutes.