Temp Mail

FREEMIUM
By Privatix
Updated 5 months ago
Tools
9.6/10
Popularity Score
112ms
Latency
100%
Success Rate

Temp Mail API Documentation

Temporary Disposable E-mail fast and easy API - is a service that allows to receive email at a temporary address that self-destructed after a certain time elapses. It is also known by names like: tempmail, 10minutemail, throwaway email, fake-mail or trash-mail.

View API Details
GETGet emails
GETSource message
GETDelete message
GETDomains list
GETGet one message
GETGet message attachments
GETGet emails

Check and get a list of emails for a mailbox

Authorization:

description

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
md5STRING
REQUIREDemail address hash
Code Snippet
unirest.get("https://privatix-temp-mail-v1.p.rapidapi.com/request/mail/id/{md5}/")
.header("X-RapidAPI-Host", "privatix-temp-mail-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://privatix-temp-mail-v1.p.rapidapi.com/request/mail/id/{md5}/
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://privatix-temp-mail-v1.p.rapidapi.com/request/mail/id/{md5}/")
.header("X-RapidAPI-Host", "privatix-temp-mail-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication