Tasks
Manage Whatsapp Stubsession
Manage a Whatsapp stubsession for a specific number.
The manage_whatsapp_stubsession
task has the following operations:
set
delete
Basic usage
Delete a Whatsapp stubsession for a customer on the advanced_support
Whatsapp profile.
Parameters
operation
The operation to perform on the Whatsapp stubsession. The options are set
and delete
.
null
Default: mobile_number
The mobile number (cell phone number) for which to update the Whatsapp stubsession.
null
Default: stubref
In the case of setting a Whatsapp stubsession, the stubref
refers to the stub to set as active in the stubsession.
~~stub.stubref
Default: whatsapp_profile_name
The Whatsapp profile for which to update the Whatsapp stubsession. This optional parameter is only required if the org has multiple Whatsapp profiles.
Default: null
Result
Properties
message
A message on the result of the operation.
Examples
Setting a Whatsapp stubsession
Set a Whatsapp stubsession for the default Whatsapp profile.