Channels & Files configuration
Before sending your first request you must define connection rules for the channels and the associated extra files you want to add to them. Also, this process will provide your endpoints and api keys. See this page: General Setup.
To send a message:
Endpoint: /api/chatbot/message
Method: POST
Description
This endpoint processes incoming chat messages and triggers background tasks. It requires an api-key in the header for authentication.
Request Headers
- api-key: Required. API key for authentication.
Request Body
- user_id (string): Required. The ID of the user sending the message.
- username (string): Required. The username of the user sending the message.
- conversation_id (string): Optional. The ID of the conversation. If not provided, a new one is generated.
- message (string): Required. The message content.
Responses