New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
Email API provider · India

Email API provider in India: send over HTTPS, billed in INR

A REST email API for Indian developers and businesses. Send with one request, follow every message with signed webhooks, pay in rupees by UPI and get a GST invoice.

Billed in INR. GST invoices. Pay by UPI.

Request
POST /v1/send
{ "from": "[email protected]",
"subject": "Hello" }
Response
202 Accepted
{ "id": "msg_[id]" }
Idempotency-Key supported
202 Accepted
JSON
Idempotent
Send with a single JSON callAuthenticate with a bearer key, post a small JSON body and get a message id back immediately.
Quickstart
cURL
Node
Python
PHP
Python
import migosmtp
c = migosmtp.Client("KEY")
c.send(to="[email protected]",
template="welcome")
Sent · 202
Typed SDKs
Open source
Official libraries for your stackPick Node, Python, PHP or Go. The same few lines send a message and handle errors the same way everywhere.
API key scopes
Send emailAllowed
Read eventsAllowed
Manage domainsAdmins only
Rate limit[n] req/s
Least privilege
Rotate safely
Keys with exactly the access they needCreate one key per service, limit what each can do, and revoke one without touching the others.
Rate limit
Traffic spike
Queue smooths the spike
Nothing dropped
Backpressure
No data loss
Absorb bursts gracefullyWhen traffic spikes beyond your rate, requests queue and drain rather than fail, so nothing is dropped.
message events
Signed events
/events
200 OK
Data warehouse
200 OK
Alerts
Retry in 30s
HMAC signed
At-least-once
Events return the same wayThe same API surface streams delivered, opened, clicked and bounced events back to your endpoint, signed.
Email the invoice to Priya and confirm delivery
AI agent
MigoSMTP MCPscoped key
send_emailSend a message
get_eventsRead delivery results
check_domainVerify DNS records
Sent · request id logged · delivery confirmed
MCP ready
Scoped and logged
Let AI agents call your APIThe same API is available over MCP, so an agent can send mail, read events and verify DNS. Keys are scoped, calls are logged, and sends can require approval.
One request
SDKs
Scoped keys
Rate limits
Webhooks
Agent API
SMTP relayREST APIWebhooksDedicated IPsDKIM signingInbound parseTemplatesAnalyticsSuppression listsReputation monitoringEmail validationTeam roles and audit logSMTP relayREST APIWebhooksDedicated IPsDKIM signingInbound parseTemplatesAnalyticsSuppression listsReputation monitoringEmail validationTeam roles and audit log
Capabilities

An email API that fits how Indian teams build and buy

REST endpoints

Predictable resources for messages, templates, domains and events.

The REST API gives you predictable resources for messages, templates, domains and events. Resource names and verbs follow common conventions, so a new developer can read the reference and send a first message in a few minutes. Requests and responses are JSON.

  • JSON in, JSON out
  • Consistent resource naming
  • Reference with copy-paste examples

Templates and variables

Send by template name and pass variables per message.

Store content once as a template and send it by name, passing variables for each message. Marketing and product teams can change wording without a code release, and developers keep sending code short and testable.

  • Variables per message
  • Change copy without redeploying
  • Same template across API and SMTP

Idempotency keys

Retry safely without sending duplicates.

Networks fail and clients retry. An idempotency key on the request lets you retry safely: the same key never produces a second email. This removes the most common cause of duplicate password resets and receipts.

  • Safe retries on timeouts
  • No duplicate sends
  • Key supplied by your code

Scoped API keys

Give each service only the permissions it needs.

Create keys per service and give each only the permissions it needs, for example send-only for a web app and read-only for a reporting job. If one key leaks, the blast radius is limited, and you can revoke it without redeploying anything else.

  • Least-privilege permissions
  • Revoke instantly
  • Separate keys per environment

Webhooks

Get signed events for every delivery outcome.

Signed webhooks report every delivery outcome back to your system as it happens, so your database reflects reality instead of assumptions. Verify the signature, update your records, and trigger follow-up logic from real events.

  • Delivered, bounced, complained and more
  • Signature verification
  • Retries if your endpoint is down

Clear errors and limits

Consistent error codes and rate limit headers.

Errors use consistent codes and messages, and rate-limit headers tell your client how much capacity is left. Your code can back off gracefully instead of guessing, and your logs explain failures without a support ticket.

  • Machine-readable error codes
  • Rate-limit headers on responses
  • Messages written for developers

How it works

Your serviceCalls the send endpoint over HTTPS with a scoped API key.
MigoSMTP email APIValidates the request, applies templates and limits, queues the message and returns an ID.
Events back to youSigned webhooks report delivery, bounce and complaint outcomes to your app.
STEP 1

Create an API key

Choose scopes and an optional IP allowlist for the service that will send.

STEP 2

Verify your domain and send

Publish SPF and DKIM, then POST to the send endpoint with a verified sender and recipient.

STEP 3

Listen for events

Register a webhook to follow delivery, bounces and complaints, and keep your own data in step.

See it in action

Email API in action

Each stage plays automatically. Select one to pause on it. Illustrative interface: all figures and addresses shown are sample data.

app.migosmtp.com/apiSample data
Key
Send only
Env
Production
Scope
Messages
Sample activityAuthenticate
requestPOST /v1/messages
authbearer key verified
scopesend permission ok
limitrate headers returned
Status
202
Id
Returned
Idempotency
Key set
Sample activitySend
bodytemplate and variables
responsemessage id returned
retrysame key, no duplicate
queuedaccepted
Delivered
Event
Bounced
Event
Signed
Yes
Sample activityEvents
deliveredevent posted
bouncedevent posted
signatureverified by your app
retrybackoff on 5xx
Templates
12
Domains
3
Keys
5
Sample activityManage
templatewelcome updated
domainverified
keyread-only created
errorclear code on failure
For Indian developers

One request to send, rupees on the invoice

The API is the same as for every MigoSMTP customer. What changes for India is the commercial side: INR plans, GST invoices and UPI.

  • INR plans from ₹799 a month
  • GST invoice every billing period
  • Scoped keys and signed webhooks
  • SMTP relay included on the same account
At a glance01 / 05
Base URLapi.migosmtp.com/v1
AuthenticationBearer API key
FormatJSON over HTTPS
EventsSigned webhooks
ReferenceFull API reference and SDK samples
Overview

What is an email API provider?

An email API provider lets your code send and manage email by calling HTTPS endpoints instead of speaking SMTP. With MigoSMTP you POST a JSON request with a verified sender, a recipient and either content or a template name, and the message is queued for delivery. The response gives you an identifier to track it, and webhooks report what happened next.

The platform handles the parts that decide inbox placement: sending reputation, domain authentication, bounce and complaint handling and suppression lists. Keys are scoped, so a billing service can send receipts without being able to change domains, and every call is logged against the key that made it. For an Indian product team that means less code to write and no mail servers to run.

The commercial side is set up for India as well. Plans are billed in INR from ₹799 a month for 10,000 emails up to ₹26,999 for 500,000, with custom plans above that. You receive a GST invoice each billing period and can pay by UPI. The SMTP relay is on the same account, so you can use the API for new services and SMTP for tools you cannot change.

Use cases

Where Indian teams use an email API

Transactional email from your app

Trigger passcodes, receipts and alerts with a single API call, sending by template name and passing variables so product code stays free of HTML.

Order and delivery updates

Send confirmation, dispatch and delivery emails from your store backend, and update the order record from webhook events when a message bounces.

Fintech and edtech notifications

Send OTPs, statements, fee reminders and class invites with one scoped key per service, so a compromised key is revoked without touching the rest.

Safe retries in job queues

Attach an idempotency key to each send so a retried worker never produces a duplicate email.

SaaS product events

Send invitations, usage alerts and billing notices from one API, with templates owned by the product team and events fed back into your analytics.

Agencies building for clients

Create a domain and key per client, keep their reporting separate and invoice each one cleanly.

Choosing a method

Plans and prices in Indian rupees

Billed in INR with GST invoices and UPI payment. Quarterly billing saves 5 percent, half-yearly saves 10 percent and yearly gives you two months free. Every period you receive a GST invoice, and you can pay by UPI.

Included each monthExtra emails
Starter₹799 a month · 10,000 emails₹85 per extra 1,000 emails
Growth₹5,999 a month · 100,000 emails₹72 per extra 1,000 emails
Scale₹26,999 a month · from 500,000 emails₹55 per extra 1,000 emails
EnterpriseCustom volume and termsTalk to sales

Prices are per month on monthly billing. The INR pricing page always has the current numbers.

AI features

AI-assisted email API

Agent-ready

MCP server for AI agents

Connect an AI assistant to MigoSMTP through an MCP server so it can look up message status or draft sends. Keys carry the scopes you grant, and sends can require human approval.

Copilot

Error triage copilot

Paste an API error or failed request and the copilot explains the cause, such as an unverified sender or a malformed field, and shows a corrected call. You apply the fix yourself.

Assist

AI-drafted integration code

Describe what you want to send and the assistant generates a sample request in your language using our SDK conventions. Review and test it before it reaches production.

Predictive

Spike and abuse detection

Anomaly detection watches send rates per key and flags unusual bursts. It can notify your team or suggest pausing a key, and any automatic action is something you opt into.

AI features are assistive and optional: agents act only within the scopes you grant, and your team stays in control of keys and sends.

Best practices

Best practices for an email API in India

Authenticate before you send

Publish SPF and DKIM and add a DMARC policy. Send transactional mail from its own subdomain, separate from campaigns.

Use idempotency keys

Generate a stable key per logical email, such as the order ID plus the event, so retries never create duplicates.

Scope and rotate keys

Give each service only the permissions it needs, store keys as secrets, and rotate them when people or servers change.

Verify webhook signatures

Check the signature on each event before you trust it, and make your handler safe to run twice.

Respect rate limit headers

Read the limit headers on every response and back off with jitter before you are throttled.

Keep consent records

India's Digital Personal Data Protection Act applies to personal data you hold. Record when and how people agreed and honour opt-outs. This is not legal advice.

FAQs

Email API in India: frequently asked questions

Need a hand with your integration or plan? Our team can review it with you before you go live.

Which email API provider should I use in India?

Choose one that bills in INR, issues GST invoices, accepts UPI and offers webhooks and searchable logs. MigoSMTP includes all of these, with plans from ₹799 a month.

How much does an email API cost in India?

MigoSMTP plans are ₹799 a month for 10,000 emails, ₹5,999 for 100,000 and ₹26,999 for 500,000. Extra emails are ₹85, ₹72 or ₹55 per 1,000 on Starter, Growth and Scale.

How do I send an email with the API?

Create an API key, verify a sender domain, then POST JSON to https://api.migosmtp.com/v1/send with a from address, recipient and either content or a template. Send the key as a Bearer token. The response returns a message ID.

Is there an SMTP option as well?

Yes. Every account includes the SMTP relay at smtp.migosmtp.com, so you can use SMTP for existing tools and the API for new code.

Can I pay by UPI and get a GST invoice?

Yes. You can pay by UPI and you receive a GST invoice each billing period.

How do I know if an email was delivered?

Subscribe a webhook to receive signed delivery, bounce and complaint events, or fetch a message by ID. The dashboard also has searchable logs.

Do I need SPF, DKIM and DMARC?

Yes. Mailbox providers expect all three from senders in volume, and mail without them is more likely to be filtered or rejected.

Can I move from another provider?

Yes. Verify your domain, create a key, send a small share of traffic through MigoSMTP and raise it as your logs look healthy. Talk to us for larger migrations.

From the blog

Latest analysis, trends and market data

Start sending in minutes.

Create an account, add your domain and send your first email.