Documentation Index
Fetch the complete documentation index at: https://docs.jelou.ai/llms.txt
Use this file to discover all available pages before exploring further.
Description
Sends a message to the end user through Jelou. The client executes this resource to notify Jelou that it must deliver a message to the end user active in the conversation. Jelou will validate the request signature, process the content, and deliver it to the user through the configured channel (for example, WhatsApp).Endpoint
Body parameters
Event field type. Fixed value:
messages.Event object type. Fixed value:
message_event.Event type. Fixed value:
incoming_message.Identifier of the Jelou project the conversation belongs to.
Identifier of the active conversation room.
Identifier of the Jelou bot associated with the conversation.
Identifier of the end user who will receive the message.
Content of the message to deliver to the end user.
id— Unique message identifier.type— Message type:text,image,video,audio,document.content— Object with the content according to the type (see the message types table at the bottom of this page).
Authentication
This resource validates theX-Jelou-Signature header using HMAC-SHA256. Basic Auth is not used for this endpoint.
Request example
The following example sends a text message to the end user through Jelou:cURL
Responses
| Code | Status | Description |
|---|---|---|
| 200 | OK | Message received and processed by Jelou. |
| 500 | Internal Server Error | Internal server error. |
Supported message types
| Type | value.content field | Additional fields |
|---|---|---|
text | { "body": "Message text" } | — |
image | { "url": "...", "mime_type": "image/jpeg" } | caption (optional) |
video | { "url": "...", "mime_type": "video/mp4" } | caption (optional) |
audio | { "url": "...", "mime_type": "audio/mpeg" } | — |
document | { "url": "...", "mime_type": "application/pdf" } | filename (optional) |
Multimedia file URLs must be accessible via HTTPS.