Skip to main content

Introduction

Welcome to the ZeroinAI Chat Service API documentation! This API allows you to integrate our advanced AI chat functionalities into your applications, providing your users with a seamless and intelligent conversational experience.

Overview

The ZeroinAI Chat Service API enables you to:

  • Create and manage chat sessions
  • Send user messages and receive AI responses
  • Retrieve conversation history
  • Customize the chat experience with your branding
  • Control token usage and manage costs

Base URL

All API endpoints are prefixed with your service domain followed by:

/micro-apps/for-api-providers/chat-service

Authentication

All requests to this API must be authenticated using an API Key. You will receive your unique API Key from the ZeroinAI admin team.

Include your API Key in the X-API-Key header of every request:

GET /micro-apps/for-api-providers/chat-service/chat-config/
Host: your-api-domain.com
X-API-Key: YOUR_UNIQUE_API_KEY

If the API Key is missing or invalid, you will receive a 401 Unauthorized error.

Getting Started

To get started with the ZeroinAI Chat Service API, follow these steps:

  1. Create a chat session
  2. Send messages and get AI responses
  3. Retrieve chat history
  4. Customize the chat widget