xyzio

Forward SMS to multiple phone numbers with TwiML Bin

leave a comment »

Other parameters are possible like {{FromCity}} and {{FromState}}.  You can forward to multiple numbers by duplicating the Message tag.

More details here:
https://www.twilio.com/docs/sms/twiml

<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Message to="+16623458765">Twilio: {{From}}: {{Body}}</Message>
    <Message to="+15033943032">Twilio: {{From}}: {{Body}}</Message>
</Response>

Written by M Kapoor

September 19, 2018 at 12:44 pm

Posted in twilio

Tagged with ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: