Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Latest commit

 

History

History
 
 

forward-message-multiple

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Forward Message to Multiple Numbers

This Function in forward-message-multiple.js will return the TwiML required to forward an incoming SMS message to each number in a comma separated list of numbers set in the environment variables.

Environment variables

This Function expects one environment variable to be set.

Variable Meaning
FORWARDING_NUMBERS A list of numbers in E.164 format you want to forward incoming messages to, separated by commas

Parameters

This Function expects the incoming request to be a messaging webhook. The parameters that will be used are From and Body.