connected is false, call POST /api/v1/sessions/{sessionId}/connect first. This reconnects the same linked device.
Send text
Message options
Most send endpoints accept an optionaloptions object:
quote for replies, mentions for group tags, forward to mark content as forwarded, and viewOnce on image, video, or audio sends.
Send media
Images, videos, audio, voice notes, documents, and stickers can be sent by URL with JSON or by uploadingmultipart/form-data.
POST /api/v1/sessions/{sessionId}/messages/audio and set voice to true.
For documents, call POST /api/v1/sessions/{sessionId}/messages/document and include fileName.
For stickers, call POST /api/v1/sessions/{sessionId}/messages/sticker with WebP media.
Or upload a file in the request body:
Send location or contact
Polls and reactions
emoji string to remove your reaction.
Message actions
Use these endpoints to edit, revoke, pin, unpin, keep, unkeep, or delete a message for your linked device:Download incoming media
When your webhook or event stream receives an incoming image, video, audio, document, or sticker message, pass themessage object back to WADial to download the encrypted attachment:
List outgoing messages
contentType, receipt timestamps, idempotency key, and media metadata when present.