v1

latestOpenAPI 3.0.3Proprietary2026-08-0610636149.4 KB
Conversations

Enviar mensaje

post/v1/conversations/{conversationId}/messages

Path parameters

conversationIdstring required

Request body

bodystring
fromType'user' | 'robot' | 'visitor' required
fromstring required

ID del remitente

type'image' | 'text/plain' | 'command' | 'note' required

Example request

{
  "body": "Hola, necesito ayuda"
}

Response

Mensaje enviado

idstring

ID del mensaje.

userstring

ID de quien envió el mensaje (operador, visitante o bot).

textstring

Contenido de texto del mensaje.

createdAtstring date-time

Fecha y hora de envío del mensaje.

editedboolean

Indica si el mensaje fue editado.

Example response

{
  "id": "626e9cc66ac98128162b2bbc",
  "user": "5f08e255c9a881002afc06ec",
  "text": "Hola, necesito ayuda"
}