Skip to main content
REST API

Your agent, inside
your application.

A simple REST API lets you integrate your AI agent into any software. Send a message, get a response. Authentication via API key. Rate limits and usage tracking included. Build whatever you want.

Terminal

// Send a message

curl -X POST \

"https://app.anydialog.io/v1/chat" \

-H "X-API-Key: cs_live_***" \

-d '{

"message": "What is your return policy?",

"session_id": "sess_8f3k2..."

}'

// Response

{

"reply": "Returns are accepted within 30 days...",

"session_id": "sess_8f3k2...",

"tokens_used": 84

}

Without AnyDialog

Your AI agent only works on your website. You cannot embed it in your mobile app, CRM, or internal tools.

With AnyDialog

Full REST API with token auth, session management, and rate limiting. Integrate your agent into any software.

Real scenario

F

Viktor Kozlov

CTO — 80-person SaaS product company, Moscow

The challenge Federico, Lead Developer at a fintech startup, needed AI-powered answers inside their mobile banking app — not just on a website widget.

The solution Using the AnyDialog REST API, the team integrated their agent into the mobile app in one afternoon. Token auth, session management, and conversation history — all via standard HTTP endpoints.

How it works

REST API integration in three steps.

01

Get your API key

Generate an API key from your agent settings. Keep it secure.

02

Call the API

POST /api/v1/chat with a message and session ID. Get back an instant response.

03

Build your interface

Your design, your control. Webhooks for real-time updates if needed.

API capabilities

Message API

Send messages and get responses instantly. Stream mode for real-time output.

Session management

Create sessions, retrieve history, manage state across calls.

Conversation webhooks

Real-time events: message received, response sent, session ended.

Rate limiting & quotas

Control costs with per-minute rate limits and usage tracking.

Authentication

API key authentication. Bearer token in header. Automatic key rotation.

Full documentation

OpenAPI spec, code samples (Node, Python, cURL), Postman collection.

The API is its own channel

The REST API is a first-class channel in AnyDialog — alongside website widget, Telegram, WhatsApp, and voice.

Website
Integrations
Internal Systems

API access on every plan

Integrate into your product without limits — no extra fees.

Plan Price API Access
Starter Recommended
€49/mo
€39/mo annual (save 20%)
Get started
Professional
€149/mo
€119/mo annual (save 20%)
Get started
Business
€299/mo
€239/mo annual (save 20%)
Get started
Enterprise
€599/mo
€479/mo annual (save 20%)
Get started

Integrate AI into anything.

REST API with full documentation. Deploy in your own UI in minutes.