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": {}
}Este endpoint permite enviar mensajes a una sala de chat en Jelou.
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": {}
}Was this page helpful?