How to receive Aerius Pulse articles on a website built with code
Aerius Pulse writes SEO articles (with pictures, FAQ and hashtags) for your client's website. On a site built with code (React, Next.js, Vue, PHP, Laravel, Django, plain HTML…) there are two ways to get them. Use one or both.
Recommended: Feed v2 (your server renders the articles)
The safest way for any website, including ones that handle money, keys or payments: Aerius Pulse gets no access to your code; your server reads the articles and shows them with your own templates. The dashboard button “Copy instructions for my developer / AI” gives the same facts as this page, personalised. Machine-readable schema: feed-v2.schema.json (JSON Schema for the list, article, tombstone and webhook payloads). See also Security.
Auth, limits, versioning
- Every call: header
Authorization: Bearer <feed token>. The token is read-only (it can read articles and report their status, nothing else). Keep it in your server's environment only; the dashboard shows when it was last used and has New token. - Rate limit: 120 requests a minute per token. Over it:
429with headerRetry-After: <seconds>and body{"detail":{"error":"rate_limited","message":"…","retry_after":12}}. - Versioning: v2 only ever adds fields. Nothing is renamed or removed without a v3 and at least 6 months' notice. Ignore fields you do not know.
- Feed v1 (
/api/feed/<token>.json, token in the link) is deprecated: responses carryDeprecationandSunset: Mon, 31 May 2027. Build new sites on v2 only.
Endpoints
GET /api/v2/feed/articles?cursor=<next_cursor>&limit=50(first call: no cursor). Ordered by (updated_at, id); keepnext_cursorexactly as received (opaque; safe even when two articles change in the same microsecond).has_more= call again.updated_since=<ISO>still works. ETag / If-None-Match → 304. Returnsarticles(id, version, slug, previous_slugs, title, description, status, published_at, updated_at, canonical_url, category, tags, author, language, site_state) andtombstones(id, slug, status deleted|unpublished, at).GET /api/v2/feed/articles/<id>→ the full article: typed blocks (heading 2/3, paragraph {text, md, links[{text,url}]}, list, image, quote, callout, table, code),images(url, alt, width, height, caption, kind, hash, role, index, variants[] WebP 480/800/1200 with width/height/hash),cover,faq,warnings(e.g. an image that could not be made), and anhtmlfallback that is generated from the blocks (same content).410+ tombstone when removed.GET /api/v2/feed/sample→ a test article with every block type (3 images, table, code, callout, FAQ): check your renderer before the first real article.POST /api/v2/feed/articles/<id>/statusbody{"state":"live","url":"https://yoursite.com/blog/<slug>"},{"state":"rejected","reason":"…"}or{"state":"draft"}. The dashboard shows it, and once your site reports status, Aerius Pulse shares an article on social media only after it is live (no links to a 404).GET /api/v2/site/PUT /api/v2/sitebody{"url_template":"https://yoursite.com/blog/{slug}", "categories":[{"id":"guides","name":"Guides"}]}.canonical_urlalways follows your template.categoryis{id, name}from YOUR list, ornullwhen nothing fits (never a made-up one).
Fields you can rely on
idnever changes;versiongrows on every change → re-fetch. When the slug changes, the old ones are inprevious_slugs: answer them with a 301 to the new address.language(e.g.en),author{name, url} (set in the dashboard: Byline).- Images are served from
https://www.aeriuspulse.com/media/…(a stable address). Copy them to your own storage anyway. linksholds every link in a paragraph/list item as {text, url}: keep only links to your own site if you want.
Webhook v2 (instant updates)
Events: article.published, article.updated, article.unpublished, article.deleted
(and article.test from the dashboard's Send test webhook button). Up to 3 tries; every call is in the dashboard's delivery log.
POST https://yoursite.com/api/aerius-webhook
Content-Type: application/json
X-Aerius-Event: article.updated
X-Aerius-Event-Id: 6f1c2b8e-1d2a-4c0e-9a51-0b7c2f6f3e11
X-Aerius-Timestamp: 1795117000 ← Unix time in SECONDS (UTC)
X-Aerius-Signature-V2: v1=9f2c…e1[,v1=77ab…02] ← one value per active secret (two during a secret change-over)
{"event":"article.updated","event_id":"6f1c…3e11","created_at":1795117000,"article":{…v1 fields…},"article_v2":{…same as GET /articles/<id>…}}
Verify: compute hex(HMAC-SHA256(secret, timestamp + "." + event_id + "." + raw_body)) and accept if it equals ANY v1=
value (constant-time compare, raw bytes). Reject timestamps more than 5 minutes old and event ids you have already seen. Answer 2xx fast,
then re-fetch the article from the feed. Secret change: the dashboard's New webhook secret keeps the old one signing too for 7 days.
// Node.js
const ts = req.get('X-Aerius-Timestamp'), id = req.get('X-Aerius-Event-Id');
if (Math.abs(Date.now() / 1000 - Number(ts)) > 300) return res.sendStatus(401);
const want = crypto.createHmac('sha256', process.env.AERIUS_WEBHOOK_SECRET).update(`${ts}.${id}.`).update(req.body).digest('hex');
const ok = (req.get('X-Aerius-Signature-V2') || '').split(',').some(v => v.trim() === 'v1=' + want);
The older X-Aerius-Signature: sha256=<HMAC of body> header is still sent for v1 receivers; it is deprecated with v1 (31 May 2027).
A) Webhook (push, v1, deprecated: ends 31 May 2027)
- Make a public HTTPS endpoint, e.g.
https://yoursite.com/api/aerius-webhook. - In Aerius Pulse → Website & Blog → My own coded website, paste that address and press Connect website.
- Copy the webhook secret (
whsec_…, shown once) into your server's environment, e.g.AERIUS_WEBHOOK_SECRET.
Every time an article is published, Aerius Pulse sends:
POST <your webhook address>
Content-Type: application/json
X-Aerius-Event: article.published
X-Aerius-Signature: sha256=<hex HMAC-SHA256 of the raw body, key = your webhook secret>
{
"event": "article.published",
"article": {
"id": "uuid", "title": "…", "slug": "how-to-…", "description": "meta description",
"keyword": "main search phrase", "tags": ["…"], "hashtags": ["#…"],
"cover_url": "https://…jpg", "images": {"cover": {"url": "…", "alt": "…"}, "1": {…}},
"faq": [{"q": "…", "a": "…"}],
"markdown": "…", "html": "<p>…</p>",
"published_at": "2026-11-17T10:00:00+00:00"
}
}
Your endpoint must:
- check the signature (reject anything that does not match),
- save the article (database, CMS or a markdown file) and show it at a URL on your site,
- answer 2xx within 25 seconds. Optional: answer
{"url": "https://yoursite.com/blog/<slug>"}so Aerius Pulse can count readers, show the link in the Results report and share it on the brand's social channels.
Node.js / Express
import crypto from 'node:crypto';
import express from 'express';
const app = express();
app.post('/api/aerius-webhook', express.raw({ type: 'application/json' }), async (req, res) => {
const sig = 'sha256=' + crypto.createHmac('sha256', process.env.AERIUS_WEBHOOK_SECRET).update(req.body).digest('hex');
const got = req.get('X-Aerius-Signature') || '';
if (sig.length !== got.length || !crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(got))) return res.sendStatus(401);
const { article } = JSON.parse(req.body.toString('utf8'));
await saveArticle(article); // your code: store title, slug, html, description, cover_url, faq…
res.json({ url: `https://yoursite.com/blog/${article.slug}` });
});
Next.js (App Router): app/api/aerius-webhook/route.ts
import crypto from 'node:crypto';
export async function POST(req: Request) {
const raw = Buffer.from(await req.arrayBuffer());
const sig = 'sha256=' + crypto.createHmac('sha256', process.env.AERIUS_WEBHOOK_SECRET!).update(raw).digest('hex');
const got = req.headers.get('x-aerius-signature') || '';
if (sig.length !== got.length || !crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(got))) return new Response('bad signature', { status: 401 });
const { article } = JSON.parse(raw.toString('utf8'));
await saveArticle(article); // e.g. insert into your DB, then revalidatePath('/blog')
return Response.json({ url: `https://yoursite.com/blog/${article.slug}` });
}
PHP / Laravel
$raw = file_get_contents('php://input');
$sig = 'sha256=' . hash_hmac('sha256', $raw, getenv('AERIUS_WEBHOOK_SECRET'));
if (!hash_equals($sig, $_SERVER['HTTP_X_AERIUS_SIGNATURE'] ?? '')) { http_response_code(401); exit; }
$article = json_decode($raw, true)['article'];
save_article($article); // your code
header('Content-Type: application/json');
echo json_encode(['url' => 'https://yoursite.com/blog/' . $article['slug']]);
B) Feed (pull, v1, deprecated: ends 31 May 2027)
Warning: in v1 the token is part of the link, so it lands in server logs, browser history and (with the embed script) public page source. Anyone who has the link can read the same articles. Use v2 for anything that handles money or personal data.
After connecting, the Connection for your developer box shows two private links:
- JSON:
https://www.aeriuspulse.com/api/feed/<key>.json→{"site": "...", "articles": [ … same fields as above … ]} - RSS:
https://www.aeriuspulse.com/api/feed/<key>.xml(full HTML incontent:encoded)
Read it on a schedule (e.g. every hour, or at build time for static sites like Next.js SSG, Astro, Hugo) and add articles you have not stored yet (use id to avoid duplicates). Keep the feed link private.
Good practice for Google (SEO and AdSense)
- Show each article at its own URL (
/blog/<slug>), with<title>= title and<meta name="description">= description. - Sanitize the
htmlwith an allowlist on your server (sanitize-html, bleach, DOMPurify) even though Aerius Pulse already cleans it: a site should never trust markup from a third party. Better: render the v2blocks. - The reader-count 1×1 image is off by default. Turn it on in the dashboard only if your cookie/consent setup allows it.
- Show the FAQ as normal visible questions and answers. Google no longer shows FAQ rich results for most sites (May 2026), so FAQ markup is optional, not an SEO feature.
- Add the article URL to your sitemap.