Developer API

Disposable email, as an API.

Create inboxes programmatically, receive OTP and verification emails, and get a webhook the moment mail arrives. Built for testing signup flows, QA, and automation — no real mailboxes, no cleanup.

No spam. Just one email when your access is approved.

Two calls to a working inbox

Authenticate with your API key, create an inbox, and read delivered mail as JSON. Add a webhook and the inbox pushes each message to your endpoint instead.

  • REST API with API-key auth
  • Webhooks on new mail (no polling)
  • Parsed JSON + raw MIME
  • Custom inbox expiry (6 min – 72 h)
  • No signup friction per inbox
  • Ad-free
# 1. Create a disposable inbox
curl -X POST https://api.tempxzy.net/headless/emails \
  -H "X-API-Key: $FASTTEMPMAIL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lifespanMinutes": 60}'

# → { "id": "aZ3...", "email_address": "abc.12345@tempxzy.net",
#     "expires_at": "...", "readToken": "rd_..." }

# 2. Read what it received
curl https://api.tempxzy.net/headless/emails/$ID \
  -H "Authorization: Bearer $READ_TOKEN"

Built for

OTP & verification testing

Trigger a signup, then read the one-time code straight from the inbox — no shared mailbox, no manual checking.

Signup-flow QA

Spin up a fresh inbox per test run so every registration test starts from a clean, isolated state.

CI / end-to-end tests

Drop disposable inboxes into Playwright, Cypress, or your CI pipeline and assert on real delivered email.

Email automation

Receive mail programmatically and pipe it into n8n, scripts, or your own service via webhooks.

Developer plan from $12/mo

API access, webhooks, and higher limits — ad-free. Team plan adds a custom domain and 30-day retention.

See full pricing

Join the early-access waitlist

The API is rolling out in waves. Add your email and we'll send your key when your spot is approved.

No spam. Just one email when your access is approved.