Send a message to a chatbot and receive a response. Supports streaming responses. Can continue existing conversations by providing a conversationId.
API key in Bearer token format
ID of the chatbot to chat with
"ckl123abc456"
Array of messages in the conversation
ID of existing conversation to continue, if not provided, the conversation will not be saved
"conv_abc123"
External ID of the contact/user
"user_123"
AI model to use for the response
gpt-4-turbo, gpt-4o, gpt-4, gpt-4o-mini, gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, o3-mini, o4-mini, o3, gpt-oss-120b, gpt-oss-20b, gpt-5, gpt-5.1, gpt-5.2, gpt-5-mini, gpt-5-nano, claude-haiku-4-5, claude-opus-4-5, claude-opus-4-1, claude-sonnet-4, claude-opus-4, claude-sonnet-4-5, claude-3-7-sonnet, claude-3-5-sonnet, claude-3-haiku, claude-3-opus, gemini-1.5-flash, gemini-1.5-pro, gemini-2.0-flash, gemini-2.0-pro, gemini-2.5-flash, gemini-2.5-pro, grok-3, grok-3-mini, grok-4, command-r, command-r-plus, command-a, DeepSeek-V3, DeepSeek-R1, Llama-4-Scout-17B-16E-Instruct, Llama-4-Maverick-17B-128E-Instruct-FP8, kimi-k2 "gpt-4o-mini"
Temperature setting for AI response creativity
0 <= x <= 10.7
Whether to stream the response
Chat response
The chatbot's response text
"Hello! How can I help you today?"