Send Message
For sending external messages to a room we use the following endpoint.
Sending a message
POST
https://api.jelou.ai/v1/rooms/<roomId>/message
This endpoint allows you to send messages to a WhatsApp user.
Request Body
Name | Type | Description |
---|---|---|
messages* | array | Array of messages to be send |
messages.** | object | Message object |
senderId* | string | User Id or referenceId |
messages.*.type* | string | Type of message to send |
messages.*.text | String | String of text |
messages.*.mediaUrl | String | Url of the media to be sended |
This endpoint will only deliver messages to chatbot users that have send a message to the bot in the past 24 hours.
Last updated