Send Message to Conversational AI Agent
Sends a message from the user to the Conversational AI agent for processing.Documentation Index
Fetch the complete documentation index at: https://docs.chatzy.ai/llms.txt
Use this file to discover all available pages before exploring further.
Body
UUID of the chatbot to which the message is sent.
"51de6a36-5532-49c2-888e-46754ce102ba"
UUID of the ongoing conversation.
"96333140-53c3-4d1d-bbd1-edd150d46ea2"
The message to send to the AI agent.
Optional source channel of the conversation.
whatsapp, website, instagram, messenger "whatsapp"
Optional array of WhatsApp message IDs to link with this message.
["wamid.HBgMOTE4MjM3NTAyNjEwFQIA"]Optional unique identifier of the user (internal mapping). Passing this will create a new contact if it doesn't exist in Chatzy AI.
"user-143242"
Optional unique identifier (client_message_key) used to link multiple audio inputs to a single user message. Each client_message_key is unique per user message and is generated before the user sends a message.
Example:
- A client generates a client_message_key (e.g., 'msg_123').
- The user records and sends audio inputs 2-3 times. Each audio input request is sent to the
/sttendpoint along with the same client_message_key. The server transcribes each audio input. - When the user finalizes their message, the same client_message_key is included in the
/get-inferencerequest. This links all the audio inputs, in the order they were provided, to the finalized user message.
This ensures conversations can be reconstructed accurately by mapping the final user message to the sequence of audio inputs associated with it.
"22bacb4e-43ff-41e2-9800-ac62f33104ec"
Response
User message accepted for processing.