Messages
๐๏ธ Sending Messages through Cascade
The /api/cascade/schedule method is used to send messages to WhatsApp and Viber channels.
๐๏ธ Sending Messages by WhatsApp Template ID
To send messages to the WhatsApp channel by the template ID templateId, the /api/v2/out-messages/whatsapp/template method is used.
๐๏ธ Sending Messages by WhatsApp Template ID (deprecated)
To send messages to the WhatsApp channel by the template ID templateId, the /api/v1/out-messages/whatsapp/template method is used.
๐๏ธ Sending Messages by Viber Template ID
To send messages to the Viber channel by the template ID templateId, the /api/v1/out-messages/viber/template method is used.
๐๏ธ Sending Messages to WhatsApp
To send message to the WhatsApp channel, use the method /api/v2/out-messages/whatsapp.
๐๏ธ Sending Contact Details via WhatsApp
To send contact details to the WhatsApp channel, use the method /api/v1/out-messages/whatsapp.
๐๏ธ Message Read Confirmation
By default, all incoming messages from clients are marked as read. This status is transmitted to the client, who believes that his message has been read and is waiting for a response, even if you have not read his message yet.
๐๏ธ Message Examples
WhatsApp chat messages
๐๏ธ Requesting Message History
The /api/messages/history method is used to request the recipientโs message history.
๐๏ธ Error Codes
The list of errors can be extended. Keep this in mind when setting up the integration.