Skip to main content
POST
/
v1
/
rooms
/
{roomId}
/
message
curl --request POST \
  --url https://api.jelou.ai/v1/rooms/{roomId}/message \
  --header 'Authorization: Basic <Base64Encoded clientId:clientSecret>' \
  --header 'Content-Type: application/json' \
  --data '{
    "senderId": "agent-12345",
    "messages": [
      {
        "type": "text",
        "text": "Hello 👋, this is a test message."
      }
    ]
  }'
{
  "message": "<string>",
  "statusMessage": "<string>",
  "status": 123,
  "error": {
    "code": "<string>",
    "key": "<string>",
    "description": "<string>",
    "developerMessages": {},
    "clientMessages": {}
  },
  "validationError": {}
}

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.

curl --request POST \
  --url https://api.jelou.ai/v1/rooms/{roomId}/message \
  --header 'Authorization: Basic <Base64Encoded clientId:clientSecret>' \
  --header 'Content-Type: application/json' \
  --data '{
    "senderId": "agent-12345",
    "messages": [
      {
        "type": "text",
        "text": "Hello 👋, this is a test message."
      }
    ]
  }'
This endpoint will only deliver messages to users who have previously written to the bot in the last 24 hours, in accordance with WhatsApp policies.

Authorizations

Authorization
string
header
required

Basic authentication using Base64 encoded clientId:clientSecret

Path Parameters

roomId
string
required

Body

application/json
senderId
string
required
messages
object[]
required

Response

Message sent