Skip to main content
Version: 8.3 Beta 🚧

system.twilio.sendWhatsAppTemplate

This function is used in Python Scripting.

Description​

Sends a WhatsApp template message. Template messages are configurable messages on Twilio that can be sent to users via Twilio WhatsApp Refer to WhatsApp Template Overview documentation for more information.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.twilio.sendWhatsAppTemplate(accountName, userNumber, whatsAppService, whatsAppTemplate, templateParameters)

Parameters​

TypeParameterDescription
StringaccountNameThe Twilio account to send from.
StringuserNumberThe phone number of the recipient.
StringwhatsAppServiceThe Twilio Messaging Service SID configured to send WhatsApp Messages.
StringwhatsAppTemplateThe Twilio Content Template SID.
StringtemplateParametersA list of values to pass into the Twilio Content Template as parameters.

Returns​

Nothing

Scope​

Gateway, Vision Client, Perspective Session