Skip to main content
Base URL: https://whatsrb.com/api/v1 — All requests require Authorization: Bearer YOUR_API_KEY

Resources

Agents

Create AI agents with system prompts, allowed actions, and structured fields. Run them on inbound messages or via API.

Agent Runs

Trigger agent runs and inspect results — structured output, tokens, latency, and conversation context.

Business Accounts

Connect WhatsApp Business accounts via Meta OAuth. Manage settings and human takeover duration.

Messages

Send text, images, documents, and template messages. Outbound messages auto-extend human takeover pauses.

Conversation Pauses

Pause AI agents per-conversation when a human takes over. Auto-expires, auto-extends on outbound.

Templates

Create, sync from Meta, and send pre-approved message templates with dynamic variables.

Webhooks

Register endpoints for real-time events: agent runs, messages, statuses, pauses, and quota alerts.

Sessions

Manage WhatsApp Web sessions via Baileys bridge. For dev/testing — use Business Accounts in production.

Usage

Monitor plan limits, message throughput, agent runs, and delivery metrics.

Authentication

Every request must include your API key as a Bearer token:
Generate your key from the WhatsRB Dashboard under Settings → API Keys.
Keep your API key secret. Never expose it in client-side code or public repositories.

Response format

All responses return JSON. Successful responses wrap data in a data key:
List endpoints include a meta key with pagination info:

Error format

Errors return a JSON object with a human-readable error key: