Get Chatbots

Get Chatbots

get/api/external/chatbots

Headers

x-api-keystring
Example:4358d60b39ef0df47f421c0d58331407ec609abb6355dfa4

Response

Example

Example response

{
  "chatbots": [
    {
      "active": true,
      "created_at": "2024-11-08T09:25:54.141252+00:00",
      "description": "Demo AI Chatbot",
      "id": "5afe16ed-5fd2-4552-a993-903bc9c32bb6",
      "is_public": true,
      "name": "Test",
      "openai_api_key": null,
      "organization_id": "123042b2-86e2-4184-a86e-95423d728815",
      "personality_config": {
        "style": "Test",
        "tone": "Test"
      },
      "settings": {
        "avatar": "https://alwiuiydhxcstgrluarg.supabase.co/storage/v1/object/public/chatbot/5afe16ed-5fd2-4552-a993-903bc9c32bb6/0aabc2ff-6aab-491b-8858-0d001acc167d.png",
        "greeting": "Hello! How can I assist you today?",
        "isRequestUserInfoEnabled": false,
        "isToolEnabled": true,
        "model": "gpt-4o",
        "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": "오케이챗 고객응대 챗봇",
          "logo": "https://dasomx.odoo.com/web/image/website/1/logo/DASOMX?unique=1aee356",
          "name": "Test",
          "primaryColor": "#9c2caa",
          "secondaryColor": "#60d7a9",
          "slogan": "Chat with us"
        }
      },
      "slug": "test-1",
      "updated_at": "2024-12-01T14:38:45.709025+00:00"
    },
    {
      "active": true,
      "created_at": "2024-12-02T03:07:46.421566+00:00",
      "description": "A helpful support assistant",
      "id": "7f6783a6-5a6a-4279-b9a0-0ff11318e07f",
      "is_public": true,
      "name": "Customer Support External Bot",
      "openai_api_key": null,
      "organization_id": "123042b2-86e2-4184-a86e-95423d728815",
      "personality_config": {
        "style": "Friendly",
        "tone": "Professional"
      },
      "settings": {
        "avatar": "https://example.com/avatar.png",
        "greeting": "Hello! How can I assist you today?",
        "isRequestUserInfoEnabled": false,
        "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-98",
      "updated_at": "2024-12-02T03:07:46.421566+00:00"
    }
  ]
}

Changes