Skip to main content
POST
/
v1
/
rooms
/
{roomId}
/
message
Enviar mensaje al chat
curl --request POST \
  --url https://api.jelou.ai/v1/rooms/{roomId}/message \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "senderId": "<string>",
  "messages": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "TEXT",
      "text": "<string>",
      "mediaUrl": "<string>"
    }
  ]
}
'
{
  "message": "<string>",
  "statusMessage": "<string>",
  "status": 123,
  "error": {
    "code": "<string>",
    "key": "<string>",
    "description": "<string>",
    "developerMessages": {},
    "clientMessages": {}
  },
  "validationError": {}
}

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