Nuxt AI SEO Blog Writer and Autoblog
One Nitro server route — signed articles arrive under /api.
Can you auto-publish blog posts to a Nuxt app? Yes — via a signed webhook
Nuxt renders the blog; DraftSEO delivers the posts. A Nitro server route at server/api/webhook.post.ts uses readRawBody() so the exact bytes survive for the HMAC check, then stores the article. Nuxt server routes live under /api, so your webhook URL ends in /api/webhook.
| Connection | A server route — server/api/webhook.post.ts, recipe provided |
|---|---|
| Security | HMAC-signed + timestamped — verified over ${timestamp}.${rawBody}, replay-window protected |
| Payload | Full article JSON — title, HTML, images, meta, slug, language |
| Images | DraftSEO CDN URLs — URLs ride in the payload; rehost to your own storage if you prefer |
| Framework fit | Nitro-native — readRawBody() gives the exact bytes; endpoint sits under /api |
Who does what
What DraftSEO automates for your Nuxt blog
DraftSEO handles Automated
- Keyword research and an automatic publishing calendar
- Long-form SEO articles delivered as clean, ready-to-store HTML
- Images generated, their URLs carried in each payload
- Meta title, description and slug packed alongside the body
- Signed delivery with retries so a publish never goes missing
You handle One-time: a short receiver
Paste the Nitro server route, verify the HMAC over readRawBody(), then persist the post for your Vue pages to fetch. Once the test is green, nothing more per article.
Your components and useAsyncData own the rendering.
Setup
How to connect a Nuxt app to DraftSEO
Add your endpoint in DraftSEO
Connect a site → Nuxt. You get a signing secret and the server-route recipe.
~1 minute
Paste the server route
Add server/api/webhook.post.ts, read readRawBody(), verify the signature, store the post — the recipe shows it all.
~10 minutes
Verify the signed test delivery
DraftSEO sends a signed test event to /api/webhook; a green check means connected.
~1 minute
Turn on autopilot
Every generated article is delivered to your Nitro route on cadence.
Ongoing · zero clicks
FAQ
Frequently asked questions
What is in the payload?
A JSON body { event, deliveryId, data } — data holds the title, HTML article, slug, language, meta fields and image URLs, so a single handler can store a complete post.
How is delivery secured?
Each request is HMAC-signed over ${timestamp}.${rawBody} with a timestamp header; you recompute it from readRawBody() and reject anything older than the 5-minute replay window.
Do I use a Nitro server route?
Yes — the receiver is a standard Nitro server route (server/api/webhook.post.ts) using defineEventHandler and readRawBody. Because server routes are namespaced under /api, your public webhook URL ends in /api/webhook.
Ship the server route — first article free
No card required. Signed test delivery in under a minute.