curl -X PATCH https://api.customergpt.ai/api/v1/chatbots/e8503caf-9761-4a69-a3bf-b677718d19cf \
-H "X-Api-Key: $CUSTOMERGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"welcomeMessage": "Hi! Ask me anything about Acme.", "quickPrompts": ["Pricing", "Shipping"]}'
{
"id": "e8503caf-9761-4a69-a3bf-b677718d19cf",
"name": "Acme Support",
"websiteUrl": "https://acme.com",
"widgetId": "YOUR_WIDGET_ID",
"welcomeMessage": "Hi! Ask me anything about Acme.",
"primaryColor": "#224CFF",
"quickPrompts": ["Pricing", "Shipping"],
"rateLimitMaxMessages": null,
"rateLimitMessagesPerMinute": null,
"webhookUrl": null,
"calendarLink": null,
"salesConfig": { "enabled": true, "bookingEnabled": true, "handoffKeywords": ["human agent", "custom contract"] },
"createdAt": "2026-10-11T09:20:00.000Z"
}
Chatbots REST API
Update a chatbot
Change a chatbot’s settings. Send only the fields you want to change.
PATCH
/
v1
/
chatbots
/
{id}
curl -X PATCH https://api.customergpt.ai/api/v1/chatbots/e8503caf-9761-4a69-a3bf-b677718d19cf \
-H "X-Api-Key: $CUSTOMERGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"welcomeMessage": "Hi! Ask me anything about Acme.", "quickPrompts": ["Pricing", "Shipping"]}'
{
"id": "e8503caf-9761-4a69-a3bf-b677718d19cf",
"name": "Acme Support",
"websiteUrl": "https://acme.com",
"widgetId": "YOUR_WIDGET_ID",
"welcomeMessage": "Hi! Ask me anything about Acme.",
"primaryColor": "#224CFF",
"quickPrompts": ["Pricing", "Shipping"],
"rateLimitMaxMessages": null,
"rateLimitMessagesPerMinute": null,
"webhookUrl": null,
"calendarLink": null,
"salesConfig": { "enabled": true, "bookingEnabled": true, "handoffKeywords": ["human agent", "custom contract"] },
"createdAt": "2026-10-11T09:20:00.000Z"
}
Maximum messages per minute in one conversation;
null for no limit. Growth plan and above.Where webhooks are sent;
null turns them off. Scale plan and above.Partial Sales Automation settings, merged into the current ones. Set
enabled to turn it on or off. null restores the defaults.Response
Where webhooks are sent. The signing secret is never returned.
Sales Automation settings:
enabled, instructions, qualificationFields, bookingEnabled, checkoutUrl, hubspotEnabled, handoffKeywords, and proactive.curl -X PATCH https://api.customergpt.ai/api/v1/chatbots/e8503caf-9761-4a69-a3bf-b677718d19cf \
-H "X-Api-Key: $CUSTOMERGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"welcomeMessage": "Hi! Ask me anything about Acme.", "quickPrompts": ["Pricing", "Shipping"]}'
{
"id": "e8503caf-9761-4a69-a3bf-b677718d19cf",
"name": "Acme Support",
"websiteUrl": "https://acme.com",
"widgetId": "YOUR_WIDGET_ID",
"welcomeMessage": "Hi! Ask me anything about Acme.",
"primaryColor": "#224CFF",
"quickPrompts": ["Pricing", "Shipping"],
"rateLimitMaxMessages": null,
"rateLimitMessagesPerMinute": null,
"webhookUrl": null,
"calendarLink": null,
"salesConfig": { "enabled": true, "bookingEnabled": true, "handoffKeywords": ["human agent", "custom contract"] },
"createdAt": "2026-10-11T09:20:00.000Z"
}