Manage your website content
The Content tab lets you edit and publish text, images, and JSON blocks on any connected website - without touching code.
Step 1 - Add your site in Settings:
- Go to Settings → Sites → New site.
- Enter your site name and domain. Leave the Webhook URL blank for now.
- LUCY automatically generates a Webhook secret for you - copy it.
- After saving, LUCY shows a ready-to-paste code snippet for Next.js, WordPress, or plain Node.js. Send it to your developer (or paste it yourself).
- Once the endpoint is live, come back to Settings → Sites → Edit and paste in the Webhook URL.
Step 2 - Manage content blocks:
- Go to Content and select your site.
- Click + New block. Give it a key (e.g.
hero.title) and a value. - Edit blocks inline. When ready, click Publish - LUCY POSTs all blocks to your webhook.
Step 3 - Fetch content from your website:
// GET https://LUCY.ngadynamics.co.uk/api/content/[site_id]
// Add your API key from Settings → API Keys as a Bearer token
const res = await fetch('/api/content/YOUR_SITE_ID', {
headers: { Authorization: `Bearer ${process.env.LUCY_API_KEY}` }
})
const { blocks } = await res.json()
// blocks: [{ block_key: "hero.title", value: "...", ... }]