Webhooks
Bibu posts each hot lead, or each reply, to your address as it comes. You have nothing to poll.
Add a webhook
In API & MCP › Webhook, paste an https address and choose what it gets: hot leads only, or every reply. Then click Send a test. Through the API: add_webhook, then test_webhook.
Events
| Event | When |
|---|---|
lead.hot | A hot lead: Bibu sorted a reply as interested or meeting (once per person and webhook), within a minute. |
reply.received | Any reply (webhooks with events replies), 2 minutes after it arrives so it is sorted first. |
test | “Send a test” (test_webhook): a made-up lead. |
The payload
One JSON POST per event:
{
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"type": "lead.hot",
"createdAt": "2026-11-24T09:58:00.000Z",
"lead": {
"firstName": "Claire",
"lastName": "Martin",
"email": "[email protected]",
"title": "Head of E-commerce",
"company": "Maison Lune",
"companyDomain": "maisonlune.fr",
"linkedinUrl": "https://www.linkedin.com/in/claire-martin",
"country": "France"
},
"campaign": {
"id": "a3f1c2d4-8e9b-4f0a-b1c2-d3e4f5a6b7c8",
"name": "D2C brands"
},
"stage": "interested",
"hot": true,
"reply": {
"subject": "Re: An idea for Maison Lune",
"body": "Yes, happy to talk next week.",
"at": "2026-11-24T09:58:00.000Z"
},
"conversationUrl": "https://meetbibu.com/replies?tab=all&c=6f0c2a1e-4b7d-4c1a-9e3f-2d8b5a7c1e90"
}Headers
| Name | Description |
|---|---|
X-Bibu-Event | The event's type. |
X-Bibu-Delivery | The delivery's id, the same on every try: deduplicate on it. |
X-Bibu-Signature | t=<unix seconds>,v1=<hex>: the signature to check. |
Check the signature
Check each delivery before you act on it. v1 is the HMAC-SHA256 of t, a dot and the raw body, with the webhook's signing secret (whsec_…: “Show the signing secret” in the settings, or add_webhook's answer). Read the raw body, before any JSON parser. Compare in constant time, and refuse a t older than 5 minutes.
Node.js
import { createHmac, timingSafeEqual } from "node:crypto";
// rawBody: the request's body as a string, exactly as it arrived.
export function fromBibu(rawBody, signatureHeader, secret) {
const parts = Object.fromEntries(
signatureHeader.split(",").map((part) => part.trim().split("=", 2)),
);
const t = Number(parts.t);
if (!parts.v1 || !Number.isInteger(t) || Math.abs(Date.now() / 1000 - t) > 300) return false;
const expected = createHmac("sha256", secret).update(`${parts.t}.${rawBody}`).digest("hex");
return parts.v1.length === expected.length && timingSafeEqual(Buffer.from(parts.v1), Buffer.from(expected));
}With Express:
import express from "express";
const app = express();
// express.raw: the body stays as Bibu signed it.
app.post("/bibu-webhook", express.raw({ type: "application/json" }), (req, res) => {
const raw = req.body.toString("utf8");
if (!fromBibu(raw, req.get("X-Bibu-Signature") ?? "", process.env.BIBU_WEBHOOK_SECRET)) {
return res.sendStatus(401);
}
const event = JSON.parse(raw);
// event.id is the same on every try: skip one you already handled.
if (event.type === "lead.hot") console.log("Hot lead:", event.lead.email);
res.sendStatus(200);
});
app.listen(3000);Python
import hashlib
import hmac
import time
def from_bibu(raw_body: bytes, signature_header: str, secret: str) -> bool:
parts = dict(p.strip().split("=", 1) for p in signature_header.split(",") if "=" in p)
t, v1 = parts.get("t", ""), parts.get("v1", "")
if not t.isdigit() or not v1 or abs(time.time() - int(t)) > 300:
return False
expected = hmac.new(secret.encode(), t.encode() + b"." + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(v1, expected)import os
from flask import Flask, abort, request
app = Flask(__name__)
@app.post("/bibu-webhook")
def bibu_webhook():
raw = request.get_data() # the body as Bibu signed it
if not from_bibu(raw, request.headers.get("X-Bibu-Signature", ""), os.environ["BIBU_WEBHOOK_SECRET"]):
abort(401)
event = request.get_json()
# event["id"] is the same on every try: skip one you already handled.
if event["type"] == "lead.hot":
print("Hot lead:", event["lead"]["email"])
return "", 200Answers and retries
Answer with a 2xx status within 10 seconds. Otherwise Bibu tries again after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h and 24 h (8 tries, about two days), then gives up. The delivery log shows the last 50 and why each one failed: in the settings, or through get_webhook.
Zapier, Make, n8n, GoHighLevel
These tools take Bibu's webhooks as they are: paste the address of their trigger (Catch Hook, Custom webhook, Webhook node, Inbound Webhook) as a webhook, then send a test.