Skip to content

Latest commit

 

History

History

forward-message

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Forward Message

This Function in forward-message.js returns the TwiML required to forward an incoming SMS message to a single number or each number in a comma-separated list 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.