REST API · WhatsApp Business API

WhatsApp Webhooks

React to WhatsApp in real time. Gambot forwards inbound WhatsApp events to your endpoint so your app or agent can respond — without you wiring up Meta Graph webhooks yourself.

Create free account →Read the API docs
Inbound messagesReal-timeJSON payloadYour endpoint

How it works

  • Configure your webhook endpoint in Gambot’s webhook settings.
  • Gambot forwards inbound WhatsApp events (e.g. incoming messages) to your URL as JSON, fire-and-forget.
  • Your service processes the event — create a lead, trigger an agent, update a record — and can reply via the REST API.
  • Pair webhooks with the messaging & conversation endpoints to build a full inbound → action loop.

React to an inbound message

When an event arrives at your endpoint, reply via the API (base URL: https://api.gambot.co.il/api/v1).

# 1) Gambot POSTs an inbound event to your webhook URL (JSON body).
# 2) Your service reacts and can reply within the 24h window:

POST https://api.gambot.co.il/api/v1/messages/send-text
Authorization: Bearer gmbt_your_token

{ "to": "972501234567", "text": "Thanks! We’ll get right back to you." }

Reliable, secure, in your control

Because Gambot manages the underlying Meta webhook subscription, you get a clean, stable payload at a single endpoint — no verification handshakes or Graph subscription management on your side. Configure, and start receiving events.

See the Webhooks section of the developer docs for the exact payload format, headers and delivery semantics.

Start receiving WhatsApp events

Create a free account, connect WhatsApp, and point a webhook at your endpoint.

Frequently asked questions

How do I receive inbound WhatsApp messages?

Configure a webhook endpoint in Gambot; inbound WhatsApp events are forwarded to your URL as JSON in real time. You then react and can reply via the REST API.

Do I need to manage Meta Graph webhooks?

No. Gambot manages the underlying Meta subscription and forwards a clean payload to your endpoint — no verification handshake on your side.

Can I reply automatically to inbound messages?

Yes — from your webhook handler, call the messaging endpoints (send-text within the 24h window, or a template) to respond, or trigger an AI agent via MCP.

Where is the payload format documented?

In the Webhooks section of the developer docs at gambot.co.il/developers/.