Create WhatsApp Action
Create-Action
Create WhatsApp Action
Create WhatsApp messaging actions with template support and dynamic parameters.
POST
Create WhatsApp Action
Documentation Index
Fetch the complete documentation index at: https://docs.contactswing.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Enter your ContactSwing JWT Bearer token.
Request Body
Action display name. Example:
My Whatsapp ActionAction purpose. Example:
Send WhatsApp when user requests messagingAction type:
"SEND_WHATSAPP"Enable/disable action
When to trigger:
"during"Override phone number (optional)
WhatsApp webhook configuration
Recipient WhatsApp number. Example:
"12817126508"Sender WhatsApp ID. Example:
"650175178190170"WhatsApp template name. Example:
"call_permession_request"Template body parameters
[]Template header parameters
[]Template button parameters
[]Template language. Example:
"en"Require WhatsApp response before proceeding
Response
201 Created - WhatsApp action created successfullyRequest context ID

