Skip to main content

Node.js SDK

Installation

npm install vetrol

Usage

const vetrol = require('vetrol');

const client = new vetrol.Client(
process.env.VETROL_ACCOUNT_SID,
process.env.VETROL_AUTH_TOKEN
);

const message = await client.messages.create({
to: '+1234567890',
from: '+0987654321',
body: 'Hello from Vetrol!',
});

Source: GitHub