smsapi

Official client for sending SMS and account management on SMSAPI

Usage no npm install needed!

<script type="module">
  import smsapi from 'https://cdn.skypack.dev/smsapi';
</script>

README

SMSAPI JavaScript (node.js) Client

Installation

npm install smsapi --save

Example

import { SMSAPI, MessageResponse } from 'smsapi';

const smsapi = new SMSAPI('oAuthToken');

const response = async (): Promise<MessageResponse> => {
  return await smsapi.sms.sendSms('+48605xxxxxx', 'My first message!');
};

Supported modules

  • Contacts
    • Contact fields
    • Contact groups
  • Hlr
  • MMS
  • Profile
  • Sendernames
  • SMS
  • Subusers
  • Templates
  • VMS

Docs & Infos

License

Apache 2.0 License