Try out our library – right here in your browser

Send short text messages from sipgate.io

Use our Node.js Library to send sms in realtime.
Realize it with only a few lines of code.
// Simply fill in the underlined fields with your data
import { createSMSModule, sipgateIO } from 'sipgateio';
              
const tokenId = '';
const token = '';
              
const client = sipgateIO({ tokenId, token });

const to = '';
const smsExtension = '';
const message = '';

const shortMessage = {
  message,
  to,
  smsId: smsExtension,
};
const sms = createSMSModule(client);

sms
  .send(shortMessage)
  .then(() => { console.log('Sms sent.') })
  .catch(console.error);