PATCH
/
v0
/
chatbots
/
{chatbotId}
/
settings
/
general
{
  "success": true,
  "message": "Updated general settings of the chatbot successfully",
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required

Id of the chatbot

Body

application/json

Request Body

chatbotDescription
string

Description of the chatbot

disableLeadNotifications
boolean

Option to disable email notifications for new lead captures.

disableSmartFollowUpPrompts
boolean

Option to disable smart followup questions generated by SiteGPT

extraData
string

Any extra data you want to add to your chatbot.

gptModel
enum<string>

All available GPT models

Available options:
gpt-3.5-turbo,
gpt-4
historyCount
integer

Number of history messages to be considered when answering the question

Required range: 1 < x < 5Must be a multiple of 1
metadata
object

Any metadata (key-value pairs) that you can assign to the chatbot. Key should be string and Value could be anything.

smartFollowUpPromptsCount
integer
default:
3

Number of smart follow up questions to be shown when enabled.

Required range: 1 < x < 5Must be a multiple of 1

Response

200 - application/json

Success Response

data
object | null

Data returned from the server

message
string

Overall message regarding the operation performed

success
boolean

Indicates whether this is success response or error response