Skip to main content
POST
Chat con routing automático de agente
Envía un mensaje a un agente con routing automático. Si hay triggers configurados, Bravilo detecta el agente correcto según el contexto y redirige la conversación.

Streaming

Cuando streaming está habilitado, el endpoint devuelve un stream text/event-stream con eventos SSE:

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID del agente

Body

application/json
query
string
required

Mensaje del usuario

conversationId
string
streaming
boolean
default:true
channel
string
default:dashboard
machineId
string
fromUrl
string

Response

Respuesta del agente o stream SSE