Developers
Build on MonoChat with APIs, functions and your own AI agents.
Connect your systems with the REST API and webhooks, write custom functions in JavaScript, give AI agents your tools through function tools and MCP, and run the agent framework you prefer on WhatsApp and every other channel.
- REST API
- Webhooks
- JavaScript SDK
- MCP
- Agent Harness
The building blocks
Everything a developer can extend, from a single API call to an agent that works a case end to end.
-
REST API and webhooks
REST endpoints and webhook events for event-driven sync with your CRM, ERP, custom apps and legacy systems.
Learn more -
Custom functions
Your own JavaScript inside MonoChat: custom flow nodes, server-side methods, API endpoints and scheduled cron jobs.
Learn more -
Custom views
Screens for your team’s own processes, built as client-side functions with the Client SDK.
Learn more -
AI function tools
Tools that let assistants call your APIs and trigger workflows, with schemas, validation, permissions and logs.
Learn more -
MCP clients
Connect any MCP server; its tools are discovered and can be given to AI nodes and AI agents.
Learn more -
Agent Harness
Run the built-in agent, Claude Agent SDK, OpenAI Agents SDK, Pi, hosted agents or your own endpoint in your flows.
Learn more
Custom functions
Write your own logic in JavaScript
Every function receives an sdk object. What it offers depends on where the function runs: in the browser or on the server.
- Client SDK for browser functions, mainly Custom Views
- Server SDK for every other function type
- Function types: Custom Flow Node, Server Side Method, Custom View, AI Tool, Cron Job and Custom App Setup
- Server Side Methods can be exposed as API endpoints for your other systems
POST https://app.monochat.ai/api/<slug>/custom-functions/template-app/api/template/send.js
Authorization: Bearer <API_TOKEN>
Content-Type: application/json Sending an approved WhatsApp template with the WhatsApp Template API app. Your tenant slug is the part after /tenants/ in your MonoChat address.
Bring your own agent
Your agent framework, on every channel
Add an AI Harness once, then use it from an AI Agent node in any flow or start runs from code. MonoChat brings the conversations, the channels and the handover to your team.
- Seven harness providers: MonoChat, OpenAI Agents SDK, Claude Agent SDK, Pi, OpenAI Agents API, Claude Managed Agents and Custom
- Custom: your own server built with LangGraph, Google ADK, CrewAI or your own code, connected with an endpoint URL and a shared secret
- Main, fallback and fast models per agent node, and a budget for every run
- Start, read and cancel runs from custom functions and API clients; every run is recorded with its model calls, tool calls and result
-
Claude Agent SDK on WhatsApp
Run a Claude Agent SDK agent on WhatsApp with MonoChat. -
OpenAI Agents SDK on WhatsApp
Build a WhatsApp agent with the OpenAI Agents SDK. -
Bring your own agent
Connect LangGraph, ADK or custom code with an endpoint. -
Why agents need a fallback model
Keep customer conversations going when a model fails.
Developer APIs
Two API-only apps for your own systems
Install them from MonoStore and call them with an API token from Profile › API Tokens.
-
WhatsApp Template API
Send an approved WhatsApp template from your CRM, ERP, e-commerce site or any backend with one API call.
- List templates, send a template, get upload credentials for media headers
- Header, body, button and carousel variables
- Returns the conversation id and a direct link to it
- Creates the customer if the number is new
-
Session Link
Get a direct link to a customer’s conversation from your own systems, by phone number or email.
- Creates the customer and conversation if they do not exist yet
- Assign to an agent by id or email, or to a workgroup
- Same customer on the same channel, same conversation
- Works with WhatsApp, Instagram and your other connected channels
Quick start
From a free workspace to your first API call or agent.
-
Open a workspace
Sign up at app.monochat.ai and start on the free plan.
-
Connect a channel
Connect WhatsApp, Instagram, web chat or any other channel you want to build for.
-
Create an API token
Create a token under Profile › API Tokens. It is shown only once, so copy it right away.
-
Build
Install a developer app, write a function, or add an MCP client or AI Harness under Settings › Automation.
Documentation
Reference and guides on support.monochat.ai.
-
SDK overview
The function SDK, its client and server contexts and the function types. -
Client-side SDK
The API available to browser functions such as Custom Views. -
Server-side SDK
The API available to flow nodes, methods, AI tools, cron jobs and app setup. -
Functions
Create and manage functions and choose their type. -
MCP clients
Connect an MCP server and give its tools to AI nodes and agents. -
AI agents
Harnesses, the AI Agent node, budgets and starting agents from code. -
AI agent runs
Every run’s models, tool calls, budget use and result, for debugging. -
WhatsApp Template API
Setup and API reference for sending templates from your systems. -
Session Link
Setup and API reference for conversation links. -
Changelog
What changed in MonoChat, release by release.
FAQ
Developer questions
What you can build, and how.
Does MonoChat have an API?
Yes. MonoChat offers REST endpoints and webhook events for integrations, custom functions whose server-side methods can be exposed as API endpoints, and API-only apps such as WhatsApp Template API and Session Link. API calls use a token you create under Profile › API Tokens.
Which language are custom functions written in?
JavaScript. Each function receives an sdk object: the Client SDK for browser functions such as Custom Views, and the Server SDK for flow nodes, server-side methods, AI tools, cron jobs and custom app setup.
How do I send a WhatsApp template message from my own system?
Install the WhatsApp Template API app, create an API token, call template/list.js to see your approved templates and template/send.js to send one. When the customer replies, the conversation lands in your MonoChat inbox.
Can I connect my own MCP server?
Yes. Add it under Settings › Automation › AI MCP Clients with its endpoint and, if needed, Basic or Bearer authentication. MonoChat connects over the SSE transport, reads the server’s tools and lets you give them to AI nodes and AI Agent nodes.
Can I run an agent built with the Claude Agent SDK, OpenAI Agents SDK or LangGraph?
Yes. Choose the Claude Agent SDK or OpenAI Agents SDK as the harness provider, or choose Custom and enter your endpoint URL and a shared secret for an agent built with LangGraph, Google ADK, CrewAI or your own code.
Can I start an AI agent from code?
Yes. Custom functions and API clients can start, read and cancel agent runs with the aiAgentRuns create, show and cancel methods. Every run is recorded in Settings › Automation › AI Agent Runs.
Can MonoChat engineers build the integration for us?
Yes. Development Packs are prepaid MonoChat development days for integrations, automations and custom features. They never expire and can be combined.
Keep exploring
-
Blog
Guides on WhatsApp API, pricing, templates and automation. -
News
Latest MonoChat product updates. -
Changelog
Every MonoChat release: new features, improvements and fixes. -
Case Studies
See how companies use MonoChat in real operations. -
Alternatives
Compare MonoChat with other platforms. -
Free Tools
Free WhatsApp link, QR code and cost calculators.
First month of Growth on us
Start building on MonoChat
Open a free workspace, create an API token and make your first call today.
One code per business • 30 days to redeem • No card needed