I have an average of 100 - 1500 phone numbers that I want to send SMS to. I want to include the person's name that is associated with each phone number in the body text. How would I be able to do this using Twilio?
client.notify.services(notifyServiceSid)
.notifications.create({
toBinding: JSON.stringify({
binding_type: 'sms', address: process.env.NUMBER_ONE,
binding_type: 'sms', address: process.env.NUMBER_TWO
}),
body: 'This should work!' //I want to dynamically change this per number.
})
.then(notification => console.log(notification.sid))
.catch(error => console.log(error));