LeenOpsDocs
Developer

Chatbot API Reference

Build custom chatbot integrations.

Endpoints

MethodPathPurpose
POST/api/cxo/configWidget or custom client handshake.
POST/api/cxo/chatbotSubmit a user message.
GET/api/cxo/historyPoll session history.
GET/api/cxo/streamStream/poll accepted run output for widget sessions.
GET/POST/api/cxo/api-keysManage API keys from the dashboard/server side.
GET/api/cxo/analyticsReview usage and quality.

Use product-scoped keys for external products. The config handshake exchanges a scoped key for a short-lived widget JWT; /api/cxo/chatbot still accepts direct API-key fallback for backward compatibility. Use management endpoints only from authenticated dashboard or trusted server code.

On this page