Messaging Guide
Overview of Wawp's Messaging capabilities and best practices.
Send Messages Endpoints
Send Text Message
Use for core text messaging. Required params: instance_id, access_token, chatId, message.
Send Image
SendImage expects a file object (url, mimetype, filename) and required caption/reply_to.
Send PDF
Treat PDFs as general file deliveries via the file endpoint. Require file.url and required caption.
Send List Message
Sends an interactive List Message (menu) to a chat. This message type displays a button that, when tapped, opens a list of options.
Send Event
Sends a calendar event message to a chat. Users can tap on the event to view details, add it to their calendar, or join a call.
Send Voice
Voice messages accept OGG/Opus. Required params: instance_id, access_token, chatId, file[url], file[filename], file[mimetype], convert.
Send Video
Send a video file to a chat.
Send Link Preview
Send a message with a custom rich link preview card.
Send Location
Send a static geographic location to a chat.
Send Poll
Send an interactive poll with multiple options.
Send Poll Vote
Programmatically vote on a WhatsApp poll.
Send Contact Vcard
Send professional contact cards (vCards) to a chat. Supports single or multiple contacts in one bubble.
Mark message(s) as seen
Mark specific messages or an entire chat as seen/read (Blue Ticks).
Start Typing
Show the 'typing...' or 'recording audio...' status in a chat.
Stop Typing
Remove the 'typing...' or 'recording audio...' status from a chat.
Reaction
React to a specific message with an emoji (👍, ❤️, 😂, etc.).