Try out our library – right here in your browser

// Simply fill in the underlined fields with your data
import { createSMSModule, sipgateIO } from 'sipgateio';
            
const username = '';
const password = '';
            
const client = sipgateIO({ username, password });
            
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);