matiasbattocchia/open-bsp-api

Open-source WhatsApp + Instagram Business platform

What it solves

OpenBSP API provides a self-hostable, multi-tenant platform for managing WhatsApp and Instagram Business messaging. It simplifies the process of sending and receiving messages, managing contacts, and integrating these channels into AI-driven workflows or business operations without needing to build the messaging infrastructure from scratch.

How it works

Built with Deno and Postgres (via Supabase), the project acts as a bridge between the official Meta Cloud APIs and the user's application. It uses a PostgREST API, meaning every database table is an endpoint, allowing users to interact with the platform via plain REST or Supabase SDKs. It supports webhooks for real-time message reception and provides an MCP (Model Context Protocol) server to give AI agents direct access to messaging tools.

Who it’s for

  • Individual Businesses: To manage their own customer communications.
  • Service Providers: To become Meta Business Partners and offer messaging services to other organizations.
  • Developers: Who want to integrate WhatsApp/Instagram messaging into AI agents or automation tools like n8n.

Highlights

  • AI-Agent Ready: Includes an MCP server for agentic access and built-in tools for lightweight agents (SQL, HTTP, Calculator).
  • Multi-tenant Architecture: Native support for multiple organizations with isolated environments.
  • SaaS-Ready: Designed for easy transition to an official Meta solution provider.
  • Extensible Integrations: Official n8n nodes and a Claude Code plugin for real-time messaging bridging.
  • Media Processing: Ability to extract information from audio, images, video, and PDFs.

Related

  • Project
  • Project
  • Project
  • Project
  • Project