Sarv.com

NODEJS

Choose Language

Sarv Transactional Email API Documentation - Node.js

Info! This is Beta version, if you have any problem in using API, please mail us at [email protected]

Requirements

Node 0.8+

NPM

request 2.0+ (install it with npm -g install request)

Getting the Library

Installing from the zip release

Download the latest release

Unpack the zip file

Move the file (sarv.js) somewhere in your project.

Using the Library

Now that you have a copy of the library in your project, you're ready to start using it. All uses of the SarvTES API start by including the library and instantiating the Sarv class.


var sarv = require('./sarv.js');
var sarv_client = new sarv.Sarv('owner_id', 'token', 'SarvTES_APP_DOMAIN');

                    

After that, you're ready to start making calls.

API Call Categories