GreenArrow Adds Mailgun-Compatible APIs So Senders Can Switch to CloudMTA Without Rewriting Code
GreenArrow documented four Mailgun-compatible APIs for CloudMTA, covering messages, MIME, domains and IP pools, so teams can switch by changing the hostname and API key. Stored templates are not supported.

GreenArrow has documented a Mailgun compatibility layer for GreenArrow CloudMTA, its hosted sending platform. In a feature post dated 24 November 2026, the company says teams can move supported Mailgun API calls to CloudMTA by changing the API hostname and the API key, without rewriting their sending code.
The layer covers four Mailgun-style APIs: message submission, raw MIME messages, sending domains and dedicated IP pools. Each one has its own reference page in the GreenArrow documentation, and each page ends with a list of the points where GreenArrow behaves differently from Mailgun. Those differences matter more than the headline, because the layer refuses what it does not support instead of ignoring it.
Key facts
- Vendor: GreenArrow, maker of the GreenArrow Engine MTA and of the hosted GreenArrow CloudMTA
- Published: 24 November 2026, on the GreenArrow blog, with four API reference pages in the documentation
- APIs covered: Messages (
POST /v3/{domain}/messages), MIME Messages (POST /v3/{domain}/messages.mime), Domains and IP Pools - Authentication: HTTP Basic auth, user name
api, password a GreenArrow API key - Not supported: Mailgun stored templates; unsupported parameters return a 400 error
- Limits: 25 MB request body, 1,000 recipients per request, scheduled delivery up to 7 days ahead
- IP addresses: assigned and managed by GreenArrow; customers cannot pick or move them
What the compatibility layer covers
The Messages API accepts the familiar Mailgun fields: from, to, cc, bcc, subject, text, html, AMP HTML, attachments and inline images, recipient-variables for batch sending, o:tag, custom h: headers and v: variables. Open and click tracking, scheduled delivery with o:deliverytime and routing with o:sending-ip-pool are supported too. A successful call returns a 200 response with a JSON body carrying the message ID and the text "Queued. Thank you.", in the Mailgun style.
The MIME Messages API lets senders submit a message they have already built, with the same o:, h: and v: options. The Domains API creates, lists, verifies and deletes sending domains and returns the DNS records to publish, and the IP Pools API lists and creates dedicated IP pools.
GreenArrow maps the Mailgun concepts onto its own: a Mailgun domain becomes a GreenArrow Sending Domain, and an IP pool becomes a GreenArrow Route. The company says settings made in the CloudMTA web interface show up in the compatible APIs, and the other way round.
The four migration steps
GreenArrow describes the switch in four steps. Point the code at the CloudMTA Mailgun compatibility hostname and replace the Mailgun key with a GreenArrow API key. Add the sending domains, through the Domains API or the web interface; GreenArrow gives three CNAME records, one for open and click tracking and two for DKIM, to publish before verification. Create an IP pool, to which GreenArrow assigns addresses. Then send: existing calls go through GreenArrow.
Where it differs from Mailgun
The layer is strict by design. Parameters that it does not list are refused with a 400 error rather than silently dropped, and the query string is ignored, so every parameter must be in the request body. Mailgun's stored templates are not supported: requests using template or the t: options are refused, so content has to be rendered before sending, or sent as MIME.
Some options are accepted only in one direction. Every message is signed with DKIM, so o:dkim accepts only yes or true; tracking links always use HTTPS; and options such as o:testmode and o:require-tls are accepted only when set to no or false. The from domain must match the sending domain in the request URL. Domains created through the API need only CNAME records, and inbound mail is not part of the API.
The documented limits are 25 MB per request after decompression, 1,000 recipients, 16 KB for all o:, h: and v: values combined, 10 tags per message (extra tags are dropped) and a delivery time no more than 7 days ahead. A 429 response means GreenArrow could not inject the message within 30 seconds because of throttling, and the documentation says to retry after 60 seconds.
Why it matters
An API that copies a competitor's shape lowers the cost of leaving that competitor: an application written against Mailgun's sending endpoints can be tested against another provider by changing two settings. Moves like this are becoming more common as senders weigh pricing, regional delivery incidents and the option of running dedicated infrastructure, and more platforms are taking sending in house, as beehiiv did with its own MTA in November.
The compatibility covers sending, domains and IP pools. Teams that rely on other parts of a Mailgun integration, such as stored templates, should check each API's list of differences before planning a switch, and test their own calls against the compatibility hostname first.
What it means for senders
What changes
Applications that send through Mailgun's message, MIME, domain and IP pool APIs can be pointed at GreenArrow CloudMTA by changing the hostname and API key, within the limits GreenArrow documents.
Who is affected
Developers and email teams on Mailgun who are evaluating another sending provider or dedicated infrastructure, and existing GreenArrow CloudMTA customers who want a Mailgun-style API.
When
GreenArrow published the feature post on 24 November 2026, and the four API reference pages are live in its documentation now.
Action checklist
- List the Mailgun endpoints and parameters your code actually calls before testing a switch.
- Check for stored templates, since template requests are refused; render content before sending or send MIME.
- Read the list of differences at the end of each GreenArrow API page and compare it with your integration.
- Test against the compatibility hostname with a GreenArrow API key and watch for 400 errors on unsupported options.
- Publish the three CNAME records for each sending domain and verify the domain before you send.
- Handle 429 responses with a retry after 60 seconds, as the documentation advises.
Sources
- GreenArrow: Feature Highlight: Migrate from Mailgun to GreenArrow CloudMTA Without Rewriting Your Code, 24 November 2026 (primary source)
- GreenArrow documentation: Mailgun-Compatible Messages API
- GreenArrow documentation: Mailgun-Compatible MIME Messages API
- GreenArrow documentation: Mailgun-Compatible Domains API
- GreenArrow documentation: Mailgun-Compatible IP Pools API
Related on SMTPedia
SMTPedia News follows our editorial standards. Spotted an error? See how we correct it.
Get SMTPedia news first on Google
Add us as a preferred source to see our stories in Top Stories and Discover.
Add as preferred sourceUseful story?
SMTPedia news is free and independent. A coffee helps us keep covering what changes for senders.
Buy SMTPedia a coffeeNewsletter