HelpSign in

Developer docs

QuoteBeacon is built to be simple for business owners and open for developers. Everything on this page works today on every plan. You never need any of it for normal use: it's here when you want to connect QuoteBeacon to your own tools or AI agent.

Start here

  1. Sign in on your QuoteBeacon account page and click Developers (top menu, or the Developers button under each site).
  2. There you can make an API key (read only, or read + write), set a webhook for new leads, send a test webhook, and export or import your data.
  3. Pick how you want to connect: your AI agent, a webhook (Zapier, Make, n8n, your CRM) or the REST API.

Install options

Your install code is on your account page (Add it to your website). It is a div plus one script. Step-by-step guides for WordPress, Wix, Squarespace, Shopify and GoDaddy: install guide.

A. Estimator inside a page

<div class="quotebeacon" data-site="qb-YOURSITE" data-template="roofing" data-business="Your Business"></div>
<script src="https://outboundzero.com/quotebeacon/qb.js" defer></script>

B. Floating "Get a price" button on every page

<div class="quotebeacon" data-mode="popup" data-site="qb-YOURSITE" data-template="roofing"></div>
<script src="https://outboundzero.com/quotebeacon/qb.js" defer></script>

Tip: add ?quotebeacon or #quotebeacon to any page link to open the popup automatically.

C. One script tag that mounts into your own element

Useful for page builders that only allow a script. Put the settings on the script tag and point data-container at a CSS selector:

<div id="get-a-price"></div>
<script src="https://outboundzero.com/quotebeacon/qb.js" data-container="#get-a-price"
        data-site="qb-YOURSITE" data-template="roofing" defer></script>

D. Single-page apps (React, Vue...)

Render the div, then call window.QuoteBeacon.boot() (mounts every new .quotebeacon element) or window.QuoteBeacon.mount(element).

WordPress

Add a Custom HTML block where you want the estimator and paste your install code (or put option B in your footer). Full steps: install guide. Rather not touch your site? We install it for you, free, on every plan.

Data attributes

Set these on the .quotebeacon div (or on the script tag when you use data-container). Your prices, services and currency come from your account automatically; attributes are optional overrides.

AttributeWhat it does
data-siteYour site id (qb-...). Required: it links the estimator to your prices and leads.
data-templateTrade template, e.g. roofing, landscaping, cleaning, plumbing (25 trades).
data-business, data-phoneBusiness name and phone shown to visitors.
data-areasPostal code prefixes you serve, e.g. B0J, B3H. Visitors outside get a friendly note (they can still send a request).
data-currency3-letter currency code (116 supported), e.g. USD, EUR, GBP, AUD. Normally set in your price editor.
data-langen, fr or auto (uses the visitor's browser language).
data-accent / data-colorAccent colour, e.g. #0a7d33.
data-mode="popup"Floating button + popup instead of an inline estimator.
data-label, data-positionPopup only: button text, and left or right corner.
data-containerScript tag only: CSS selector of the element to mount into (option C).
data-configAdvanced: a full estimator config as JSON (same shape as the config export). Overrides your saved prices on that page only.

Removing the "Powered by QuoteBeacon" line is a Tier 3 feature and is added to your install code automatically.

Styling

The estimator runs in a Shadow DOM so your site's CSS can't break it. You can still theme it with CSS custom properties on the .quotebeacon element (or any parent):

.quotebeacon {
  --qb-accent: #0a7d33;      /* buttons, header, highlights */
  --qb-font: "Inter", system-ui, sans-serif;
  --qb-radius: 8px;          /* card corners */
  --qb-max-width: 640px;     /* card width */
}
/* the card itself is exposed as a CSS part */
.quotebeacon::part(card) { box-shadow: none; border-color: #cbd5e1; }

JavaScript API and events

CallWhat it does
QuoteBeacon.open()Opens the popup estimator (popup mode).
QuoteBeacon.close()Closes it.
QuoteBeacon.boot()Mounts any new .quotebeacon elements on the page.
QuoteBeacon.mount(el)Mounts one element.
QuoteBeacon.versionWidget version.

Events are fired on the estimator element and bubble up to document and window:

EventWhenevent.detail
quotebeacon:estimateA visitor sees a price rangesite, service, size, extras, estimate_low, estimate_high, currency (no personal data)
quotebeacon:leadA visitor sends a requestEverything they submitted (incl. name, phone, email), lead_id, and analytics = {site, lead_id, service}
window.addEventListener('quotebeacon:estimate', function (e) {
  window.dataLayer = window.dataLayer || [];
  dataLayer.push({ event: 'qb_estimate', service: e.detail.service, value: e.detail.estimate_low, currency: e.detail.currency });
});
window.addEventListener('quotebeacon:lead', function (e) {
  // Send only the analytics part to analytics tools: no names, phones or emails.
  dataLayer.push({ event: 'qb_lead', ...e.detail.analytics });
});

Privacy: the quotebeacon:lead detail contains the visitor's contact details so your own page can use them (for example a thank-you message). Don't forward them to analytics or ad tools; use e.detail.analytics.

Connect your AI agent (Claude, ChatGPT, Zapier, n8n)

QuoteBeacon has a remote MCP server (Model Context Protocol, Streamable HTTP), so AI assistants can read your leads, update their status, and check or change your prices when you ask. It works with Claude, ChatGPT and other tools that support MCP or REST APIs. QuoteBeacon is not affiliated with or endorsed by these companies.

MCP server URL: https://outboundzero.com/quotebeacon/api/mcp.php

Claude (claude.ai on the web, desktop or mobile)

  1. On your account page, click Connect to Claude and then make my link (reads leads and updates their status). Want Claude to change prices too? Go to Developers, generate a Read + write API key, and use https://outboundzero.com/quotebeacon/api/mcp.php?t=YOUR_API_KEY as the link.
  2. In Claude, open Settings → Connectors → Add custom connector. Name it QuoteBeacon, paste the link, click Add.
  3. In a new chat, open the + menu, make sure QuoteBeacon is on, and ask: "Any new leads this week? Draft a reply to each.", "What does a medium roof replacement with gutters cost on my estimator?", "Mark Sarah's job as won, $12,500."

Custom connectors depend on your Claude plan; see Claude's help centre if you don't see the option. Tier 2 and up also get a ready-made Lead Assistant skill on the Connect to Claude page.

Claude Code and other MCP clients

claude mcp add --transport http quotebeacon https://outboundzero.com/quotebeacon/api/mcp.php \
  --header "Authorization: Bearer qbk_YOUR_API_KEY"

Any MCP client that supports remote servers works the same way: URL above, header Authorization: Bearer qbk_....

ChatGPT

  1. Custom GPT with an Action: create a GPT, open Configure → Create new action → Import from URL and enter https://outboundzero.com/quotebeacon/openapi.json.
  2. Under Authentication choose API Key, auth type Bearer, and paste your API key.
  3. Where your ChatGPT plan supports custom MCP connectors, you can add the MCP URL with ?t=YOUR_API_KEY instead.

Zapier, Make, n8n

Webhooks

When a new lead arrives, we POST it as JSON to your webhook address (https only). Set it, send a test, see the last 10 deliveries and copy your signing secret on the Developers page.

Headers

HeaderValue
X-QuoteBeacon-Eventlead.created
X-QuoteBeacon-TimestampUnix time (seconds) when it was sent
X-QuoteBeacon-Signaturesha256= + hex HMAC-SHA256 of timestamp + "." + raw body, keyed with your signing secret (whsec_...)
X-QuoteBeacon-DeliveryUnique delivery id

Payload

{
  "event": "lead.created",
  "site_id": "qb-1a2b3c4d5e",
  "lead_id": "8f3a91c2d4e5",
  "timestamp": "2026-12-01T21:15:04-04:00",
  "test": false,
  "time": "2026-12-01T21:15:04-04:00",
  "site": "qb-1a2b3c4d5e",
  "business": "Your Business",
  "trade": "Roofing",
  "page": "https://yoursite.com/roofing",
  "service": "Roof repair / leak fix",
  "size": "Medium (1,200 to 2,000 sq ft)",
  "extras": ["Gutter replacement"],
  "postal": "B3H",
  "estimate_low": 850,
  "estimate_high": 2400,
  "currency": "CAD",
  "name": "Sam Example",
  "phone": "+1 902 555 0100",
  "email": "sam@example.com",
  "consent": true,
  "consent_text": "I agree that Your Business may contact me ...",
  "over_cap": false,
  "id": "8f3a91c2d4e5"
}

Test webhooks have "test": true and a made-up customer. We send each event once with a 5 second timeout and don't retry; failed deliveries show in your delivery log, and every lead is always in your leads page, email alert and the API. Reply with any 2xx status.

Verify the signature (PHP)

<?php
$secret = getenv('QB_WEBHOOK_SECRET');            // whsec_... from your Developers page
$raw = file_get_contents('php://input');
$ts  = $_SERVER['HTTP_X_QUOTEBEACON_TIMESTAMP'] ?? '';
$sig = $_SERVER['HTTP_X_QUOTEBEACON_SIGNATURE'] ?? '';
$expected = 'sha256=' . hash_hmac('sha256', $ts . '.' . $raw, $secret);
if (!hash_equals($expected, $sig) || abs(time() - (int)$ts) > 300) { http_response_code(401); exit; }
$lead = json_decode($raw, true);
// ... save $lead ...
http_response_code(200);

Verify the signature (Node.js / Express)

const crypto = require('crypto');
const express = require('express');
const app = express();
app.post('/quotebeacon', express.raw({ type: 'application/json' }), (req, res) => {
  const ts = req.get('X-QuoteBeacon-Timestamp') || '';
  const sig = req.get('X-QuoteBeacon-Signature') || '';
  const expected = 'sha256=' + crypto.createHmac('sha256', process.env.QB_WEBHOOK_SECRET)
    .update(ts + '.' + req.body.toString('utf8')).digest('hex');
  const ok = sig.length === expected.length &&
    crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected)) &&
    Math.abs(Date.now() / 1000 - Number(ts)) < 300;
  if (!ok) return res.sendStatus(401);
  const lead = JSON.parse(req.body.toString('utf8'));
  // ... save lead ...
  res.sendStatus(200);
});

REST API

Base URL: https://outboundzero.com/quotebeacon/api/v1.php · Auth: Authorization: Bearer qbk_... (or X-API-Key: qbk_...) · JSON in and out · OpenAPI 3 spec

Method and pathWhat it returnsKey
GET /sitesYour sites (ids, business, trade, plan, monthly lead limit)read
GET /leadsLeads, newest first. since (date, ISO 8601 or Unix time), status, page, per_page (max 100)read
GET /lead?id=One leadread
GET /configEstimator setup: trade, currency, services, sizes, extras, pricesread
GET /estimate?service=&size=&extras=Price range, same maths as the widget (indexes or labels; extras comma-separated)read
POST /lead_statusSet status (new, contacted, quoted, won, lost) and optional job_value. Never emails anyone.read + write

Every request takes an optional site (needed only if your account has several sites). The query form also works: v1.php?r=leads.

# list leads from December
curl -H "Authorization: Bearer qbk_YOUR_KEY" \
  "https://outboundzero.com/quotebeacon/api/v1.php/leads?since=2026-12-01&per_page=20"

# what would a visitor see?
curl -H "Authorization: Bearer qbk_YOUR_KEY" \
  "https://outboundzero.com/quotebeacon/api/v1.php/estimate?service=0&size=1&extras=0"

# mark a lead as won (read + write key)
curl -X POST -H "Authorization: Bearer qbk_YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"id":"8f3a91c2d4e5","status":"won","job_value":12500}' \
  "https://outboundzero.com/quotebeacon/api/v1.php/lead_status"

Errors are JSON with an HTTP status: {"error":{"code":"read_only_key","message":"..."}}. Codes include unauthorized (401), read_only_key (403), lead_not_found (404), rate_limited (429, with Retry-After). The API doesn't send CORS headers: call it from a server or automation tool, never from a public web page (that would expose your key).

MCP tools

What your AI agent can do through the MCP server. A read-only key or a Connect to Claude link only sees the tools it's allowed to use.

ToolWhat it doesNeeds
list_sitesYour sitesany
list_leadsLeads with filters: status, since, days, limitany
get_leadOne lead by lead_idany
get_statsLeads, pipeline value, jobs wonany
get_estimator_configServices, sizes, extras, prices, currency, tradeany
get_estimatePrice range for service + size + extrasany
update_lead_statusSet status and job value (no emails sent)read + write key, or Connect to Claude link
update_pricesReplace services, sizes, extras and currency (same limits as the editor; previous version kept)read + write key

Export and import

{
  "currency": "CAD",
  "trade_name": "Roofing",
  "services": [ { "label": "Roof repair / leak fix", "base": [350, 1500] } ],
  "size": { "q": "How big is the home?", "options": [ { "label": "Medium", "mult": 1 }, { "label": "Large", "mult": 1.3 } ] },
  "extras": [ { "label": "Gutter replacement", "add": [500, 900] } ]
}

Estimate = service range × size multiplier + extras, rounded to a friendly number.

Limits and plans

PlanSitesLeads per site per monthNotes
Tier 11300API, webhooks, MCP, exports included
Tier 251,500+ follow-up emails, review requests, Claude Lead Assistant skill
Tier 3255,000+ no QuoteBeacon branding (white-label)

Security notes

PostBeacon (social scheduler)

What PostBeacon offers developers today:

A PostBeacon API and AI-agent connection are not available yet.

Support

Stuck, or want something we don't have yet? Message us on WhatsApp +1 647-786-9127 or email paul@outboundzero.com. On average, a real person replies within 2 hours; overnight messages are answered by 10 a.m. Atlantic. Free setup help on every plan.

We can't promise everything will be perfect, but what we can promise is we will fix it.