Skip to main content
Version: 8.3 Beta 🚧

system.twilio.sendFreeformWhatsApp

This function is used in Python Scripting.

Description​

Sends a free-form WhatsApp message. WhatsApp considers any message that is not a pre-approved template a free-form message. Free-form messages can only be sent with Ignition after a 24-hour Session opens. A user can open a 24-hour Session by simply sending a WhatsApp message to the Twilio account. Then, the Session remains open for 24 hours from the last inbound message received from the user.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.twilio.sendFreeformWhatsApp(accountName, fromNumber, toNumber, message)

Parameters​

TypeParameterDescription
StringaccountNameThe Twilio account to send from.
StringfromNumberThe phone number configured with Twilio to use for making the calls.
StringtoNumberThe phone number of the recipient.
StringmessageThe body of the free-form WhatsApp message.

Returns​

Nothing

Scope​

Gateway, Vision Client, Perspective Session