Skip to the content.

Spare Mailbox Temp Email API

Spare Mailbox Temp Email API

Disposable inboxes for automated tests, with the verification code already extracted.

Create a random address, point your signup or login flow at it, and read the inbox. Each inbox entry carries the otp code and magicLink found in the message, so a test can read a verification code with one call and no parsing.

Subscribe to the free plan on RapidAPI · Support: terrelllouis056@gmail.com

What you get

Endpoint Returns
/emails/generate A new random address, ready to receive mail at once
/emails/inbox Messages for an address, newest first: id, sender, subject, time, otp and magicLink
/emails/message One message with its text and HTML bodies and attachments
/emails/attachment One attachment’s bytes
/deliverability/test, /deliverability/report A test address and an SPF, DKIM and DMARC report for a sender

Use cases

Quick start

  1. Subscribe to the free Basic plan on RapidAPI (20 requests a month).
  2. Copy your X-RapidAPI-Key.
  3. Create an address:
curl --request GET \
  --url 'https://spare-mailbox-temp-email-api.p.rapidapi.com/emails/generate' \
  --header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY' \
  --header 'X-RapidAPI-Host: spare-mailbox-temp-email-api.p.rapidapi.com'

Tutorials

Support

Questions, bugs or feature requests: terrelllouis056@gmail.com.

Subscribe to the free plan on RapidAPI