Skip to main content

Add a new message to an existing chat

POST 

/external/message/new-message

Appends a new user or agent message to an existing chat session. Used to continue the conversation within an active chat. The request should include the chat ID, sender role, and message content. Triggers response generation if the sender is the user.

Usage Notes: - Provide a valid access token or API key for authentication. - Use the correct sender value ('user' or 'assistant'). - Rate limit: 120 messages per minute per chat. - Use chat_id to maintain conversation context.

Request

Responses

Successful Message Creation