GDPR Compliance

We use cookies to ensure you get the best experience on our website. By continuing, you accept our use of cookies, privacy policy and terms of service.

REST API v1 · JSON · Bearer Auth

Migomail REST API
Full Programmatic Control

Send transactional email, manage subscribers, trigger automation, and query analytics — all through a documented, versioned REST API with official SDKs for 5 languages.

JSON REST APIBearer Token AuthVersioned EndpointsSandbox EnvironmentOfficial SDKs99.9% Uptime SLA
Quick Start

Send Your First Email
in 60 Seconds

Authenticate with your API key, choose a template or pass HTML, and fire the request. One endpoint — any email type.

Transactional email
Bulk campaign send
Subscriber management
Automation trigger
Analytics query
# Send a transactional email curl -X POST \ https://api.migomail.com/v1/email/send \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "to": "user@example.com", "from": "you@yourdomain.com", "subject": "Your order is confirmed", "template_id": "order_confirmation", "variables": { "order_id": "ORD-12345", "customer_name": "Jane Smith", "total": "$149.00" } }' # Response 200 OK { "id": "msg_01j8x4...", "status": "queued", "queued_at": "2025-01-15T09:32:14Z" }
API Reference

Core API Endpoints

POST
/v1/email/send
Send transactional email
Send a single email to one recipient with template or raw HTML.
POST
/v1/email/batch
Batch email send
Send up to 500 personalised emails in one API call with per-recipient variables.
GET
/v1/subscribers
List subscribers
Retrieve subscribers with pagination, filtering, and tag-based queries.
POST
/v1/subscribers
Add subscriber
Add a new contact to a list with custom properties and tags.
PUT
/v1/subscribers/{email}
Update subscriber
Update contact properties, tags, and list membership for an existing contact.
DEL
/v1/subscribers/{email}
Unsubscribe
Add a contact to the global suppression list and remove from all audiences.
POST
/v1/automations/{id}/trigger
Trigger automation
Enrol a specific contact in an automation workflow by workflow ID.
GET
/v1/campaigns/{id}/stats
Campaign stats
Retrieve opens, clicks, bounces, and revenue attribution for a campaign.
Official SDKs
Node.js
Python
PHP
Ruby
Java
Go

All SDKs are available on GitHub and npm/PyPI/Packagist. Full documentation, changelog, and sandbox environment included.

Start Building with the Migomail API
Free API key. Sandbox environment. 99.9% uptime SLA on production.
star-1
star-2
Hero image

“Rackwave Technologies has significantly improved our marketing performance while providing reliable cloud services. We’ve been using their solutions for a while now, and the experience has been seamless, scalable, and results-driven.”

David Larry

Founder & CEO

Have a question or feedback? Fill out the form below, and we'll get back to you as soon as possible.

Sending your message…

Trusted for overall simplicity

Based on 400+ reviews with customer satisfaction on
Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot Trustpilot