PointlineDocs
Sign in

Webhooks

We POST a small JSON event to your endpoint when something happens in a session. Add endpoints in the dashboard; each gets its own signing secret, shown once.

Events

TypeWhen
session.updatedA session was created, or the caller joined it.
page.changedThe caller moved to a different page or the page title changed.
consent.updatedThe caller allowed, declined or withdrew page sharing.
action.completedThe agent or staff highlighted, scrolled, annotated or cleared.
handoff.requestedThe agent asked for a person to take over.
handoff.taken_overA team member joined from a handoff and is now helping the caller. Use it to mute or end your AI agent on the call.
session.endedThe session ended or expired.
Example body
{
  "id": "evt_48213",
  "organisation_id": "7d1f0f3a-2c4b-4e5d-8a6f-0b1c2d3e4f5a",
  "session_id": "0b0e7c1e-6f0a-4c8e-9d0b-2f1a3c4d5e6f",
  "type": "session.ended",
  "occurred_at": "2026-11-19T11:04:10.512Z",
  "data": { "event": "session.ended", "actor": "agent", "reason": "agent_ended" }
}

Events carry ids, statuses and counts. They never contain page text, element names, what the caller typed, or what the agent said.

Verify the signature

Every delivery has an X-BrowseMCP-Signature header of the form t=<unix seconds>,v1=<hex>, where the hex value is the HMAC-SHA256 of t + "." + body using your endpoint's secret. Check it against the raw body before parsing, and reject timestamps more than five minutes old.

Node.js
import { createHmac, timingSafeEqual } from "node:crypto";

export function verify(secret, rawBody, header) {
  const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
  const t = Number(parts.t);
  if (!Number.isInteger(t) || Math.abs(Date.now() / 1000 - t) > 300) return false;
  const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
  const given = String(parts.v1 ?? "");
  return (
    expected.length === given.length &&
    timingSafeEqual(Buffer.from(expected), Buffer.from(given))
  );
}

Delivery