Help center

API & webhooks

Connect DungeonOS to your own spreadsheets, dashboards or automation tools. Part of the Premier plan.

Updated November 2026 · For developers · Premier

Before you begin

  • Premier plan, and the owner or a manager role to create keys.
  • A server or automation tool that can make HTTPS requests.

API keys

  1. Open Integrations → API keys in your workspace and choose Create a key.
  2. Copy the key straight away — it starts with dos_live_ and is shown only once. DungeonOS keeps only a fingerprint of it.
  3. Send it with every request: Authorization: Bearer dos_live_…
  4. Revoke a key any time; it stops working immediately.

Endpoints

All endpoints are read-only (GET) and return JSON. Each key only ever reads its own organization.

RequestReturns
GET /api/v1/organizationYour organization’s id, name, address on DungeonOS and type.
GET /api/v1/eventsPublished and past events with capacity and spots left. Private addresses are never included.
GET /api/v1/events/{eventId}/registrationsName, reference, status, ticket type, payment state and check-in time for each guest. No notes and no email addresses.
GET /api/v1/people?status=memberYour registry: name, member number, status, membership tier, tags and attendance. Banned people are left out. status can be guest, applicant, member or former.

Example:

curl https://dungeonos.netlify.app/api/v1/events \
  -H "Authorization: Bearer dos_live_…"

Limits & privacy

  • 600 requests per hour per key. Past that you get 429 until the hour rolls over.
  • Anything other than GET returns 405 — the API can’t change your records.
  • Safety records, incident reports, ban details, payment screenshots and private notes are never available through the API.

Webhooks

Under Integrations → Webhooks, add an https:// address and choose which events to send: sign-ups, approvals, tickets, payments, refunds, check-ins, membership applications, new members, membership dues, reviews, and events being published or cancelled. You’ll see a signing secret starting with whsec_ once — store it with your receiver.

Each delivery is a POST with a small JSON body:

{ "id": "…", "type": "payment.paid", "createdAt": "2026-10-22T19:04:11Z",
  "organization": { "id": "…", "slug": "your-dungeon" },
  "data": { "eventId": "…", "registrationId": "…", "amountCents": 2000 } }

Only ids and amounts are sent — fetch names through the API if you need them. Failed deliveries are retried automatically, and every attempt is listed in your workspace. Addresses on private networks aren’t allowed.

Verifying a webhook

Every delivery carries a DungeonOS-Signature header like t=1761159851,v1=5f2c…. To check it:

  1. Take t and the raw request body, and join them with a dot: t.body.
  2. Compute an HMAC-SHA256 of that string with your whsec_ secret, as hex.
  3. Compare it with v1 using a constant-time comparison, and reject deliveries where t is more than five minutes old.
// Node.js
const crypto = require('crypto');
function verify(header, rawBody, secret) {
  const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
  const expected = crypto.createHmac('sha256', secret).update(parts.t + '.' + rawBody).digest('hex');
  const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300;
  return fresh && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1 || ''));
}

Use the Send a test button next to a webhook to check your receiver before going live.

If something goes wrong

401 Unauthorized

The key is missing, mistyped or revoked. Send it as “Authorization: Bearer dos_live_…”.

429 Too many requests

You’ve passed 600 requests in an hour for that key. Wait for the hour to roll over, or cache results.

A webhook signature doesn’t match

Sign the raw body exactly as received, before parsing it as JSON, and use the whsec_ secret for that webhook.

Still stuck? See the FAQ or contact us. Related: features · pricing.