Temporary Email API
Need disposable inboxes in code? The SecureTempMail API creates inboxes, polls messages, and extracts OTP codes — ideal for automated registration and verification testing in CI.
- Create inboxes via REST
- Poll or webhook messages
- OTP extraction
- Catch-all domains
Inbox
What the API does
With a few endpoints you can create an inbox, fetch its messages, read a full message, and delete it. Each new message can also be pushed to your endpoint via webhook the moment it arrives — no polling required.
It's built for end-to-end testing: spin up an isolated inbox per test run, register a user, then assert on the verification email. Catch-all domains let you encode test IDs into the address for easy correlation.
Get started
Grab an API key on the Developer plan and see the full reference on the API docs page. The contract is small and predictable, with generous rate limits.
How to use the temporary email API
- Get an API key. Sign up for the Developer plan and create an API key.
- Create an inbox. POST /v1/inboxes to get an address and token.
- Poll or subscribe. GET the inbox's messages, or register a webhook for push delivery.
- Read the code. Fetch the message; the verification code is auto-detected.
Temporary Email API — FAQ
Everything you might want to know about disposable email and how we keep you private.
Yes — SecureTempMail offers a REST API and webhooks on the Developer plan to create inboxes and read messages programmatically.
Related tools
From the blog
Stop giving out your real email. Start now — it's free.
Your secure, anonymous, spam-free inbox is already waiting at the top of this page.