Getting Started

Developer Overview

Welcome to the Docimal Developer Guide! Whether you're embedding a simple chat widget or building complex integrations, this guide will help you implement AI-powered conversations in your application.

DocimalDocimal

Choose Your Integration Path

API v2

The latest API with structured errors, streaming via SSE, and cursor-based pagination.

JavaScript Embed Integration

Perfect for web developers who want rich chat functionality with minimal complexity. The JavaScript embed script provides:

  • Simple Integration: Add to any website with one script tag.
  • Advanced Features: Event listeners, custom actions, and custom initial message.
  • Identity Verification: Secure user sessions for authenticated apps and contact management.
  • Real-time Events: React to user messages and AI responses.
JS

Complete JavaScript Embed Guide

Get the full implementation guide with examples, advanced features, and best practices

REST API Integration

Ideal for backend developers who need complete control over AI conversations. The REST API provides:

  • Chat API: Send messages and receive AI responses with streaming support
  • Agent Management: Create, update, and configure AI agents programmatically
  • Data Access: Retrieve conversations, leads, and analytics
  • Webhooks: Real-time notifications for chat events

Complete REST API Guide

Get the full API documentation with examples, authentication, and best practices

Common Integration Patterns