1. Tasks
  2. Cancel Whatsapp Stubsession

Tasks

Cancel Whatsapp Stubsession

Cancel an existing Whatsapp stubsession for a specific number.

Basic usage

editor
        {
  "tasktype": "cancel_whatsapp_stubsession",
  "params": {
    "mobile_number": "~~stubpost.data.customer_number",
    "whatsapp_profile": "advanced_support",
  }
}

      

Parameters

mobile_number

required
string or number

The mobile number (cell phone number) for which to cancel the Whatsapp stubsession.

Default: null

whatsapp_profile

optional
string

The org's Whatsapp profile for which to cancel the stubsession. This optional parameter is only required if the org has multiple whatsapp profiles.

Default: null


Result

loading...

Properties

message

string

A confirmation that the session was cleared.