Skip to main content
POST
Send user message

Authorizations

Authorization
string
header
required

JWT from POST /auth/login, or an API key via the same header depending on client configuration.

Path Parameters

conversationId
string<uuid>
required

Body

application/json
content
string
required

Non-empty after trim

Minimum string length: 1
encryptionPassword
string

Required when encryptionEnabled is true for this conversation. Used to derive the encryption key (not stored in the database).

Minimum string length: 8

Response

Message created

id
string<uuid>
required
type
enum<string>
required
Available options:
system,
user,
assistant
content
string
required
createdAt
string<date-time>
required