
Mailgun API
mailgun.com
Sinch's transactional email API with US and EU regions.
What it does
Mailgun (Sinch) is an email sending, validation and deliverability API. Messages are sent with POST /v3/{domain_name}/messages on api.mailgun.net or api.eu.mailgun.net using HTTP basic auth with the API key.
In its API docs
Pricing
What Mailgun publishes for buying direct, as listed on its own pages.
Buying direct from Mailgun
- Basic10,000 emails/moStarting at $15/mo
- Foundation50,000 emails/mo; free for 1 month$35/mo
Free tier: 100 emails/day. Mailgun pricing, checked Sep 29, 2026
Docs
Mailgun's own pages, linked as published.
- API referencedocumentation.mailgun.com/docs/mailgun/api-reference/api-overview
- OpenAPI specdocumentation.mailgun.com/_spec/docs/mailgun/api-reference/send/mailgun.yaml
- Pricingwww.mailgun.com/pricing
- Status pagestatus.mailgun.com
- Websitemailgun.com
Its OpenAPI document: 258 operations and rate limits
| Method | Path | Summary | Params | Source |
|---|---|---|---|---|
| POST | /v3/{domain_name}/messages | Send an email | 1 | Spec |
| POST | /v3/{domain_name}/messages.mime | Send an email in MIME format | 1 | Spec |
| GET | /v3/domains/{domain_name}/messages/{storage_key} | Retrieve a stored email | 2 | Spec |
| POST | /v3/domains/{domain_name}/messages/{storage_key} | Resend an email | 2 | Spec |
| GET | /v4/domains | Get domains | 7 | Spec |
| POST | /v4/domains | Create a domain | 0 | Spec |
| GET | /v4/domains/{name} | Get domain details | 1 | Spec |
| PUT | /v4/domains/{name} | Update domain | 1 | Spec |
| PUT | /v4/domains/{name}/verify | Verify Domain | 1 | Spec |
| DELETE | /v3/domains/{name} | Delete a domain | 1 | Spec |
| GET | /v3/domains/{domain}/webhooks | Get domain webhooks | 1 | Spec |
| POST | /v3/domains/{domain}/webhooks | Create a domain webhook | 1 | Spec |
| GET | /v3/domains/{domain_name}/webhooks/{webhook_name} | Get domain webhooks by type | 2 | Spec |
| PUT | /v3/domains/{domain_name}/webhooks/{webhook_name} | Update domain webhook | 2 | Spec |
| DELETE | /v3/domains/{domain_name}/webhooks/{webhook_name} | Delete domain webhooks by type | 2 | Spec |
| POST | /v4/domains/{domain}/webhooks | Create domain webhooks (v4) | 1 | Spec |
| PUT | /v4/domains/{domain}/webhooks | Update domain webhooks (v4) | 1 | Spec |
| DELETE | /v4/domains/{domain}/webhooks | Delete domain webhooks (v4) | 2 | Spec |
| GET | /v3/domains/{name}/tracking | Get tracking settings | 1 | Spec |
| PUT | /v3/domains/{name}/tracking/click | Update click tracking settings | 1 | Spec |
| PUT | /v3/domains/{name}/tracking/open | Update open tracking settings | 1 | Spec |
| PUT | /v3/domains/{name}/tracking/unsubscribe | Update unsubscribe tracking settings | 1 | Spec |
| GET | /v1/dkim/keys | List keys for all domains | 0 | Spec |
| POST | /v1/dkim/keys | Create a domain key | 0 | Spec |
| DELETE | /v1/dkim/keys | Delete a domain key | 2 | Spec |
| PUT | /v4/domains/{authority_name}/keys/{selector}/activate | Activate a domain key | 2 | Spec |
| GET | /v4/domains/{authority_name}/keys | List domain keys | 1 | Spec |
| PUT | /v4/domains/{authority_name}/keys/{selector}/deactivate | Deactivate a domain key | 2 | Spec |
| PUT | /v3/domains/{name}/dkim_authority | Update DKIM authority | 1 | Spec |
| PUT | /v3/domains/{name}/dkim_selector | Update a DKIM selector | 1 | Spec |
| GET | /v1/webhooks | List account-level webhooks | 1 | Spec |
| POST | /v1/webhooks | Create an account-level webhook | 0 | Spec |
| DELETE | /v1/webhooks | Delete account-level webhooks | 2 | Spec |
| GET | /v1/webhooks/{webhook_id} | Get account-level webhook by ID | 1 | Spec |
| PUT | /v1/webhooks/{webhook_id} | Update an account-level webhook | 1 | Spec |
| DELETE | /v1/webhooks/{webhook_id} | Delete account-level webhook by ID | 1 | Spec |
| GET | /v3/domains/{name}/sending_queues | Get messages queue status | 1 | Spec |
| PUT | /v1/dkim_management/domains/{name}/rotation | Update Automatic Sender Security DKIM key rotation for a domain | 1 | Spec |
| POST | /v1/dkim_management/domains/{name}/rotate | Rotate Automatic Sender Security DKIM key for a domain | 1 | Spec |
| GET | /v5/accounts/subaccounts/ip_pools/all | List DIPPs delegated to subaccounts | 0 | Spec |
Showing 40 of 258 operations; the full list is in the spec.
Rate limits
| Limit | Scope | Plan | Endpoint | Burst / concurrency |
|---|---|---|---|---|
| 50 / second | account | All | Metrics API | — / — |
GridRouter never paces above these and backs off on 429, honoring Retry-After. Source, checked Sep 30, 2026
Sources for this page (4)
- Mailgun pricingchecked Sep 29, 2026
- Mailgun API authenticationchecked Sep 29, 2026
- Wikidata: Mailgunchecked Sep 29, 2026
- Mailgun API: send an emailchecked Sep 29, 2026