A simple webtask script for sending SMS using the Nexmo SMS API Service
Go to your browser and put in this URL
- https://webtask.it.auth0.com/api/run/wt-prosperotemuyiwa-gmail_com-0/sms?phoneno=xxxxxx&message=xxxxxxx
- Replace phoneno value with a real phone number -
- Replace message value with a real message
- Clone this repository:
git clone [email protected]:unicodeveloper/nexmo-webtask.git nexmo-webtask/
cd
into the nexmo-webtask folder.- Run
npm install
. - Go to https://nexmo.com, register and get your public key and access token.
- Run
wt create sms.js --secret apiKey=xxxxxxxxx --secret apiSecret=xxxxxxxxxxx
. Make sure you havewt-cli
installed.