No sign-up, no API key, no SDK. Make an inbox, use the address anywhere, then ask for the code. The last call waits for the email, so you never write a polling loop.
1
Make an inboxPOST /v1/inboxYou get an address and a token.
2
Use the addressemma.carter91@mailware.appSign up anywhere with it.
3
Get the codeGET /v1/inbox/{token}/codeWaits until the email lands.
Try it live
This is the real API.
Press “Make an inbox” to start.
// the response shows up here
Copy & paste
The whole thing, in your language.
# 1. Make an inbox
curl -X POST https://mailware.app/v1/inbox
# → {"address": "emma.carter91@mailware.app", "token": "x7Hq2LxR…", …}
# 2. Sign up somewhere with that address.
# 3. Get the code. This waits up to 60 seconds for the email.
curl "https://mailware.app/v1/inbox/x7Hq2LxR…/code?timeout=60"
# → {"code": "482913", …}
const api = "https://mailware.app/v1";
// 1. Make an inbox
const inbox = await fetch(`${api}/inbox`, { method: "POST" }).then(r => r.json());
console.log(inbox.address); // sign up with this
// 3. Get the code (waits up to 60 seconds)
const { code } = await fetch(`${api}/inbox/${inbox.token}/code?timeout=60`).then(r => r.json());
console.log(code); // "482913"
import requests
api = "https://mailware.app/v1"
# 1. Make an inbox
inbox = requests.post(f"{api}/inbox").json()
print(inbox["address"]) # sign up with this
# 3. Get the code (waits up to 60 seconds)
code = requests.get(f"{api}/inbox/{inbox['token']}/code", params={"timeout": 60}).json()["code"]
print(code) # "482913"
import { test, expect } from "@playwright/test";
const api = "https://mailware.app/v1";
test("sign up with a real inbox", async ({ page }) => {
const inbox = await (await fetch(`${api}/inbox`, { method: "POST" })).json();
await page.goto("https://your-app.example/signup");
await page.fill("input[type=email]", inbox.address);
await page.click("text=Create account");
const { code } = await (await fetch(`${api}/inbox/${inbox.token}/code?timeout=60`)).json();
expect(code).not.toBeNull();
await page.fill("input[name=code]", code);
});
Every endpoint
Ten URLs. You'll use three.
All URLs start with https://mailware.app/v1. Every answer is JSON. The {token} in the URL is the only key — except premium domains, which need an X-API-Key header when you create the inbox.
POST/inboxMake an inbox
Everything is optional. Send options as query parameters or a JSON body.
name
The part before the @. Random if you leave it out. 3–40 letters, numbers, .-_
domain
One of /domains. Defaults to the first one. Premium domains need a valid X-API-Key header.
minutes
How long it lives: 60 (default), 10, 1440 or 10080.
For a premium domain, send X-API-Key: your-key; without a valid key premium domains return 403.
Returns the one-time code from the next email that has one. If none has arrived yet, it waits up to timeout seconds (default 30, max 60). Each code is handed out once, so call it again for the next signup.
A Streamable-HTTP MCP server lives at https://mailware.app/mcp. Point any MCP client at it. Tools: list_domains, create_inbox, wait_for_code, wait_for_link, wait_for_message, get_inbox, burn_inbox. Pass api_key to create_inbox for premium domains.
Good to know
The rules, briefly.
The token is a password. Anyone with it can read the inbox. Don't put it in public logs or URLs you share.
Inboxes burn, addresses remember. After expires_in seconds the inbox is gone, but mail sent to its address is kept for about a day: make a new inbox on the same address and you'll see it. Requests and received mail are logged (no bodies) and kept 30 days.
Waiting is free./code, /link and /next hold the request open until mail arrives (max 60 s). If you get null, just call again.
Works from browsers. CORS is open, so fetch from any page works.
Limits. 20 new inboxes per minute per IP, 12 open waiting requests per IP, 30 emails per minute into one inbox, and 10 MB per email. Over a limit you get 429 with a Retry-After header.
Receive only. Mailware never sends mail out.
Errors
When something's off.
Errors use normal HTTP status codes and always look like this:
{ "error": "not_found", "message": "This inbox has burned, or the token is wrong." }
400
bad_request, invalid, reserved, domain
Something in what you sent isn't allowed. The message says what.
404
not_found
The inbox burned or the token is wrong. Make a new one.