Developer API
10references · REST API for building integrations
Everything you need to integrate Sarufi chatbots into your applications via REST API.
Getting Started
Build chatbots, manage flows, and connect channels with the Sarufi REST API.
Authentication
Authenticate API requests using your workspace Bearer token.
Workspace
Verify your API key and retrieve workspace information.
Chatbots
Create, list, retrieve, update, and delete chatbots in your workspace.
Flows
Create and manage conversation flows and meta flows for a chatbot.
Conversations
List and inspect conversations and messages for a chatbot.
Chat
Create chat sessions and send messages to interact with published chatbot flows via API.
Integrations
Connect chatbots to WhatsApp, REST API, and web widget channels.
Knowledge Bases
Create and manage knowledge bases, add sources, and connect them to chatbots.
Analytics
Retrieve conversation and message metrics for a chatbot.