Epic AI icon

Epic AI

Interact with the Epic AI (ChatCaptain) API

Conversation → Create Conversation

AI-generated

Summary

Create a conversation in the specified chatbot

Inputs

  • chatbotId (required) — The ID of the chatbot
  • bodyConversationCreate — The request body as JSON

Output shape

a list of items, each containing the API response JSON (or a success indicator)

Errors are propagated as exceptions; the response may be an empty object or parsed JSON depending on the API reply

Examples

Example 1: Create a conversation using the default body

chatbotId: ''

Example 2: Create a conversation with custom contact and channel details

chatbotId: 'abc123'; bodyConversationCreate: {"conversation": {"contactId": "contact_xyz","channelId": "channel_123","channelType": "web","name": "John Doe","environment": "test","language": "DE"}}

Example 3: Create a conversation and capture the returned record

chatbotId: '98765'; bodyConversationCreate: {"conversation": {"contactId": "contact_987","channelId": "channel_987","channelType": "web","name": "Bob","environment": "prod","language": "EN"}}

Links

Discussion