Send message to session
Chat
Send message to session
Send a message to a chat session (history managed by server)
POST
Send message to session
Authorizations
Bearer token authentication. Supports two token types:
- JWT Access Token — obtained via
POST /v1/auth/login - Personal Access Token (PAT) — created via
POST /v1/api-tokens, format:cmnd_<tokenId>.<secret>
Path Parameters
The session ID
Body
application/json
Response
Message sent successfully
Example:
"msg_abc123"
Example:
"chat.message"
Example:
"session_xyz789"
Available options:
user, assistant, system Example:
"assistant"
Example:
"The main features include..."
Unix timestamp
Example:
1699564800

