Update Chatbot
Update Chatbot
Query parameters
Headers
Request body
Example request
{
"description": "A helpful support assistant",
"name": "API Docs Demo Chatbot",
"personality_config": {
"style": "Friendly",
"tone": "Professional"
},
"settings": {
"greeting": "Hello! How can I assist you today?",
"isToolEnabled": true,
"model": "gpt-4o-mini",
"prompt": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses",
"snippet": {
"header": "Customer Support",
"logo": "https://example.com/logo.png",
"name": "Support Assistant",
"primaryColor": "#4F46E5",
"secondaryColor": "#10B981",
"slogan": "How can I help you today?"
}
}
}Response
Example
Example response
{
"chatbot": {
"active": true,
"created_at": "2025-01-22T04:30:45.790337+00:00",
"description": "A helpful support assistant",
"id": "3317853e-0af2-427d-a56f-351a9587f48f",
"name": "API Docs Demo Chatbot",
"organization_id": "123042b2-86e2-4184-a86e-95423d728815",
"personality_config": {
"style": "Friendly",
"tone": "Professional"
},
"settings": {
"greeting": "Hello! How can I assist you today?",
"isToolEnabled": true,
"model": "gpt-4o-mini",
"prompt": "You are a highly skilled customer support assistant for [company name]. Your goal is to provide accurate, polite, and concise answers to customer inquiries. If you do not know the answer, recommend the customer to contact human support or check the FAQ section. Ensure a positive tone in all responses",
"snippet": {
"header": "Customer Support",
"logo": "https://example.com/logo.png",
"name": "Support Assistant",
"primaryColor": "#4F46E5",
"secondaryColor": "#10B981",
"slogan": "How can I help you today?"
}
},
"slug": "api-docs-demo-chatbot",
"updated_at": "2025-01-22T04:30:45.790337+00:00"
},
"message": "Chatbot updated successfully"
}Changes
Changed in 2 of the 10 revisions of this API.1244
- ●
removed the request property
settings/avatarrequest-property-removed
- ●
removed the request property
slugrequest-property-removed
- ○
added the new optional request property
personality_confignew-optional-request-property
- ○
added the media type
application/jsonfor the response with the status200response-media-type-added
- ●
- ▲
removed the media type
application/jsonfor the response with the status200response-media-type-removed
- ●
the optional response header
CF-RAYremoved for the status200optional-response-header-removed
- ●
the optional response header
Cache-Controlremoved for the status200optional-response-header-removed
- ●
the optional response header
Connectionremoved for the status200optional-response-header-removed
- ●
the optional response header
Content-Encodingremoved for the status200optional-response-header-removed
- ●
the optional response header
Dateremoved for the status200optional-response-header-removed
- ●
the optional response header
NELremoved for the status200optional-response-header-removed
- ●
the optional response header
Report-Toremoved for the status200optional-response-header-removed
- ●
the optional response header
Serverremoved for the status200optional-response-header-removed
- ●
the optional response header
Transfer-Encodingremoved for the status200optional-response-header-removed
- ●
the optional response header
access-control-allow-credentialsremoved for the status200optional-response-header-removed
- ●
the optional response header
access-control-allow-headersremoved for the status200optional-response-header-removed
- ●
the optional response header
access-control-allow-methodsremoved for the status200optional-response-header-removed
- ●
the optional response header
access-control-allow-originremoved for the status200optional-response-header-removed
- ●
the optional response header
alt-svcremoved for the status200optional-response-header-removed
- ●
the optional response header
cf-cache-statusremoved for the status200optional-response-header-removed
- ●
the optional response header
server-timingremoved for the status200optional-response-header-removed
- ●
the optional response header
strict-transport-securityremoved for the status200optional-response-header-removed
- ●
the optional response header
varyremoved for the status200optional-response-header-removed
- ●
the optional response header
x-matched-pathremoved for the status200optional-response-header-removed
- ●
the optional response header
x-vercel-cacheremoved for the status200optional-response-header-removed
- ●
the optional response header
x-vercel-idremoved for the status200optional-response-header-removed
- ●
removed the request property
personality_configrequest-property-removed
- ○
added the new optional request property
settings/avatarnew-optional-request-property
- ○
added the new optional request property
slugnew-optional-request-property
- ▲