FapiMail

FREEMIUM
By fapi
Updated 3 months ago
Email
7/10
Popularity Score
2005ms
Latency
97%
Success Rate

FapiMail API Documentation

Simple REST API to send emails

View API Details
POSTSendEmail
POSTSendEmail

to send email

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
Email Parameters JSONJSON_STRING
REQUIREDBody JSON to send when call POST
Code Snippet
unirest.post("https://fapimail.p.rapidapi.com/email/send")
.header("X-RapidAPI-Host", "fapimail.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"recipient":"[email protected]","sender":"[email protected]","subject":"Subject of Email","message":"Body of Email"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://fapimail.p.rapidapi.com/email/send
Request Method: POST
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.post("https://fapimail.p.rapidapi.com/email/send")
.header("X-RapidAPI-Host", "fapimail.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"recipient":"[email protected]","sender":"[email protected]","subject":"Subject of Email","message":"Body of Email"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication