Website Embed: Auto-post content to your site
Connect your website to CooVex so AI-generated content is automatically published without manual copy-paste.
What this does
When you connect your website to CooVex, your AI agent can automatically publish blog posts, landing pages, and SEO content directly to your site — without you manually copying anything. You write nothing; the AI writes and publishes for you.
Step 1: Add the CooVex snippet to your website
Paste this one-line script into your website's <head> tag:
<script
src="https://app.coovex.com/embed.js"
data-key="YOUR_EMBED_TOKEN"
async
></script>
Get your embed token from Settings → Integrations → Website Embed.
Step 2: Configure your publish endpoint (optional)
If you want CooVex to POST content directly to your CMS or backend, register a webhook endpoint:
POST https://app.coovex.com/api/v1/integrations/website
{
"endpoint_url": "https://yoursite.com/api/coovex-publish",
"secret": "your_webhook_secret",
"types": ["blog_post", "landing_page", "faq"]
}
When CooVex generates new content, it will POST to your endpoint with this payload:
{
"event": "content.published",
"type": "blog_post",
"data": {
"title": "10 Ways to Grow Your SaaS in 2026",
"slug": "grow-saas-2026",
"content_html": "<h1>...</h1><p>...</p>",
"meta_description": "...",
"tags": ["growth", "saas"],
"published_at": "2026-07-06T10:00:00Z"
}
}
Step 3: Handle the webhook on your server
Your endpoint receives the content and publishes it however your CMS works. Example in Node.js:
app.post('/api/coovex-publish', (req, res) => {
const sig = req.headers['x-coovex-signature'];
if (!verifySignature(req.body, sig, process.env.COOVEX_SECRET)) {
return res.status(401).json({ error: 'Invalid signature' });
}
const { type, data } = req.body;
if (type === 'blog_post') {
await cms.createPost({
title: data.title,
body: data.content_html,
slug: data.slug,
meta: data.meta_description,
});
}
res.json({ ok: true });
});
Verifying the signature
const crypto = require('crypto');
function verifySignature(body, signature, secret) {
const expected = crypto
.createHmac('sha256', secret)
.update(JSON.stringify(body))
.digest('hex');
return crypto.timingSafeEqual(
Buffer.from(expected),
Buffer.from(signature)
);
}
WordPress users
Install the CooVex WordPress Plugin from the WordPress plugin directory. After activation, enter your API key in Settings → CooVex. Posts will publish automatically to your WordPress blog — no custom code needed.
Testing the connection
POST https://app.coovex.com/api/v1/integrations/website/test
Authorization: Bearer YOUR_API_KEY
# CooVex sends a test payload to your endpoint and reports back
# { "ok": true, "status": 200, "response_time_ms": 143 }