Chatbot Settings
Update Chatbot Settings - Chat Mode
Update chat-mode settings of the chatbot
PATCH
/
v0
/
chatbots
/
{chatbotId}
/
settings
/
chat-mode
Authorization
Path
Body
curl --request PATCH \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/chat-mode \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"chatMode": "AI"
}'
{
"success": true,
"message": "Updated chat mode settings of the chatbot successfully",
"data": {}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
chatbotId
string
requiredId of the chatbot
Body
application/json
chatMode
enum<string>
Mode of the chat
Available options:
AI
, AGENT
Response
200 - application/json
success
boolean
Indicates whether this is success response or error response
message
string
Overall message regarding the operation performed
data
object | null
Data returned from the server
Was this page helpful?
curl --request PATCH \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/settings/chat-mode \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"chatMode": "AI"
}'
{
"success": true,
"message": "Updated chat mode settings of the chatbot successfully",
"data": {}
}