Multi-tenant WhatsApp business messaging platform

We built a multi-tenant platform that lets businesses run WhatsApp campaigns, manage conversations in a shared inbox and automate customer messaging.

Sector: Communication. Platforms: Web, API. Client: kept confidential.

The challenge

Agencies and businesses needed one place to manage WhatsApp templates, broadcasts and customer conversations across several teams and brands, with room to add more channels later.

What we built

We designed the platform to be API-first and multi-tenant. WhatsApp sits behind a provider interface, so email, SMS and other channels can be added without rewriting campaigns or the inbox.

Campaigns send through background workers, and delivery and read statuses flow back from Meta’s webhooks to update every recipient.

Key features

  • Multi-tenant workspaces with role-based access
  • Template creation and approval tracking
  • Contact segments with live match counts
  • Campaigns with per-recipient delivery tracking
  • Shared inbox with notes, mentions, labels and assignment
  • Audited administrator impersonation

Engineering notes

  • Rotating refresh tokens and permissions re-checked against the database on every request keep tenants isolated.
  • Every database migration is validated in CI before release.

Technology

  • FastAPI
  • SQLAlchemy
  • PostgreSQL
  • Redis
  • Celery
  • React
  • TypeScript
  • Tailwind CSS
  • Cloud Run
  • GitHub Actions