Quick Start

A quick get started guide to integrating Tagget customer engagement messaging features into your business applications.

Get started

Tagget is written in nodeJS, and although it can be used in vanilla JavaScript or any other programming language, all examples in this guide will be written in nodeJS.

Sending a SMS message to a any phone number.

Create an account on Tagget and get your API credentials and replace the details int the code below.

Once you're strong enough, save the world:

var http = require("https");
var options = {
"method": "POST",
"hostname": "api.tagget.io",
"port": null,
"path": "/engage/send_sms",
"headers": {
"content-type": "application/json",
"cache-control": "no-cache"
var req = http.request(options, function (res) {
var chunks = [];
res.on("data", function (chunk) {
res.on("end", function () {
var body = Buffer.concat(chunks);
req.write(JSON.stringify({ id: 'YOUR_ID',
token: 'YOUR_TOKEN',
sender: 'Tagget',
body: 'Hello world',
to: '+195848757465' }));