PUT
/
v1
/
chatbot
/
{id}
curl --request PUT \
  --url https://api.droxy.ai/v1/chatbot/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "welcomeMessage": "<string>",
  "resourceIds": [
    "<string>"
  ],
  "chatbotMessageColor": "<string>",
  "userMessageColor": "<string>",
  "conversationBackgroundColor": "<string>",
  "secondaryBackgroundColor": "<string>",
  "gradientColors": "<string>",
  "showBadge": true,
  "enabledEmoji": true,
  "customSystemPrompt": "<string>",
  "model": "<string>",
  "restrictAnswersToResourcesContentResponse": "<string>",
  "accessLevel": "<string>",
  "tags": [
    "<string>"
  ],
  "password": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "welcomeMessage": "<string>",
  "createdAt": 123,
  "creator": "<string>",
  "organisation": "<string>",
  "resources": [
    "<string>"
  ],
  "chatbotMessageColor": "<string>",
  "userMessageColor": "<string>",
  "conversationBackgroundColor": "<string>",
  "secondaryBackgroundColor": "<string>",
  "gradientColors": [
    "<string>"
  ],
  "showBadge": true,
  "enabledEmoji": true,
  "customSystemPrompt": "<string>",
  "model": "<string>",
  "restrictAnswersToResourcesContentResponse": "<string>",
  "accessLevel": "<string>",
  "tags": [
    "<string>"
  ],
  "websiteIntegration": {
    "allowedDomains": [
      "<string>"
    ],
    "bubbleAlignment": "<string>",
    "bubblePopupMessages": [
      "<string>"
    ],
    "welcomeHeaderTitle": "<string>",
    "welcomeHeaderSubtitle": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The chatbot's id.

Body

application/json

Response

200
application/json
OK

The response is of type object.