Skip to content

API reference

Chat Data API

Create and train chatbots, send messages, and read conversations, leads and analytics. Every page sends a real request with your key and gives you code to copy.

Base URL https://api.chat-data.com/api/v2openapi.jsonllms.txt
Your first callPOST /chat

Copied code reads $CHAT_DATA_API_KEY

curl 'https://api.chat-data.com/api/v2/chat' \  -H "Authorization: Bearer $CHAT_DATA_API_KEY" \  -H 'Content-Type: application/json' \  -d '{  "messages": [    {      "role": "assistant",      "content": "Hi! How can I help you today?"    },    {      "role": "user",      "content": "What are your opening hours?"    }  ],  "chatbotId": "6650f1c2a9e4b83d2c7a1f05"}'
Loading…
  1. 1Get an API keyPaste one in the setup bar, or sign in to pick one.Where do I get a key?
  2. 2Choose a chatbotIts id fills every sample and request.
  3. 3Send your first messagePress Send in "Your first call", then copy the code into your server.Go to your first call

Concepts

Setup guides (Shopify, WordPress, WhatsApp, Slack and more) live in the Chat Data cookbook.

Endpoints

Last updated October 14, 2026