v1.0.0-beta.9 Available

The
WhatsApp Toolkit
for Developers.

Study the protocol, automate workflows, and build rich integrations. A high-performance Go engine with embedded PocketBase for persistence, dynamic webhooks, and a powerful real-time dashboard.

ZapLab Dashboard
What's New in beta.9

11 features. 1 performance overhaul.

Auto-Reply Rules

Priority-ordered rules with condition chains (text pattern, sender, chat, hour window) and reply/webhook/script actions.

Scheduled Messages

Queue messages for future delivery. Minute-tick worker fires pending sends with full status lifecycle tracking.

Prometheus Metrics

Public /metrics endpoint: connection state, event queue depth, receipt latency p50/p95, delivery stats.

DB Performance

7 composite indexes, 12 redundant indexes removed, 64 MB cache, partial msgID index. Frames module queries: 3× faster.

Reaction Tracking

Encrypted reactions decrypted and persisted. Stats: top emojis and top reactors per chat.

Mention Tracker

Every @mention logged with is_bot flag detection and per-JID stats.

Webhook HMAC + Retry

SHA-256 request signing, exponential retry (0 s → 5 s → 25 s), and a full delivery log per attempt.

Contact Cache

Live contact info cached asynchronously. Searchable via API with populate, refresh, and delete operations.

Built for Reliability

ZapLab combines the speed of Go with the simplicity of PocketBase to provide a robust environment for WhatsApp exploration.

Embedded Database

Every message, receipt, and event is persisted in a local SQLite database powered by PocketBase. No external DB setup required.

  • Automatic migrations
  • High-performance indexing
  • Media file storage built-in

Powerful REST API

Control WhatsApp via simple HTTP calls. Send text, media, polls, reactions, and manage groups with a single binary.

  • JSON-based payloads
  • Multi-platform binaries
  • Secured with API Tokens

Insights & Analytics

Monitor your instance with a real-time Dashboard. Visualize stats, inspect events, and browse message history with diffs.

  • Event Browser & Inspector
  • Message Edit Diffs
  • CSV Exporting capability
Automation UI

Automation & Integrations

From intelligent routing to full bot logic — ZapLab gives you the building blocks to automate any WhatsApp workflow without writing a custom service.

Auto-Reply Rules Engine

Priority-ordered rules with condition chains (text pattern, sender, hour window) and reply / webhook / script actions. No code required.

Webhook Routing + HMAC Signing

Route by event type or text pattern. Every outgoing request is HMAC-SHA256 signed and retried with exponential backoff. Full delivery log included.

JavaScript Scripting Sandbox

Write and run scripts with full WhatsApp API access: send messages, query the DB, call external HTTP endpoints, and trigger on any event.

Scheduled Messages

Queue messages for any future time. Minute-tick worker dispatches pending sends automatically — integrates with n8n and other tools.

Advanced Protocol Exploration

Send Raw Payload

The primary tool for researchers. Send any arbitrary waE2E.Message JSON directly to the protocol layer. Explore hidden message types and experimental features.

{ "message": { "conversation": "Hello Protocol!" } }

Device Spoofing

Impersonate different device types (Android, iOS, Companion) during the WebSocket handshake to study how the protocol behaves across platforms.

--device-spoof android --device-spoof ios

The Stack

Go
PocketBase
whatsmeow
Docker