Epic AI icon

Epic AI

Interact with the Epic AI (ChatCaptain) API

Conversation → Send Message as Agent

AI-generated

Summary

Send a message to a conversation as the chatbot agent.

Inputs

  • chatbotId (required) — ID of the chatbot to act on
  • conversationId (required) — ID of the target conversation
  • bodySendMessageAsAgent — JSON payload for the message; defaults to {"text":"Hello, I have a question."}

Output shape

a parsed JSON object (typically the API response body or a success flag)

May contain only a success flag when an error is swallowed; otherwise returns the decoded response.

Examples

Example 1: Trigger a greeting to a conversation

chatbotId set, conversationId set, body unchanged

Example 2: Reply to an existing conversation

chatbotId and conversationId provided, optional custom body JSON entered

Links

Discussion