I want to use Twilio to send text messages to multiple numbers at once after an alert on datadog. I however can only seem to make it work to send it to one number using the following payload:
{
“To”: “$TO”,
“From”: “$FROM”,
“Body”: “Test message”
}
With $FROM and $TO being one (but different) number.
Can someone advise?
I have also tried:
“To”: “$TO”
With $TO being multiple numbers.
And:
“To”: [“$TO1”, “$TO2”]
And:
“To”: “$TO1,$TO2”
With $TO1 and $TO2 being single numbers.
For all of which I expected two messages to be sent to two different numbers
JBootsma is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.