WhatsApp: link your own number and send by API
Link a WhatsApp number to Echo and send texts from it through the same API.
- In the console, open Devices and choose Link WhatsApp.
- On the phone with that number, open WhatsApp > Linked devices > Link a device.
- Scan the QR code shown in the console.
- Send with channel set to whatsapp.
Use WhatsApp for conversations people expect. Mass unsolicited messages can get a number banned by WhatsApp.
A person who wrote to your WhatsApp number in the last 72 hours is an open conversation: writing to them counts as a message, never as one more new conversation of the day.
Several files at once: media: [{ data, type, name }] (base64; up to 10 files, 16 MB together), on POST /v1/echo/messages with channel whatsapp and on a chat's messages. WhatsApp sends each file as its own message (its apps only group pictures as an album on screen), so each file counts as one of the day's messages and one unit, and the text is the first file's caption. If a file fails after others went out, the message fails with send_partial and is not retried.
POST /v1/echo/messages