Skip to main content
Before sending, the token must be paired and live-connected:
If a token is paired but 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 optional options object:
Use 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 uploading multipart/form-data.
For voice notes, call 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:
Multipart fields:

Send location or contact

Polls and reactions

React to a message:
Use an empty 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 the message object back to WADial to download the encrypted attachment:
The response includes metadata and base64-encoded bytes:

List outgoing messages

Each message includes contentType, receipt timestamps, idempotency key, and media metadata when present.