Getting Started with WhatsApp
To send WhatsApp messages, you need to:- Set up a WhatsApp Business Account through Zixflow
- Obtain your Phone ID from the Zixflow WhatsApp Settings page
- Generate an API key: go to Developers under Admin settings at Zixflow Platform, and assign the respective permissions for the channel (all channels recommended for future flexibility)
- Use the appropriate endpoint for your message type
Template-Based Messaging
For template-based messages, use Get WhatsApp Variables to understand the template structure—including variable names and value types required for delivery. The API returns a JSON response with template variable details; if no variables are required, you can send the message without them. The Send WhatsApp Template API delivers messages using approved templates. Provide valid variables that match the template requirements and format; incorrect or missing variables will prevent the message from being sent. Always ensure variable data is accurate and adheres to the template structure.WhatsApp messages can only be sent using approved templates from WhatsApp’s official template library. Use the appropriate template and ensure it complies with WhatsApp’s guidelines for successful delivery.
Supported Message Types
The WhatsApp API supports the following message types:- Text Messages: Send plain text messages with optional preview URLs
- Media Messages: Send images, videos, audio files, and documents
- Location Messages: Send location information
- Contact Messages: Send contact cards (vCards)
- Sticker Messages: Send stickers
- Reaction Messages: Send message reactions
- Interactive Messages: Send interactive messages with buttons, lists, carousels, and more
- Templates: Send pre-approved WhatsApp templates with variables
Features
- Rich media support (images, videos, audio, documents)
- Interactive elements (buttons, lists, carousels)
- Template-based messaging for compliance
- Post-back URLs for delivery status tracking
- Support for all WhatsApp Business API features