Public API v1 • Use Cases

Real Use Cases

Step-by-step recipes that non-technical teams can follow and developers can implement fast.

Overview

Pick a recipe below. Each one includes a plain-English goal, what you need, and copy/paste code.

Schedule page

Goal: show your event schedule on a website that is not Confera.

Fetch schedule
ts
const events = await confera.events.list({ limit: 100 });
const venues = await confera.events.listVenues({ limit: 200 });
const speakers = await confera.events.listSpeakers({ limit: 500 });

Website rendering

Goal: reuse the official website content in another front-end.

Fetch site document
ts
const site = await confera.website.getSite();

Registration form

Goal: collect registrations on a website that isn’t Confera (or through a vendor), while keeping your key secret.

Fetch config + submit
ts
const cfg = await confera.registrations.getConfig();

// Show ticket types and payment methods in your UI
console.log(cfg.data.ticket_types, cfg.data.payment_methods);

// Then create a registration
await confera.registrations.create({
  firstName: "Aisha",
  lastName: "Khan",
  email: "aisha@example.com",
  ticketTypeId: "<ticket_type_id>",
  paymentMethodId: "<payment_method_id>",
  paymentReference: "TXN-12345",
  paymentProofUrl: "https://example.com/receipt.png",
});

Check-in kiosk

Goal: scan a badge and instantly record check-in.

Record check-in
ts
await confera.badges.checkin({ qr: scannedCode, location: "kiosk-1" });

Attendance gate

Goal: record daily attendance badge scans (entry gates).

Record attendance
ts
await confera.attendance.checkin({ qr: scannedCode, location: "gate-a" });