Skip to main content
POST
Sends a message in an active chat session and returns the agent's reply

Authorizations

Authorization
string
header
required

Lawtte API key or session token: Authorization: Bearer <token>.

Body

application/json
chatId
string
required

Active chat session ID.

message
string
required

User message to send.

Response

Success

The response is of type object.