curl --location --request POST 'http://dev-cn.your-api-server.com/api/v1/update-chatbot-settings' \
--header 'content-type: application/json' \
--data-raw '{
"collectCustomerInformation": {
"name": {
"label": "Name",
"active": true
}
},
"styles": {
"theme": "dark",
"userMessageColor": "#3B81F7",
"buttonColor": "#3B81F7",
"displayName": "Product Hunt",
"autoOpenChatWindowAfter": 4,
"alignChatButton": "left"
},
"chatbotId": "[Your ChatbotID]",
"name": "my Chatbot",
"instructions": "I want you to act as a document that I am having a conversation with. Your name is \"AI Assistant\". You will provide me with answers from the given info. If the answer is not included, say exactly \"Hmm, I am not sure.\" and stop after that. Refuse to answer any question not about the info. Never break character.",
"initialMessages": [
"Hi! What can I help you with?"
],
"suggestedMessages": [
"Hi! What are you?"
],
"visibility": "private",
"onlyAllowOnAddedDomains": true,
"domains": [
"example.com"
],
"ipLimit": 20,
"ipLimitTimeframe": 240,
"ipLimitMessage": "Too many messages in a row",
"model": "gpt-4",
"temp": 0.2
}'