Docs
Our API follows the Vercel AI SDK way of doing things, so inputs and responses and standardised with that.
API keys are currently unused, but will be used in the future.
Dashboard
Chatbots
Creating a Chatbot
To create a chatbot, click the "Create Chatbot" button in the dashboard. You will be prompted to enter a name for your chatbot.
Widget
Usage
Although HeadlessGPT primarily focuses on headless options, we do also have a widget available for users who don't want to go the headless route.
The widget is a simple chat interface that you can embed on your website.
Place the following script tag in your HTML file, preferably just before the closing </body>
tag:
Using the API gives you greater control over the chatbot's appearance and behavior, while the widget is a quick and easy way to get started.
You have full control over how your chatbot is implemented, with our API providing you with the tools you need to create a seamless chatbot experience.
API
Usage
AI SDK Example:
Using the script is a simplest way to embed the chatbot on your website. You simply place the script tag in your HTML file, and the chatbot will be embedded on your website. It's that simple!
To use the API, you need to make a GET request to the following endpoint: