Create Chatbot

Create Chatbot

post/api/external/chatbots

Headers

x-api-keystring
Example:4358d60b39ef0df47f421c0d58331407ec609abb6355dfa4

Request body

descriptionstring
is_publicboolean
namestring
slugstring

Example request

{
  "description": "A helpful support assistant",
  "is_public": true,
  "name": "Customer Support External Bot",
  "personality_config": {
    "style": "Friendly",
    "tone": "Professional"
  },
  "settings": {
    "greeting": "Hello! How can I assist you today?",
    "isToolEnabled": true,
    "model": "gpt-4o-mini",
    "prompt": "You are a helpful and friendly customer support agent. Respond to user inquiries in a clear and concise manner. Always strive to provide accurate and helpful information.",
    "snippet": {
      "header": "Customer Support",
      "logo": "https://example.com/logo.png",
      "name": "Support Assistant",
      "primaryColor": "#4F46E5",
      "secondaryColor": "#10B981",
      "slogan": "How can I help you today?"
    }
  },
  "slug": "customer-support-bot-97"
}

Changes