Mogreet

FREE
By mogreetapi
Updated 4 months ago
Communication
-/10
Popularity Score
-
Latency
-
Success Rate

Mogreet API Documentation

SMS, MMS, Transcoding and User Lookup APIs. Quickly and easily add messaging and rich media to your mobile application with the Mogreet Mobile Services Platform.

View API Details
POSTlist.append
GETlist.download
POSTlist.create
GETlist.destroy
POSTlist.prune
POSTlist.empty
POSTlist.send
GETmedia.get
GETmedia.list
POSTmedia.upload
GETsystem.ping
POSTtransaction.send
GETuser.lookup
POSTlist.append

Add numbers to your list.

Authorization:

simple id + token authentication

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
list_idSTRING
REQUIREDId of the list to update.
numbersSTRING
REQUIREDList of phone numbers to append.
client_idQUERY
REQUIREDclient_id is your account id
tokenQUERY
REQUIREDyour secret API token
Optional Parameters
formatSTRING
OPTIONALspecify response format (xml by default)
Code Snippet
unirest.post("https://mogreetapi.p.rapidapi.com/cm/list.append")
.header("X-RapidAPI-Host", "mogreetapi.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("format=json")
.send("list_id=12332")
.send("numbers=3104323098,3104323093,3104324098")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://mogreetapi.p.rapidapi.com/cm/list.append
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://mogreetapi.p.rapidapi.com/cm/list.append")
.header("X-RapidAPI-Host", "mogreetapi.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("format=json")
.send("list_id=12332")
.send("numbers=3104323098,3104323093,3104324098")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication