Created
April 6, 2020 18:49
-
-
Save vernig/a53d5c8394840c9e08f039fc5ebc1aef to your computer and use it in GitHub Desktop.
Simple messaging with alphanumeric
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const accountSid = '<your account sid>'; | |
const authToken = '<your auth token>'; | |
const client = require('twilio')(accountSid, authToken); | |
client.messages | |
.create({body: 'Hi there!', from: 'leitha', to: '<your destination number>'}) | |
.then(message => console.log(message.sid)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment