Skip to content
Chat Data logo

Connectors / AI · HTTP Connector

Chat Data integration and API

Create and train a chatbot, send a message and create a sub-user in Chat Data, and start a workflow when Chat Data sends “Chat message received”.

What can you do with Chat Data on Tray.ai?

Chat Data is a platform for building AI chatbots trained on your own documents, websites, and Q&As, then deploying them on sites and messaging channels. Tray.ai connects to Chat Data through the HTTP Connector, so your workflows can call the Chat Data API alongside the rest of your stack.

  • When Chat Data sends “Lead submitted”, create a lead in your CRM for the sales team.
  • When Chat Data sends “Live chat escalated”, alert the support team in your team chat.
  • Retrain a chatbot whenever articles change in your knowledge base.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://api.chat-data.com/api/v2

Set it up

Connect Chat Data to Tray.ai

Each step uses Chat Data's own API details, from its documentation.

Save Chat Data's API token

Save the token Chat Data issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.chat-data.com/api/v2 as the base URL. Or paste a cURL example from Chat Data's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List chatbots”

It's one of 15 documented actions, under Chatbots. The response comes back as data the next step can map into your other apps.

Start workflows from Chat Data events

Give Chat Data the URL of a Tray.ai webhook trigger. “Chat message received” can then start a workflow, and so can 2 other events.

Workflows to build with Chat Data

Connect Chat Data with HubSpot and Zendesk

Each one uses actions and events from Chat Data's own API documentation.

Send Chat Data leads to HubSpot

When

Lead submitted

Then

  1. Get a conversation from Chat Data for the chat history
  2. Create or update the contact in HubSpot
  3. Log the conversation as a note on the contact in HubSpot

With HubSpot

Open Zendesk tickets when Chat Data escalates a chat

When

Live chat escalated

Then

  1. Get a conversation from Chat Data
  2. Create a ticket in Zendesk with the conversation attached

With Zendesk

Apps you can build on Chat Data data

Internal tools your team can build with an AI assistant, each one using Chat Data calls from its API documentation.

Chatbot lead inbox

Collects leads submitted through chatbots with their conversation so sales can follow up.

Escalated chat queue

Lists chats escalated to a person and lets an agent reply with a live chat message.

Chatbot answer review

Lists conversations per chatbot so a support lead can read answers and retrain a bot.

Chat Data MCP server for AI agents

Build an MCP server on Chat Data in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List chatbots
  • Send a message
  • List conversations
  • List sub-users
  • Create and train a chatbot
  • Retrain a chatbot
  • Update chatbot settings
  • Delete a chatbot

What the Chat Data API covers

4 resources and 15 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Chatbots

  • List chatbots
  • Create and train a chatbot
  • Retrain a chatbot
  • Update chatbot settings
  • Delete a chatbot

Messages

  • Send a message
  • Send a live chat message

Conversations

  • List conversations
  • Get a conversation
  • Delete a conversation
  • Attach a lead to a conversation

Sub-users

  • List sub-users
  • Create a sub-user
  • Update a sub-user
  • Delete a sub-user

Events Chat Data can send to a Tray.ai webhook trigger

  • Chat message received
  • Live chat escalated
  • Lead submitted

Checked against Chat Data's own documentation on 2026-10-22

chat-data.com/api-reference

Frequently asked questions

What can a Tray.ai workflow do in Chat Data?

The Chat Data API documents 15 actions across 4 resources (Chatbots, Messages, Conversations, Sub-users). For example: List chatbots; Send a message; List conversations. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Chat Data?

The Chat Data API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Chat Data events can start a Tray.ai workflow?

Chat Data sends 3 events to a webhook URL, for example: Chat message received; Live chat escalated; Lead submitted. A Tray.ai webhook trigger receives them and starts a workflow.

See Chat Data working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.