RapidAPI logo

Sign Up

Log In

EmailLabs

FREE
By dimashirokov
Updated 3 months ago
Email
-/10
Popularity Score
-
Latency
-
Success Rate

EmailLabs API Documentation

Make and send emails with this cloud-based SMTP email API.

View API Details
POSTaddEmailTemplate
POSTaddSingleAddressIntoBlacklist
POSTcheckEmailTemporary
POSTcheckSingleBlacklistedAddress
POSTdeleteSingleAddressFromBlacklist
POSTgetAggregatedData
POSTgetAggregatedDataTags
POSTgetAllBlacklistingReasons
POSTgetAllClicks
POSTgetAllEmailsSendBySMTP
POSTgetBlacklistedAddresses
POSTgetOpenedEmails
POSTgetSendEmailsByEvent
POSTgetSmtpAccounts
POSTsendMail
POSTsendMailTemplate
POSTaddEmailTemplate

This function lets you add a message template.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
appKeyCREDENTIALS
REQUIREDApp Key obtained from EmailLabs.
secretKeyCREDENTIALS
REQUIREDSecret Key obtained from EmailLabs.
Optional Parameters
htmlSTRING
OPTIONALHTML Message in HTML format. `html` of `text` is required.
textSTRING
OPTIONALMessage in text format. `html` of `text` is required.
Request Snippet
unirest.post("https://EmailLabsdimashirokovV1.p.rapidapi.com/addEmailTemplate")
.header("X-RapidAPI-Host", "EmailLabsdimashirokovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

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://EmailLabsdimashirokovV1.p.rapidapi.com/addEmailTemplate")
.header("X-RapidAPI-Host", "EmailLabsdimashirokovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication