PodiumDocs
BlogLog in

Integrations

Webhook: articles to your server

For custom sites (Next.js, Laravel, Django, headless CMS) and automations (Make, n8n, Zapier). Podium sends every article as signed JSON.

Each time Podium publishes, it sends the full article as JSON to a URL you choose. What happens next is up to you: save it to your database, push it to your CMS or pass it along.

Need help with the receiver? Book a short call at cal.com/maxmiskow/30min.

What you need

  • A public HTTPS URL that accepts a POST with a JSON body.
  • A safe place for the signing secret, such as an environment variable or a password manager.

Step by step

  1. In Podium, go to Settings → CMS integration and choose Webhook (under For developers).
  2. Enter your Endpoint URL, for example https://yourcompany.com/api/podium, and click Next.
  3. Copy the signing secret Podium generated, store it on your side, check I've saved the secret on my side and click Save connection.
  4. Click Send test article. Podium sends a short article with "test": true. Your endpoint should respond with a 2xx status.

The status in Podium changes to Connected.

Events

eventWhen
article.publishedAn article to publish on your site (Autopilot on)
article.draftAn article to save as a draft (Autopilot off, and the test article)
article.updatedA change to an article sent earlier
pingConnection check. No article, just event, sentAt and a short message

You can recognize an article by article.id. The same article always has the same id, including in article.updated.

Request

POST /api/podium HTTP/1.1
Content-Type: application/json
User-Agent: Podium-Webhook/1.0
X-Podium-Event: article.published
X-Podium-Delivery: 7f3c2a1e-…            (new for every delivery attempt)
X-Podium-Timestamp: 1790000000
X-Podium-Signature: sha256=5d1f…
{
  "event": "article.published",
  "sentAt": "2026-11-21T11:00:04.512Z",
  "test": false,
  "article": {
    "id": "cmf8x2k0p0001",
    "publishKey": "cmf8x2k0q0002",
    "status": "publish",
    "language": "en",
    "title": "How much do dental implants cost in Chicago in 2026?",
    "slug": "dental-implants-cost-chicago",
    "excerpt": "A single implant in Chicago usually runs $3,500 to $6,000…",
    "metaTitle": "Dental implant cost in Chicago (2026)",
    "metaDescription": "What a dental implant costs in Chicago, what's included…",
    "keyword": "dental implants chicago",
    "html": "<figure class=\"podium-featured\">…</figure><div class=\"podium-bluf\">…</div><h2 id=\"…\">…</h2>…",
    "faqs": [{ "q": "Does getting an implant hurt?", "a": "The procedure is done under local anesthesia…" }],
    "jsonld": { "@context": "https://schema.org", "@type": "Article", "…": "…" },
    "featuredImage": { "url": "https://app.heypodium.com/media/…/cover.webp", "alt": "Dentist placing an implant" }
  }
}
FieldTypeDescription
eventstringEvent type (see the table above)
sentAtstring (ISO 8601)When the request was sent
testbooleantrue only for the test article from the dashboard
article.idstringStable article ID. Use it to detect duplicates
article.publishKeystringA second stable key for the article. You can use it instead of id
article.status"publish" | "draft"Whether to publish the article or save it as a draft
article.languagestringLanguage code, for example en
article.title, slug, excerptstringTitle, URL slug (no slashes) and excerpt
article.metaTitle, metaDescriptionstring | nullValues for <title> and <meta name="description">
article.keywordstring | nullThe keyword the article targets
article.htmlstringThe article body in HTML (details below)
article.faqsarrayQuestions and answers as { "q", "a" }. The same FAQ is also in html
article.jsonldobject | nullSchema.org structured data for a <script type="application/ld+json"> tag
article.featuredImageobject | nullFeatured image: url (hosted by Podium) and alt

All field names are camelCase. We may add new fields, but we won't remove or change existing ones without notice.

What's in html

Paragraphs, h2 and h3 headings, lists, a comparison table, links and images as <figure><img alt="…"></figure>. A few blocks carry classes you can style or hide:

  • figure.podium-featured: the featured image at the top. If you render featuredImage yourself, hide this one so it doesn't show twice.
  • div.podium-bluf: the short answer at the top of the article.
  • nav.podium-toc: the table of contents, linking to the id of each h2.
  • ul.podium-sources: the list of sources at the end.
  • div.podium-author: the byline, if you set one up.

Verify the signature

The signature proves the request came from Podium and wasn't changed on the way.

  1. Take the X-Podium-Timestamp header and the raw request body (before you parse the JSON).
  2. Compute HMAC-SHA256(secret, timestamp + "." + body) as a hex string.
  3. Compare it with the value after sha256= in X-Podium-Signature, using a constant-time comparison.
  4. Reject the request if the timestamp is more than 5 minutes old. This protects you from someone replaying a captured request.

Node.js (Express)

import express from "express";
import crypto from "node:crypto";

const app = express();
const SECRET = process.env.PODIUM_WEBHOOK_SECRET;

app.post("/api/podium", express.raw({ type: "application/json" }), async (req, res) => {
  const ts = req.header("x-podium-timestamp") ?? "";
  const sig = (req.header("x-podium-signature") ?? "").replace(/^sha256=/, "");
  const expected = crypto.createHmac("sha256", SECRET).update(`${ts}.${req.body}`).digest("hex");
  const fresh = Math.abs(Date.now() / 1000 - Number(ts)) < 300;
  if (!fresh || sig.length !== expected.length || !crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected))) {
    return res.status(401).json({ error: "invalid signature" });
  }

  const { event, article } = JSON.parse(req.body);
  if (event === "ping") return res.json({ ok: true });

  // insert or update by article.id (the same delivery can arrive twice)
  const saved = await upsertPost({ externalId: article.id, ...article });
  res.json({ url: `https://yourcompany.com/blog/${saved.slug}` });
});

PHP

<?php
$secret = getenv('PODIUM_WEBHOOK_SECRET');
$body = file_get_contents('php://input');
$ts = $_SERVER['HTTP_X_PODIUM_TIMESTAMP'] ?? '';
$sig = preg_replace('/^sha256=/', '', $_SERVER['HTTP_X_PODIUM_SIGNATURE'] ?? '');
$expected = hash_hmac('sha256', $ts . '.' . $body, $secret);

header('Content-Type: application/json');
if (abs(time() - (int) $ts) > 300 || !hash_equals($expected, $sig)) {
    http_response_code(401);
    exit(json_encode(['error' => 'invalid signature']));
}

$data = json_decode($body, true);
if ($data['event'] === 'ping') exit(json_encode(['ok' => true]));

$article = $data['article'];
// insert or update by $article['id']
echo json_encode(['url' => 'https://yourcompany.com/blog/' . $article['slug']]);

Make, n8n, Zapier

Use the Webhook or Custom webhook module and paste its URL into Podium. These tools can't always compute the signature. If yours can't, treat the webhook URL like a password: don't share it, and replace it if it leaks. In n8n, you can check the signature with the Crypto node (HMAC, SHA256, hex).

Response

Your responseWhat Podium does
2xx with JSON { "url": "https://…" }Counts it as published and shows that URL in Content → History
2xx with any other body, or noneCounts it as published, without an article URL
401, 403, 404, 410Doesn't retry. The status changes to Needs attention and you get an email
Any other status (such as 429 or 5xx), or no response within 30 secondsRetries (see below)

Keep the response short. Podium reads only the first 500 characters, so put url near the start.

Retries

Podium tries 4 times: right away, then after 30 seconds, 2 minutes and 10 minutes. If every attempt fails, the article is marked Publishing failed and you get an email. You can send it again from the article with Publish now. After 3 failed deliveries in a row, the integration also shows Needs attention.

The same article can arrive more than once, for example when your server saved it but its response never reached Podium. Save articles by article.id (insert or update) instead of always adding a new one.

Respond quickly. If saving takes a while (a site rebuild, for example), respond with 202 right away and do the rest in the background.

Connection status

StatusWhat it meansWhat to do
Not connectedNo connection yetFollow the steps above
Awaiting testURL saved, the test article hasn't gone through yetClick Send test article
ConnectedEverything worksNothing
Needs attentionThe last delivery failedRead the response code on the integration card and check the table below

Troubleshooting

SymptomMost likely causeFix
No response or a timeoutThe URL isn't reachable from the internet, or your receiver takes longer than 30 secondsTest the URL from outside (for example with curl -X POST). Respond with 202 and process in the background
401 from your serverYou compute the signature from parsed JSON instead of the raw bodyCompute the HMAC from the raw body (in Express: express.raw)
401 on Vercel or NetlifyDeployment Protection blocks outside requestsTurn off protection for that path, or use your production URL
403A firewall, Cloudflare or a WAF blocks requests that don't come from a browserAllow 185.170.198.202 or the User-Agent: Podium-Webhook/1.0 header
413A request size limit (an article with tables is usually 30 to 80 KB)Raise the limit to 1 MB
The test passes, real articles failYour receiver doesn't handle a large html field or null valuesCheck your logs. metaTitle, metaDescription, keyword, jsonld and featuredImage can be null
Duplicate articlesYou save with "insert" instead of "insert or update"Save by article.id

Change the secret or disconnect

  • New secret: on the integration card, click Change (or Reconnect) and go through the setup again. You get a new secret, and the old one stops working as soon as you save. Update your receiver first, then send a test article.
  • Disconnect: Disconnect. Podium stops sending articles and deletes the secret.