Send Flow Message
Send Whatsapp Flow Messages via API
Use this API to send WhatsApp Flow Messages that allow customers to interact with forms and complete tasks directly within WhatsApp, such as submitting information, booking appointments, or registering for a service
Request URL
Method : POST
https://app.pickyassist.com/api/v2/pushAPI Variables
token
string
Unique token for the project
Mandatory
application
number
Specify through which application the message need to sent
121 = WhatsApp Business API
101 = WhatsApp Cloud API
If you have connected multiple channels or using WhatsApp Cloud api then please get the channel id from your project under Channel Settings
Mandatory
interactive_type
number
Specifies the type of interactive message you want to send For Flow Messages = 7
Mandatory
globalmessage
string
Global Message Text Message with emoji supported by whatsapp
If you are sending image and video you can pass caption text here
Mandatory
interactive
array
Contains the configuration details of the Flow Message
flow_id
string
Specifies the unique ID of the WhatsApp Flow to be triggered.
Mandatory
flow_screen
string
Specifies the ID of the initial screen to be displayed when the recipient opens the Flow.
Optional
button_title
string
Specifies the text displayed on the button used to open the WhatsApp Flow data
Mandatory
data
array
Object through which you can pass multiple number
number
numeric
Specifies the recipient's WhatsApp phone number, including the country code
Mandatory
Sample Request
{
"token":"Your Token",
"application":"121",
"interactive_type":7,
"globalmessage":"test message body",
"interactive":{
"flow_id":"2131231SFDFSF",
"flow_screen":"WELCOME_SCREEN",
"button_title":"Sign Up"
},
"data":[
{
"number":"19834434690"
} ]
}Last updated
Was this helpful?