Epic AI icon

Epic AI

Interact with the Epic AI (ChatCaptain) API

Conversation → Send Message as User

AI-generated

Summary

Send a message as a user in a conversation

Inputs

  • chatbotId (required) — Identifies the chatbot to contact
  • conversationId (required) — Identifies the conversation where the message is sent
  • bodySendMessageAsUser — JSON payload containing message details; defaults to a greeting

Output shape

a JSON object representing the API response (e.g., success flag or parsed data)

Response may contain a success:true field or parsed data; on some errors returns {success:true}; no pagination

Examples

Example 1: Send an introductory greeting to a conversation

chatbotId: 'myBot123', conversationId: 'conv456', bodySendMessageAsUser: {
"disableSending": false,
"message": {
"content": {
"text": "Hello, how can I help you?"
},
"sender": "agent",
"type": "text",
"status": "sent",
"created": "2026-04-14T09:00:00Z",
"outgoing": true
}
}

Example 2: Send a custom user message

chatbotId: 'myBot123', conversationId: 'conv456', bodySendMessageAsUser: {
"disableSending": true,
"message": {
"content": {
"text": "What is your order status?"
},
"sender": "user"
}
}

Example 3: Trigger follow-up after receiving a message

chatbotId: 'myBot123', conversationId: 'conv456', bodySendMessageAsUser: {
"disableSending": false,
"message": {
"content": {
"text": "Thanks!"
},
"sender": "user"
}
}

Links

Discussion