curl -X POST https://api.customergpt.ai/api/v1/chatbots \
-H "X-Api-Key: $CUSTOMERGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Acme Support", "websiteUrl": "https://acme.com"}'
{
"id": "e8503caf-9761-4a69-a3bf-b677718d19cf",
"name": "Acme Support",
"websiteUrl": "https://acme.com",
"widgetId": "YOUR_WIDGET_ID",
"welcomeMessage": "👋 Hi! How can I help you today?",
"primaryColor": "#224CFF",
"quickPrompts": [],
"rateLimitMaxMessages": null,
"rateLimitMessagesPerMinute": null,
"webhookUrl": null,
"calendarLink": null,
"salesConfig": { "enabled": true, "bookingEnabled": true, "handoffKeywords": ["human agent", "custom contract"] },
"createdAt": "2026-10-12T08:00:00.000Z"
}
Chatbots REST API
Create a chatbot
Create a chatbot. It knows nothing until you add a source to train it.
POST
/
v1
/
chatbots
curl -X POST https://api.customergpt.ai/api/v1/chatbots \
-H "X-Api-Key: $CUSTOMERGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Acme Support", "websiteUrl": "https://acme.com"}'
{
"id": "e8503caf-9761-4a69-a3bf-b677718d19cf",
"name": "Acme Support",
"websiteUrl": "https://acme.com",
"widgetId": "YOUR_WIDGET_ID",
"welcomeMessage": "👋 Hi! How can I help you today?",
"primaryColor": "#224CFF",
"quickPrompts": [],
"rateLimitMaxMessages": null,
"rateLimitMessagesPerMinute": null,
"webhookUrl": null,
"calendarLink": null,
"salesConfig": { "enabled": true, "bookingEnabled": true, "handoffKeywords": ["human agent", "custom contract"] },
"createdAt": "2026-10-12T08:00:00.000Z"
}
The site the widget will load on, with
https://. The widget works on this domain and its subdomains only.sources_add action, the CLI, or the dashboard.
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 POST https://api.customergpt.ai/api/v1/chatbots \
-H "X-Api-Key: $CUSTOMERGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Acme Support", "websiteUrl": "https://acme.com"}'
{
"id": "e8503caf-9761-4a69-a3bf-b677718d19cf",
"name": "Acme Support",
"websiteUrl": "https://acme.com",
"widgetId": "YOUR_WIDGET_ID",
"welcomeMessage": "👋 Hi! How can I help you today?",
"primaryColor": "#224CFF",
"quickPrompts": [],
"rateLimitMaxMessages": null,
"rateLimitMessagesPerMinute": null,
"webhookUrl": null,
"calendarLink": null,
"salesConfig": { "enabled": true, "bookingEnabled": true, "handoffKeywords": ["human agent", "custom contract"] },
"createdAt": "2026-10-12T08:00:00.000Z"
}