Mohammed Bawazir
Back to work

Managed WhatsApp sessions & messaging

WhatsApp Soft

A WhatsApp session service used as a managed provider for products like Wapi: provisioning, QR connection, sending, and account limits.

WhatsApp Soft

Stack

  • Next.js
  • TypeScript
  • tRPC
  • Prisma
  • Baileys
  • Socket.io
  • Better Auth

What it is

WhatsApp Soft handles WhatsApp sessions as infrastructure: connect a number, keep session state, and send messages through an API that other systems can call.

Features

  • QR session

    Connect a number, keep session state, and show it clearly.

  • API for other products

    Wapi and similar systems send through this service, not by talking to WhatsApp themselves.

  • Account limits

    Provisioning and usage limits sit on the subscriber key.

Components

Inside: a session process, a dashboard for connection state, and HTTP APIs. Management uses a service token; sending uses a subscriber key.

  • 01

    Sessions

    Create or update a subscriber WhatsApp session and keep its state.

  • 02

    QR connection

    Scan a QR code and keep the session alive.

  • 03

    Send API

    Other products, like Wapi, send messages through this HTTP API.

  • 04

    Limits

    Provisioning and usage limits sit on the subscriber key.

The work

I worked on the session service: creating a subscriber, QR connection, sending from other products, and keeping session state visible.

Next project

Alshaheen System