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
POSTwith a JSON body. - A safe place for the signing secret, such as an environment variable or a password manager.
Step by step
- In Podium, go to Settings → CMS integration and choose Webhook (under For developers).
- Enter your Endpoint URL, for example
https://yourcompany.com/api/podium, and click Next. - Copy the signing secret Podium generated, store it on your side, check I've saved the secret on my side and click Save connection.
- Click Send test article. Podium sends a short article with
"test": true. Your endpoint should respond with a2xxstatus.
The status in Podium changes to Connected.
Events
event | When |
|---|---|
article.published | An article to publish on your site (Autopilot on) |
article.draft | An article to save as a draft (Autopilot off, and the test article) |
article.updated | A change to an article sent earlier |
ping | Connection 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" }
}
}
| Field | Type | Description |
|---|---|---|
event | string | Event type (see the table above) |
sentAt | string (ISO 8601) | When the request was sent |
test | boolean | true only for the test article from the dashboard |
article.id | string | Stable article ID. Use it to detect duplicates |
article.publishKey | string | A 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.language | string | Language code, for example en |
article.title, slug, excerpt | string | Title, URL slug (no slashes) and excerpt |
article.metaTitle, metaDescription | string | null | Values for <title> and <meta name="description"> |
article.keyword | string | null | The keyword the article targets |
article.html | string | The article body in HTML (details below) |
article.faqs | array | Questions and answers as { "q", "a" }. The same FAQ is also in html |
article.jsonld | object | null | Schema.org structured data for a <script type="application/ld+json"> tag |
article.featuredImage | object | null | Featured 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 renderfeaturedImageyourself, 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 theidof eachh2.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.
- Take the
X-Podium-Timestampheader and the raw request body (before you parse the JSON). - Compute
HMAC-SHA256(secret, timestamp + "." + body)as a hex string. - Compare it with the value after
sha256=inX-Podium-Signature, using a constant-time comparison. - 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 response | What Podium does |
|---|---|
2xx with JSON { "url": "https://…" } | Counts it as published and shows that URL in Content → History |
2xx with any other body, or none | Counts it as published, without an article URL |
401, 403, 404, 410 | Doesn'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 seconds | Retries (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
| Status | What it means | What to do |
|---|---|---|
| Not connected | No connection yet | Follow the steps above |
| Awaiting test | URL saved, the test article hasn't gone through yet | Click Send test article |
| Connected | Everything works | Nothing |
| Needs attention | The last delivery failed | Read the response code on the integration card and check the table below |
Troubleshooting
| Symptom | Most likely cause | Fix |
|---|---|---|
| No response or a timeout | The URL isn't reachable from the internet, or your receiver takes longer than 30 seconds | Test the URL from outside (for example with curl -X POST). Respond with 202 and process in the background |
401 from your server | You compute the signature from parsed JSON instead of the raw body | Compute the HMAC from the raw body (in Express: express.raw) |
401 on Vercel or Netlify | Deployment Protection blocks outside requests | Turn off protection for that path, or use your production URL |
403 | A firewall, Cloudflare or a WAF blocks requests that don't come from a browser | Allow 185.170.198.202 or the User-Agent: Podium-Webhook/1.0 header |
413 | A request size limit (an article with tables is usually 30 to 80 KB) | Raise the limit to 1 MB |
| The test passes, real articles fail | Your receiver doesn't handle a large html field or null values | Check your logs. metaTitle, metaDescription, keyword, jsonld and featuredImage can be null |
| Duplicate articles | You 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.