Integrations

Webhook

We POST each article to a URL you choose the moment it's published. No polling needed.

Setup

From Settings → Publishing → Webhook, enter your endpoint URL. We'll generate a signing secret — store it, since it's shown only once.

Payload

POST to your URL with a JSON body shaped like the API's single-article response, plus coverImageUrl, ogImageUrl and images:

Payload example
{
  "id": "...",
  "slug": "best-seo-tools-2026",
  "title": "Best SEO Tools 2026",
  "metaTitle": "Best SEO Tools 2026",
  "metaDescription": "...",
  "html": "<h1>...</h1>...",
  "markdown": "# ...",
  "angle": "listicle",
  "language": "en-US",
  "publishedAt": "2026-08-01",
  "coverImageUrl": "https://.../article-images/<business>/<article>/cover-v1.webp",
  "ogImageUrl": "https://.../article-images/<business>/<article>/og-v1.jpg",
  "images": [
    { "url": "https://.../cover-v1.webp", "alt": "Best SEO Tools 2026", "width": 1536, "height": 1024, "role": "cover" },
    { "url": "https://.../og-v1.jpg", "alt": "Best SEO Tools 2026", "width": 1200, "height": 630, "role": "og" }
  ],
  "jsonLd": { "@type": "Article", "...": "..." }
}

coverImageUrl is a publicly-fetchable URL for the article's generated cover image (1536×1024 WebP), or null if it hasn't generated yet. ogImageUrl is the 1200×630 JPEG for social sharing, which can carry the article title even when the cover doesn't — use it for og:image. images lists every generated image with its url, alt, width, height and role ("cover" or "og").

Image URLs are versioned: a regenerated or re-rendered cover gets a new URL, so a later delivery of the same article may carry different ones. Any inline images an article contains are already in html/markdown as regular <img> tags.

Compatibility

Webhook payloads may gain new optional fields over time, so your handler should ignore fields it does not recognize. Existing fields stay backwards compatible unless a future breaking contract is explicitly introduced, which would be announced and versioned separately.

Verifying the signature

Every request includes an X-HoneyTraffic-Signature header: sha256=<hex>, an HMAC-SHA256 of the raw request body using your signing secret. Recompute it and compare:

verifySignature.js
import { createHmac, timingSafeEqual } from "crypto";

function isValidSignature(rawBody, header, secret) {
  const expected = "sha256=" + createHmac("sha256", secret).update(rawBody).digest("hex");
  return timingSafeEqual(Buffer.from(header), Buffer.from(expected));
}

Delivery behavior

  • We expect a 2xx response within 5 seconds.
  • Failed deliveries are retried automatically with backoff.
Use the Send a test event step in the connect wizard to verify your endpoint before relying on it.