🤖List Bots

This endpoint lists all bots for a specific user. It accepts a POST request with the right Token :

https://www.owlbot.ai/api/login/checkToken

Response

Response is a JSON with 2 json :

{
   "user":{
      "id":38,
      "created_at":"2023-06-04T19:24:59.695527+00:00",
      "Phone":null,
      "status":1,
      "Email":"John@doe.com",
      "uuid":"3c895cd5-1298-4f30-8417-XXXX",
      "plan_period_end":"1691658041",
      "actual_subscription":{
         "id":1,
         "price":1900,
         "doc_limit":null,
         "plan_Name":"Starter",
         "api_access":false,
         "link_limit":null,
         "white_label":false,
         "chatbot_limit":10,
         "word_db_limitation":"500000",
         "conversations_limit":null,
         "messages_limitation":"2000"
      },
      "user_avatar":null,
      "word_count":60667,
      "messages_count":426,
      "doc_count":11,
      "link_count":83,
      "affiliate":null
   },
   "chatbot":[
      {
         "id":91,
         "created_at":"2023-06-28T07:01:58.308677+00:00",
         "bot_title":"Chatbot1",
         "bot_footer":"Powered by Owlbot",
         "bot_user_icon":"https://owlbot.ai/assets/chatbot/user.png",
         "bot_assistant_icon":"https://hrfaciqawmkslnzhtrpe.supabase.co/storage/v1/object/public/public/3c895cd5-1298-4f30-8417-044e2633293c/5ae2b602-bca9-4623-bf51-bf50b055a0c5.png",
         "bot_primary_color":"#f702af",
         "uuid":"694f0f35-a082-41a8-85d5-XXX",
         "owner":"3c895cd5-1298-4f30-8417-XXXX",
         "visibility":1,
         "welcome_message":"Welcome Message",
         "bot_input_placeholder":"Type a message",
         "bot_footer_text":"Powered by Owlbot",
         "bot_secondary_color":"#6366F1",
         "PLACEHOLDER_IFRAME_POSITION_BOTTOM":"16px",
         "PLACEHOLDER_IFRAME_POSITION_RIGHT":"16px",
         "PLACEHOLDER_TOOLTIP_WELCOMME_MESSAGE":"Hello ! How can I help you ?",
         "PLACEHOLDER_TOOLTIP_MAIN_COLOR":"#8B5CF6",
         "PLACEHOLDER_TOOGLE_BUTTON_IMG_OPEN":"https://iframe.gptyourdata.ai/assets/logo-white.svg",
         "PLACEHOLDER_TOOGLE_BUTTON_IMG_CLOSE":"https://iframe.gptyourdata.ai/assets/x.svg",
         "js_script_name":null,
         "active":1,
         "word_count":2106,
         "messages_count":37,
         "bot_error_message":"Désolé, je ne comprends pas la question.",
         "doc_count":2,
         "link_count":0,
         "show_doc":0,
         "bot_agent_icon":"https://owlbot.ai/assets/chatbot/agent.png",
         "bot_agent_color":null,
         "secure":0,
         "is_working":0
      },
      {
         "id":84,
         "created_at":"2023-06-20T20:57:17.890246+00:00",
         "bot_title":"Pigment Chatbot",
         "bot_footer":"Powered by Owlbot",
         "bot_user_icon":"https://hrfaciqawmkslnzhtrpe.supabase.co/storage/v1/object/public/public/3c895cd5-1298-4f30-8417-044e2633293c/6ec380c7-6e06-414f-8db2-54074e544697.pdf",
         "bot_assistant_icon":"https://owlbot.ai/assets/chatbot/robot.png",
         "bot_primary_color":"#6366F1",
         "uuid":"20fefe38-1ee2-4d45-9ebe-2e9ec5a99136",
         "owner":"3c895cd5-1298-4f30-8417-044e2633293c",
         "visibility":1,
         "welcome_message":"Ask anything about Pigment",
         "bot_input_placeholder":"Type a message",
         "bot_footer_text":"Powered by Owlbot",
         "bot_secondary_color":"#8B5CF6",
         "PLACEHOLDER_IFRAME_POSITION_BOTTOM":"16px",
         "PLACEHOLDER_IFRAME_POSITION_RIGHT":"16px",
         "PLACEHOLDER_TOOLTIP_WELCOMME_MESSAGE":"Hello ! How can I help you ?",
         "PLACEHOLDER_TOOLTIP_MAIN_COLOR":"#6366F1",
         "PLACEHOLDER_TOOGLE_BUTTON_IMG_OPEN":"https://iframe.gptyourdata.ai/assets/logo-white.svg",
         "PLACEHOLDER_TOOGLE_BUTTON_IMG_CLOSE":"https://iframe.gptyourdata.ai/assets/x.svg",
         "js_script_name":null,
         "active":1,
         "word_count":6637,
         "messages_count":42,
         "bot_error_message":"Sorry, I didn't understand your question",
         "doc_count":2,
         "link_count":10,
         "show_doc":0,
         "bot_agent_icon":null,
         "bot_agent_color":null,
         "secure":0,
         "is_working":0
      },
   ]
}

The main parameter to update, delete or add data to your chatbot is your chatbot UUID.

Last updated