Chat with Agent
Send a message to an agent over HTTP and receive its reply. Uses the same prompt, tools, and channel profile as production text channels, without delivering to WhatsApp/SMS. Ideal for custom web chat widgets: call this from your backend with your API key. Omit session_id on the first turn; reuse the returned value for multi-turn conversations.
Authentication
Path parameters
Request
Channel profile to use for prompt, tools, and model. Use the same channel you configured for WhatsApp/SMS so behavior matches that channel.
Omit on the first turn to create a session. Pass the returned session_id on later turns to keep conversation context.
When true, read/write business agent memory for this session
Optional contact identity for the chat session (used by scheduling and similar tools)
Response
Present when learn_from_conversation is true