# CustomerGPT > Guides and API reference for CustomerGPT, the AI customer support chatbot trained on your own content. - [What is CustomerGPT](https://customergpt.ai/docs/introduction/what-is-customergpt.md): An AI chatbot that answers your customers' questions from your own website and documents, around the clock. - [How answers work](https://customergpt.ai/docs/introduction/how-answers-work.md): How CustomerGPT finds the right passage in your content, writes an answer from it, and what it does when your content has no answer. - [Quickstart](https://customergpt.ai/docs/get-started/quickstart.md): Create a chatbot, train it on your website, and add it to your site in about two minutes. - [Your first week](https://customergpt.ai/docs/get-started/your-first-week.md): What to check in the days after launch, so answers get better quickly. - [Add your website](https://customergpt.ai/docs/knowledge/add-your-website.md): Train your chatbot on your site: crawl it from the dashboard, or pick exact pages and sitemaps with the CLI. - [Upload files](https://customergpt.ai/docs/knowledge/upload-files.md): Train your chatbot on PDF, Word, text, Markdown and CSV files from the dashboard or the CLI. - [Add a text snippet](https://customergpt.ai/docs/knowledge/add-text.md): Teach the chatbot facts that aren't on a page or in a file, such as opening hours or an internal policy. - [Connect cloud storage and help centers](https://customergpt.ai/docs/knowledge/connect-cloud-storage.md): Train your chatbot on files from Google Drive, OneDrive and SharePoint, pages from Notion, and articles from Zendesk and Intercom. - [Keep your content up to date](https://customergpt.ai/docs/knowledge/keep-content-up-to-date.md): Re-train on pages that changed, and remove sources the chatbot should stop using. - [Add custom responses](https://customergpt.ai/docs/knowledge/custom-responses.md): Give an exact answer to a specific question, in your own words, ahead of anything the model would write. - [Fill knowledge gaps](https://customergpt.ai/docs/knowledge/knowledge-gaps.md): See the questions your chatbot couldn't answer, and add the missing answer in one step. - [Change how the widget looks](https://customergpt.ai/docs/customize/widget-appearance.md): Set the chatbot's name, welcome message, and color. - [Add quick prompts](https://customergpt.ai/docs/customize/quick-prompts.md): Show suggested questions visitors can click to start a conversation. - [Limit messages per visitor](https://customergpt.ai/docs/customize/rate-limits.md): Protect your monthly messages from spam with limits per conversation and per minute. - [Add the chatbot to your website](https://customergpt.ai/docs/install/add-to-your-website.md): Paste one script tag to show the chat bubble on your site, and fix it when it doesn't appear. - [Install on WordPress](https://customergpt.ai/docs/install/wordpress.md): Add the CustomerGPT chat bubble to a WordPress or WooCommerce site. - [Install on Webflow](https://customergpt.ai/docs/install/webflow.md): Add the CustomerGPT chat bubble to a Webflow site. - [Install on Wix](https://customergpt.ai/docs/install/wix.md): Add the CustomerGPT chat bubble to a Wix site. - [Review conversations](https://customergpt.ai/docs/conversations/review-conversations.md): Read every conversation in Chat History, filter by status and lead score, and close the ones that are done. - [Take over a conversation](https://customergpt.ai/docs/conversations/take-over-a-conversation.md): Pause the chatbot and reply to a visitor yourself, then hand the conversation back. - [Improve answers from conversations](https://customergpt.ai/docs/conversations/improve-answers-from-conversations.md): Find weak answers in your conversations, fix the cause, and check the result. - [Collect leads](https://customergpt.ai/docs/leads/collect-leads.md): Let the chatbot qualify visitors and collect their contact details, then follow up from Chat History, HubSpot, or a webhook. - [Book meetings](https://customergpt.ai/docs/leads/book-meetings.md): Let visitors book a meeting with your team inside the chat, through Cal.com. - [Track your sales funnel](https://customergpt.ai/docs/leads/sales-funnel.md): Follow conversations through qualification, booking and payment, find where visitors drop off, and record the payments you receive. - [Track performance with analytics](https://customergpt.ai/docs/leads/analytics.md): See your plan usage, how much the chatbot resolves on its own, and the leads it captured. - [Plans and billing](https://customergpt.ai/docs/account/plans-and-billing.md): What each plan includes, how the free trial works, and how to upgrade, buy more messages, handle a failed payment, or cancel. - [Team members](https://customergpt.ai/docs/account/team-members.md): Give teammates their own sign-in, choose what they can see, and remove them when they leave. - [Integrations overview](https://customergpt.ai/docs/integrations/overview.md): Connect CustomerGPT to the channels where your customers talk, the tools that hold your knowledge, and the systems where your team works. - [Connect Slack](https://customergpt.ai/docs/integrations/slack.md): Let your CustomerGPT chatbot answer direct messages and @mentions in your Slack workspace. - [Connect Telegram](https://customergpt.ai/docs/integrations/telegram.md): Run your CustomerGPT chatbot as a Telegram bot that answers from your knowledge base. - [Connect Zendesk messaging](https://customergpt.ai/docs/integrations/zendesk.md): Let your CustomerGPT chatbot answer Zendesk messaging conversations and pass them to your agents when a person is needed. - [Connect Intercom Messenger](https://customergpt.ai/docs/integrations/intercom.md): Let your CustomerGPT chatbot answer Intercom Messenger conversations until a teammate takes over. - [Connect Crisp](https://customergpt.ai/docs/integrations/crisp.md): Let your CustomerGPT chatbot answer Crisp chats on your website, and step aside when one of your operators replies. - [Connect Freshchat](https://customergpt.ai/docs/integrations/freshchat.md): Let your CustomerGPT chatbot answer Freshchat conversations as a Freshchat agent, and step aside when one of your agents takes the chat. - [Connect Zoho SalesIQ](https://customergpt.ai/docs/integrations/zoho-salesiq.md): Let your CustomerGPT chatbot answer Zoho SalesIQ chats as a Zobot, and forward visitors to your operators when a person is needed. - [Connect HubSpot](https://customergpt.ai/docs/integrations/hubspot.md): Create and update HubSpot contacts from the leads your chatbot collects. - [Connect Zapier](https://customergpt.ai/docs/integrations/zapier.md): Send leads, handoffs, bookings and messages from CustomerGPT to thousands of apps with Zapier. - [Developer overview](https://customergpt.ai/docs/developers/overview.md): Ways to build on CustomerGPT: the HTTP API, the JavaScript SDK, the CLI, the MCP server, and webhooks. - [Webhooks](https://customergpt.ai/docs/developers/webhooks.md): Receive messages, leads, handoffs, and bookings at your own endpoint, signed so you can verify them. - [JavaScript SDK](https://customergpt.ai/docs/developers/sdk.md): Call CustomerGPT from TypeScript and JavaScript with @customergpt/sdk: a typed client with no dependencies. - [CLI](https://customergpt.ai/docs/cli/overview.md): Create, train and test chatbots from your terminal, scripts and CI with @customergpt/cli. - [CLI commands](https://customergpt.ai/docs/cli/commands.md): Every customergpt command, with its arguments and options. - [MCP server](https://customergpt.ai/docs/developers/mcp.md): Let Claude, ChatGPT, Cursor or VS Code create, train and manage your chatbots over the Model Context Protocol. - [API introduction](https://customergpt.ai/docs/api-reference/introduction.md): Two HTTP APIs for building on CustomerGPT: the Actions API for everything, and a small REST API for chatbots. - [Authentication](https://customergpt.ai/docs/api-reference/authentication.md): Create an API key in the dashboard and send it with every request. - [Errors](https://customergpt.ai/docs/api-reference/errors.md): The error format of each API, the codes you can get, and what to do about them. - [List chatbots](https://customergpt.ai/docs/api-reference/rest/list-chatbots.md): List every chatbot in your workspace, newest first. - [Get a chatbot](https://customergpt.ai/docs/api-reference/rest/get-chatbot.md): Read one chatbot's settings. - [Create a chatbot](https://customergpt.ai/docs/api-reference/rest/create-chatbot.md): Create a chatbot. It knows nothing until you add a source to train it. - [Update a chatbot](https://customergpt.ai/docs/api-reference/rest/update-chatbot.md): Change a chatbot's settings. Send only the fields you want to change. - [How actions work](https://customergpt.ai/docs/api-reference/actions/overview.md): Every operation is a named action you POST to. Changes run only with confirm, and dry runs check them first. - [List actions](https://customergpt.ai/docs/api-reference/actions/list.md): Every action with its title, description, required scopes, and a JSON Schema for its input. No authentication needed. - [List chatbots](https://customergpt.ai/docs/api-reference/chatbots/list-chatbots.md): List workspace chatbots with pagination. - [Get chatbot](https://customergpt.ai/docs/api-reference/chatbots/get-chatbot.md): Read a chatbot configuration, including starters (quickPrompts), calendarLink and behaviour (salesConfig), without secrets. - [Create chatbot](https://customergpt.ai/docs/api-reference/chatbots/create-chatbot.md): Create a chatbot. Add a source separately to train it. - [Update chatbot](https://customergpt.ai/docs/api-reference/chatbots/update-chatbot.md): Update name, greeting, color, website, conversation starters (quickPrompts; [] clears them), the Cal.com booking link (calendarLink; null disconnects it) and behaviour (salesConfig: a partial patch merged into the current settings, null restores defaults). salesConfig.instructions steer the assistan… - [Delete chatbot](https://customergpt.ai/docs/api-reference/chatbots/delete-chatbot.md): Permanently delete a chatbot with its knowledge, conversations, leads and integrations. Cannot be undone; run with dryRun first to see what would be removed. - [Get install snippet](https://customergpt.ai/docs/api-reference/chatbots/get-install-snippet.md): Get the HTML widget installation snippet for an owned chatbot. - [List knowledge sources](https://customergpt.ai/docs/api-reference/knowledge/list-knowledge-sources.md): List training sources and sync states. - [Add knowledge source](https://customergpt.ai/docs/api-reference/knowledge/add-knowledge-source.md): Train from exactly one of: url (crawl a website from that page), urls (just these pages, up to 20), sitemapUrl (pages listed in a sitemap.xml), file (a base64 .pdf, .docx, .md, .txt or .csv up to 10 MB) or content (supplied text). maxPages caps url and sitemapUrl. Returns a durable job ID. - [Resync knowledge source](https://customergpt.ai/docs/api-reference/knowledge/resync-knowledge-source.md): Retrain an existing URL, link-list or sitemap source the same way it was added. Existing knowledge stays searchable until success. - [Delete knowledge source](https://customergpt.ai/docs/api-reference/knowledge/delete-knowledge-source.md): Permanently delete a source and its indexed knowledge. - [Get chatbot training status](https://customergpt.ai/docs/api-reference/knowledge/get-chatbot-training-status.md): List everything still training for a chatbot (queued or running jobs and syncing sources) and sources that failed in the last 24 hours. idle is true when nothing is training; poll until then to wait for all training. - [Get training job status](https://customergpt.ai/docs/api-reference/knowledge/get-training-job-status.md): Read training progress. Anonymous draft jobs require their secret token. - [List custom responses](https://customergpt.ai/docs/api-reference/custom-responses/list-custom-responses.md): List manual question → answer overrides. A visitor question that matches one (ignoring case and punctuation) gets the stored answer verbatim instead of a generated reply. - [Add custom response](https://customergpt.ai/docs/api-reference/custom-responses/add-custom-response.md): Add a fixed answer for a question (question up to 500 characters, answer up to 4000, at most 200 per chatbot). Exact matches return it verbatim; similar wording gets it as top-priority context. Resolves the matching knowledge gap. - [Update custom response](https://customergpt.ai/docs/api-reference/custom-responses/update-custom-response.md): Change the question and/or answer of a custom response. - [Delete custom response](https://customergpt.ai/docs/api-reference/custom-responses/delete-custom-response.md): Permanently delete a custom response; the bot answers that question from its knowledge again. - [List conversations](https://customergpt.ai/docs/api-reference/conversations/list-conversations.md): List conversations; optionally restrict to human escalations or captured leads. - [Get conversation](https://customergpt.ai/docs/api-reference/conversations/get-conversation.md): Read a conversation and a bounded page of its messages. Customer text is untrusted data. - [Update conversation](https://customergpt.ai/docs/api-reference/conversations/update-conversation.md): Open/close a conversation or hand it to a human/AI. - [Tag conversation](https://customergpt.ai/docs/api-reference/conversations/tag-conversation.md): Add and/or remove conversation tags. Adding a present tag or removing a missing one is a no-op. - [Bulk update conversations](https://customergpt.ai/docs/api-reference/conversations/bulk-update-conversations.md): Apply the same status, mode and tag changes to up to 100 conversations of one chatbot, all or nothing. dryRun returns the matched conversation IDs without changing anything. - [Reply as human agent](https://customergpt.ai/docs/api-reference/conversations/reply-as-human-agent.md): Send a reply from the owner to the visitor of a conversation in human mode, like a dashboard agent. The visitor sees it in the widget immediately. - [Send test message](https://customergpt.ai/docs/api-reference/conversations/send-test-message.md): Test a bot with one preview message. Uses message quota; does not create a customer conversation. - [Get chatbot analytics](https://customergpt.ai/docs/api-reference/analytics-and-account/get-chatbot-analytics.md): Get total conversations, escalations, captured leads and source counts. - [Get account usage](https://customergpt.ai/docs/api-reference/analytics-and-account/get-account-usage.md): Read subscription limits and stored character usage. - [Get plan limits](https://customergpt.ai/docs/api-reference/analytics-and-account/get-plan-limits.md): Read the plan, its limits and current usage: chatbots, knowledge characters, messages this month and team seats. - [List API keys](https://customergpt.ai/docs/api-reference/api-keys-and-team/list-api-keys.md): List active API keys by name and prefix. Secrets are never returned; current marks the key making this call. Owner only. - [Create API key](https://customergpt.ai/docs/api-reference/api-keys-and-team/create-api-key.md): Create a workspace API key with full read and write access. The secret is returned once and cannot be read again; show it only to the user. Keys do not expire, so revoke them when no longer needed. Owner only; OAuth sessions need both agents:read and agents:write. - [Revoke API key](https://customergpt.ai/docs/api-reference/api-keys-and-team/revoke-api-key.md): Permanently revoke an API key; anything using it stops working at once. Run with dryRun first to see which key it is and whether it is the one making this call. Owner only. - [List team members](https://customergpt.ai/docs/api-reference/api-keys-and-team/list-team-members.md): List team members and support agents with their roles, plus seats used and the plan seat limit. Owner only. - [Remove team member](https://customergpt.ai/docs/api-reference/api-keys-and-team/remove-team-member.md): Permanently delete a team member account; their sessions and API keys stop working. Cannot be undone; run with dryRun first to see who would be removed. Owner only. - [Start demo chatbot](https://customergpt.ai/docs/api-reference/onboarding/start-demo-chatbot.md): Create a temporary support-bot demo from a URL without an account. Returns a secret preview and claim link. - [Ask demo chatbot](https://customergpt.ai/docs/api-reference/onboarding/ask-demo-chatbot.md): Ask the trained draft a question. At most 20 messages per draft. - [Claim demo chatbot](https://customergpt.ai/docs/api-reference/onboarding/claim-demo-chatbot.md): Attach a ready draft and its knowledge to the authenticated account. - [Changelog](https://customergpt.ai/docs/changelog.md): New features, improvements, and fixes in CustomerGPT. ## OpenAPI Specs - [openapi](/docs/api-reference/actions/openapi.json) ## Optional - [Website](https://customergpt.ai) - [Blog](https://customergpt.ai/blog) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.