Sign Up

Log In

Mailee Client v2

FREE
By mailee
Updated a month ago
Data
8.9/10
Popularity Score
81ms
Latency
97%
Success Rate

Mailee Client v2 API Documentation

API to integrate your app with Mailee.me. You can automatically send email marketing campaigns, track its results and keep your contacts synced.

We are still in beta. If you have any problems or suggestions, please contact us at support@mailee.me

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
messages
POSTCreate message
GETList all messages
GETMessage information
GETMessage sending status
PUTSend or schedule message
PUTSend test for message
GETUpdate message html
GETmessages new
contacts
PUTAdd a contact to a list
GETAll contacts
POSTCreate a contact
PUTRemove a contact from a list
PUTUnsubscribe contact
PUTUpdate contact information
GETView contact
GETcontacts new
transactional_deliveries
POSTSend transactional delivery
GETTransactional Deliveries Bounce
GETTransactional Deliveries Bounces
lists
GETAll lists
POSTCreate a list
DELETEDelete a list
GETTotal active contacts of a list
PUTUpdate list information
GETView list
GETList's contacts
templates
POSTCreate new template
DELETEDelete template
GETGet template html
GETList all templates
GETTemplate information
PUTUpdate template information
PUTGenerate template thumbnail
reports
GETClicks of a message
GETMessage reports
GETUnsubscribes of a message
GETViews of a message
client
GETMe
GETValid key
POSTCreate message

You should use this method to start the creation of a message

Authorization:

description

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
from_nameSTRING
REQUIRED
titleSTRING
REQUIREDThe title of the message, to be used inside Mailee.
subjectSTRING
REQUIREDThis will be the subject of the email
from_emailSTRING
REQUIRED
template_idSTRING
REQUIREDTo use a template in this message, inform it's id. If you are using the html parameter, you won't need to specify a template.
list_idsSTRING
REQUIREDIDs of the lists of contacts that should receive the message
api_keyQUERY
REQUIREDis available at config/integrate/rest
subdomainQUERY
REQUIREDsubdomain of the account to access mailee
Optional Parameters
newsletter_idSTRING
OPTIONALTo associate this message to an existing campaign, this should be the id of a campaign
htmlSTRING
OPTIONALIf you want to send the html of the message directly. In this case you don't need to send a template_id.
reply_emailSTRING
OPTIONALIf you want to receive the replies to your message in a different address.
analyticsBOOLEAN
OPTIONALEnable this if Mailee should automatically add Google Analytics tracking parameters in your links.
segment_idSTRING
OPTIONALIn case you want to send to only a segment of the chosen lists you will need to create a segment and inform it's id
Request Snippet
unirest.post("https://mailee.p.rapidapi.com/messages")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("newsletter_id=undefined")
.send("html=undefined")
.send("reply_email=undefined")
.send("analytics=undefined")
.send("segment_id=undefined")
.send("from_name=<required>")
.send("title=<required>")
.send("subject=<required>")
.send("from_email=<required>")
.send("template_id=<required>")
.send("list_ids=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

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://mailee.p.rapidapi.com/messages")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("newsletter_id=undefined")
.send("html=undefined")
.send("reply_email=undefined")
.send("analytics=undefined")
.send("segment_id=undefined")
.send("from_name=<required>")
.send("title=<required>")
.send("subject=<required>")
.send("from_email=<required>")
.send("template_id=<required>")
.send("list_ids=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard