Blits.ai API Documentation

Connect your own apps, websites and channels to Blits.ai bots and agents over REST or WebSocket

REST API
WebSocket API
Global Endpoints

API Overview

There are two ways in. The REST API handles one request and one response at a time. The WebSocket API keeps a connection open in both directions, which is what you need for streaming audio and live transcription.

REST API

Plain HTTP endpoints: send a message, get the bot's answer back. A good fit when each call stands on its own.

  • Works with any HTTP client
  • Stateless communication
  • JSON request/response format

WebSocket API

Keeps one connection open in both directions for voice streaming, live transcription and immediate replies.

  • Streaming audio in real time (TTS/STT)
  • Persistent connection for multiple messages
  • Live conversation state management

Web Widget

Put the full Blits.ai chat on your website with one script snippet. Behavior, branding and security are set in the Blits.ai Platform dashboard.

  • One script snippet that works on any website or web app
  • Theme, behavior and security are all set in one place, the dashboard
  • Voice, files, multiple languages and detailed behavior settings

Base URLs

Use the general endpoint, or pick the regional endpoint closest to your users for better performance.

General Endpoint
REST:https://platform.blits.ai/
WebSocket:wss://platform.blits.ai/

Regional endpoints are there when you have geographic requirements.

Need API Access?

Sign up for a Blits.ai account, get your API credentials and make your first call.