EK Hub API

Introduction

Build your own chat UI on top of EK Hub's AI agents and knowledge base.

The Headless Chat API allows organisations to run AI-powered chat conversations programmatically via REST API. Instead of using the pre-built embedded JavaScript widget, you can build your own custom chat interface.

What You Can Do

  • Build your own custom chat UI (web, mobile, desktop)
  • Integrate AI chat into internal tools
  • Build automated chat workflows
  • Create white-label chat solutions

Base URL

Production: https://api.your-domain.com
Local:      http://localhost:3002

How It Works

Your App  →  X-API-Key: api_xxx  →  EK Hub API  →  AI Response

Your backend makes API calls with your organisation's API key. The API handles everything: finding relevant knowledge base content, generating AI responses, and managing conversation history.

Interactive Swagger Docs

A live Swagger UI is available for testing endpoints directly in your browser. Click the "Swagger" link in the top navigation bar to open it.

Next Steps

On this page