Skip to main content

Welcome

The Jelou API allows you to send messages to users through WhatsApp. This API supports multiple message types including text, images, audio, video, files, stickers, location, contacts, and interactive elements such as buttons and quick replies.

Base Endpoint

All messages are sent through the following endpoint:
POST https://api.jelou.ai/v1/bots/{botId}/messages

Session Requirements

This API can only send messages when an active session exists: you have 24 hours from the user’s last message to respond with any type of message.

Common Fields

All message types share these fields:
FieldLocationTypeRequiredDescription
botIdPathstringYesUnique identifier of the bot sending the message.
typeBodystringYesType of message to send. See available types on the following pages.
userIdBodystringYesUnique identifier of the user who will receive the message.

Available Message Types

The Jelou API supports the following message types:

Text Message

Simple text messages and messages with interactive buttons

Message with Options

Text with multiple-selection buttons

Quick Replies

Messages with quick reply buttons

Image Message

Send images with optional text

Audio Message

Send audio files

Video Message

Send videos with optional text

File Message

Send documents and files

Sticker Message

Send stickers in WebP format

Location Message

Share specific coordinates

Contact Message

Share contact cards (vCard)

Location Request

Request the user’s location

URL Button

Button that opens a URL

Flow Button

Button that opens a WhatsApp Flow

Call Button

Button that initiates a voice call

Next Steps

Explore the different message types available on the following pages. Each page includes complete request examples and detailed parameter documentation.