Chatbot
Create Chatbot
Chatbot
Create Chatbot
Create a chatbot.
POST
/
v1
/
chatbot
curl --request POST \
--url https://api.droxy.ai/v1/chatbot \
--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,
"personalityType": "<string>",
"toneType": "<string>",
"customSystemPrompt": "<string>",
"model": "<string>",
"restrictAnswersToResourcesContentResponse": "<string>",
"accessLevel": "<string>",
"tags": [
"<string>"
],
"password": "<string>",
"websiteIntegration": {
"allowedDomains": [
"<string>"
],
"bubbleAlignment": "<string>",
"bubblePopupMessages": [
"<string>"
],
"welcomeHeaderTitle": "<string>",
"welcomeHeaderSubtitle": "<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
Body
application/json
Response
201
application/json
Created
The response is of type object
.
curl --request POST \
--url https://api.droxy.ai/v1/chatbot \
--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,
"personalityType": "<string>",
"toneType": "<string>",
"customSystemPrompt": "<string>",
"model": "<string>",
"restrictAnswersToResourcesContentResponse": "<string>",
"accessLevel": "<string>",
"tags": [
"<string>"
],
"password": "<string>",
"websiteIntegration": {
"allowedDomains": [
"<string>"
],
"bubbleAlignment": "<string>",
"bubblePopupMessages": [
"<string>"
],
"welcomeHeaderTitle": "<string>",
"welcomeHeaderSubtitle": "<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>"
}
}