Public API v1 • SDK Module

SDK Website

Fetch the public website document so you can render pages on your own frontend.

What it does

The Website module exposes the "site document" — a structured JSON blob that Confera uses to render the public website. You can use it to:

  • Render a completely custom website UI
  • Generate static pages (SSG) or server-rendered pages (SSR)
  • Keep content in Confera while running your frontend elsewhere

Scopes

  • website:read – required

The website module must also be enabled for the conference.

Get site JSON

GET/api/public/v1/website/site
SDK
ts
const site = await confera.website.getSite();
console.log(site.data);
cURL
bash
curl "https://your-domain/api/public/v1/website/site" \
  -H "X-API-Key: cat_..."

Deprecated pages endpoint

GET/api/public/v1/website/pages

This exists for older integrations. Prefer getSite().

SDK
ts
// Deprecated, but supported
const pages = await confera.website.getPages();
console.log(pages.data);

Rendering tips

Cache strategically

Website content changes less frequently than check-ins. Cache on your server (minutes) and revalidate.

Don’t expose raw site JSON

Your app can transform the site document into safe, minimal data for your UI. Keep the key on the server.