Dev Resources
TempMailo API favicon

TempMailo API

Email, Testing

REST API for temporary receive-only email addresses: create one, then read the mail it gets as JSON. For sign-up and end-to-end tests, with a free tier.

TempMailo API's website screenshot

About TempMailo API

TempMailo API provides temporary, disposable email inboxes for use in code, returning JSON over HTTPS. A free account's API key creates up to 100 new addresses per day, with a limit of 60 requests per minute. Each address is receive-only and lives for either 10 or 60 minutes, after which the mailbox and its messages are deleted. The API supports creating addresses, polling for new messages, retrieving full message content including text, HTML and attachments, and receiving incoming mail via webhook instead of polling.

The API is intended for automated sign-up testing, verifying that a service's own emails (such as confirmations or password resets) are delivered, and providing throwaway inboxes inside another application or bot, as used by the TempMailo Android app. It is not suited for sending email, for mailboxes needed beyond 60 minutes, or for confidential messages, since received mail is stored only until the address expires.

Documentation is available as an OpenAPI 3.1 file and a Postman collection covering all methods, parameters, responses, and the webhook request. Free-tier limits also include one API key per account, up to 100 messages per request, email size up to 15 MB, 1000 webhook events per day, 60 webhook requests per minute, and 20 webhook configuration changes per hour; exceeding limits returns 429 responses with rate-limit headers. The service is free, with higher limits planned as a paid option.

Key features

  • Creates temporary email addresses via API and returns received mail as JSON
  • Configurable address lifetime of 10 or 60 minutes
  • Webhook delivery sends every new email to your server automatically
  • Returns full message content including text, HTML, recipients and attachments
  • Polling support with after parameter to fetch only newer mail
  • OpenAPI 3.1 spec and Postman collection available for client generation

Frequently asked questions

Is there a free tier?

Yes, a free account gives an API key with 100 new addresses per day and 60 requests per minute at no cost.

Can I use this API to send emails?

No, addresses created by the API only receive mail; sending is not available and a transactional email service should be used instead.

What format does the API use and how do I authenticate?

The API returns JSON over HTTPS, with requests authenticated via an X-Api-Key header and mailbox access via a Bearer token returned from the create method.

Who is this API for?

It is for developers who need disposable inboxes for sign-up tests, checking that their app's emails arrive correctly, or offering users a throwaway address inside their own product.

What happens if I exceed the rate or address limits?

Exceeding the daily address limit or per-minute request limit returns a 429 rate_limited response, and the Retry-After header indicates how long to wait.

Ad
Thordata favicon

Thordata

Reliable residential proxies for web scraping and automation: over 100 million real residential IPs across 190+ countries, plus a SERP API, Web Scraper API and Web Unlocker.

Learn more
Ad
SerpApi - Search API favicon

SerpApi - Search API

SerpApi's Search API makes it easy and fast to scrape Google and other search engines.

Learn more

Featured products

  • SerpApi - Search API favicon
  • Thordata favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 9k newsletter subscribers

Advertise your product