Resources

API Reference

Reference endpoints to manage chatbots, fetch widget configurations, and query vector databases.

POST/v1/chatbot

Create a new chatbot for a specified domain.

{
  "name": "Widget Help",
  "domain": "leetcode.com",
  "welcomeMessage": "Hi!"
}
GET/v1/chatbot/config/:apiKey

Retrieve configuration and theme settings for the chatbot widget.

Returns a config configuration payload (JSON).
POST/v1/chatbot/ask

Submit a user query to the RAG vector engine and stream SSE responses.

{
  "apiKey": "cb_...",
  "question": "What is the pricing?",
  "sessionId": "UUID"
}