Post-Shift

FREE
By Reuleaux
Updated 4 months ago
8.8/10
Popularity Score
935ms
Latency
100%
Success Rate

Post-Shift 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
GETCreate
GETGet list
GETGet mail
GETLive time
GETUpdate time
GETDelete
GETClear mail
GETCreate

Creating a new mailbox with a life of 10 minutes

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
actionSTRING
REQUIRED - CONSTANTRequired parameter responsible for what function you want to perform.
typeSTRING
REQUIRED - CONSTANTRequired parameter for output of result in JSON format.
Code Snippet
unirest.get("https://reuleaux-post-shift-v1.p.rapidapi.com/api.php?action=new&type=json")
.header("X-RapidAPI-Host", "reuleaux-post-shift-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://reuleaux-post-shift-v1.p.rapidapi.com/api.php
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://reuleaux-post-shift-v1.p.rapidapi.com/api.php?action=new&type=json")
.header("X-RapidAPI-Host", "reuleaux-post-shift-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