Total.js platform
Total.js platform

JavaScript platform for everyone

How to send a SMS from Total.js?

How to send a SMS from Total.js?

  • create an account on Nexmo SMS API (cheap SMS)
  • get key and secret

Edit your application's /config:

Create a definition file e.g. /definitions/sms.js:

Sending SMS from anywhere in the code: