Log inSign upSign up free
More features

Send registrations to your own server (webhooks)

Have OpenCEU send each new confirmed registration to a URL you control, as a signed JSON message, so you can add registrants to your own list, CRM, or course site.

1

Get it switched on, then set it up

Webhooks are switched on per organisation by OpenCEU. If you don’t see a Webhooks card on your Settings page, ask support to enable it for your organisation.

Once it’s on, open Settings and scroll to Webhooks. Only an organisation admin can change it. Enter the Endpoint URL that should receive registrations and press Save.

The first time you save, the card shows your signing secret (it starts with whsec_). Copy it and store it where your server can read it. It is shown once and disappears when you leave or refresh the page. If you lose it, use Regenerate secret. Changing the URL later keeps the same secret.

Press Send test event to check your server. The test message uses made-up data (a registrant named “Test Registrant”, test@example.com) and is signed exactly like a real one. Its type is test. If the result says webhook delivery is turned off in this environment, nothing was sent and your settings are saved: delivery has not been switched on yet. Contact OpenCEU support if you expected it to be on.

URL requirements

The URL must be https:// on the standard port (443), with a public domain name. IP addresses, internal or localhost names, addresses with a username or password in them, and other ports are not accepted. OpenCEU does not follow redirects, so give the final URL.
2

What is sent, and when

  • A message is sent when a registration is confirmed: free, paid, or comped. Pending (unpaid) registrations are not sent.
  • Each registration is sent once. Later changes to it (a payment retry, an upgrade from free to paid) do not send it again.
  • A signup for a single event sends one registration.created message.
  • A conference signup sends one message for the conference (conference_registration.created) plus one message per session (registration.created). A 15-session conference is 16 messages. Each session message names the conference it came from, so you can tell them apart or ignore them.
  • Messages are sent shortly after confirmation, usually within a couple of minutes.

What is not sent

Refunds and cancellations are not sent, and neither are registrations that were confirmed before you set up the webhook (editing one of those later, or changing it from free to paid, does not send it either). A registration that was cancelled or refunded before it was ever sent, and is later paid or comped again, is sent then. If you pause the webhook, registrations made while it is paused are not sent, even after you resume (see step 9).
3

What the message looks like

The body is JSON. Every message has the same envelope: event_id, type, created_at, and data. The type is registration.created, conference_registration.created, or test.

Timestamps (created_at and registered_at) are ISO 8601 in UTC with milliseconds and a trailing Z, for example 2026-12-01T15:02:11.000Z. created_at is when the message was queued and stays the same on every retry.

{
  "event_id": "evt_6f0c1c1e-0d3a-4b0e-9a57-2f1d6a1b7c11",
  "type": "registration.created",
  "created_at": "2026-12-01T15:02:11.000Z",
  "data": {
    "registration_id": "3b0e6b0e-8d57-4a3e-a0c4-6d0f3a1d2e55",
    "name": "Jordan Rivera",
    "email": "jordan@example.com",
    "state": "PA",
    "position": "BCBA",
    "marketing_consent": true,
    "payment_status": "paid",
    "registered_at": "2026-12-01T15:02:09.512Z",
    "custom_fields": {},
    "event": { "id": "9a1f…", "title": "Ethics in Supervision", "date": "2026-12-03" },
    "conference": null,
    "conference_registration_id": null,
    "bundle_registration_id": null
  }
}

registration.created data

  • registration_id — the registration’s ID.
  • name, email — the registrant.
  • state, position — strings, or null if not given.
  • marketing_consent — true, false, or null (see step 6).
  • payment_status — free, paid, or comped.
  • registered_at — ISO 8601 UTC timestamp (2026-12-01T15:02:09.512Z), or null.
  • custom_fields — an object of extra answers captured at registration, keyed by field label ({} if none).
  • event — { id, title, date }, where date is YYYY-MM-DD or null.
  • conference — { id, title } when the session was part of a conference, otherwise null.
  • conference_registration_id — the matching conference_registration.created registration_id, or null.
  • bundle_registration_id — set when the registration came from a bundle purchase, otherwise null.

conference_registration.created data

registration_id, name, email, state, position, marketing_consent, payment_status, registered_at, custom_fields (same meaning as above), conference ({ id, title }), and ticket_tier (a string, or null). There is no event field.

Nothing else is sent: no amounts, no payment details, no attribution or tracking data, and no answers to conference custom questions.

4

Headers

  • Content-Type: application/json
  • User-Agent: OpenCEU-Webhooks/1.0
  • X-OpenCEU-Event-Id — the same value as event_id in the body. It is the same on every retry of a message.
  • X-OpenCEU-Timestamp — Unix time in seconds when this attempt was signed.
  • X-OpenCEU-Signature — v1=<hex>, explained next.
5

Verify the signature

Anyone who finds your URL can POST to it, so check the signature before you trust a message.

  1. Read the timestamp from X-OpenCEU-Timestamp and the signature from X-OpenCEU-Signature (the part after v1=).
  2. Build the string <timestamp>.<raw body>: the timestamp, a literal dot, then the request body exactly as it arrived.
  3. Compute HMAC-SHA256 of that string with your signing secret (the whole whsec_… text), as lowercase hex.
  4. Compare it with the received value in constant time.
  5. Reject the message if the timestamp is more than 5 minutes old (or in the future) to stop replays.

Use the raw body bytes

Sign over the bytes OpenCEU sent, not over JSON you parsed and re-serialized. Re-serializing changes spacing and key order and the check will fail. Most frameworks need a setting to keep the raw body for the route (in Express, express.raw() instead of express.json()).

A Node.js example:

const crypto = require("node:crypto");

// rawBody MUST be the exact bytes OpenCEU sent (a Buffer), not re-serialized JSON.
function verifyOpenCEU({ secret, timestamp, signatureHeader, rawBody, toleranceSeconds = 300 }) {
  if (!/^\d+$/.test(timestamp ?? "")) return false;
  if (Math.abs(Date.now() / 1000 - Number(timestamp)) > toleranceSeconds) return false;

  const expected = crypto
    .createHmac("sha256", secret)
    .update(timestamp + ".")
    .update(rawBody)
    .digest("hex");

  const given = (signatureHeader ?? "").startsWith("v1=") ? signatureHeader.slice(3) : "";
  const a = Buffer.from(expected, "utf8");
  const b = Buffer.from(given, "utf8");
  return a.length === b.length && crypto.timingSafeEqual(a, b);
}

// Express: capture the raw body for this route, do not use express.json() here.
app.post("/openceu-webhook", express.raw({ type: "application/json" }), (req, res) => {
  const ok = verifyOpenCEU({
    secret: process.env.OPENCEU_WEBHOOK_SECRET,       // the whsec_... value
    timestamp: req.get("X-OpenCEU-Timestamp"),
    signatureHeader: req.get("X-OpenCEU-Signature"),
    rawBody: req.body,                                 // Buffer
  });
  if (!ok) return res.status(400).end();

  const event = JSON.parse(req.body.toString("utf8"));
  // Dedupe on event.event_id, store it, then do the slow work after responding.
  res.status(200).end();
});
6

Marketing consent

marketing_consent says whether this person has agreed to marketing email from you. Only add someone to a marketing list or email sequence when it is exactly true. false means they have not agreed, and null means OpenCEU could not determine it when the message was sent: treat null the same as false.

You can still use the registration itself (for example, to give someone access to what they signed up for) whatever the value.

7

How delivery works

  • Any 2xx response means accepted. Anything else is a failure, including redirects (3xx), which are never followed.
  • Respond within 10 seconds. Acknowledge first and do slow work (calling other APIs, sending email) afterwards.
  • A failed message is retried with growing delays (1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, then 12 hours) over about a day, then given up. Your server being down for a few minutes loses nothing; being down for more than a day can.
  • Delivery is at least once. In rare cases the same message arrives twice, so store each event_id you have handled and ignore repeats.
  • Messages can arrive out of order, especially after a retry. Don’t rely on order; use registered_at if you need it.
  • Your server must present a valid HTTPS certificate for the domain in the URL.

The Webhooks card shows when the last delivery happened, whether it worked, and the last error in plain terms. It is a status line, not a delivery log, and there is no button to resend a message.

8

Connect to Kajabi or another tool

OpenCEU sends a generic webhook; it does not have built-in integrations. The usual way to connect a tool that has no direct OpenCEU support is through an automation service such as Zapier or Make:

  1. In the automation service, create a scenario or Zap that starts with a catch hook (a webhook trigger). It gives you a unique https:// URL.
  2. Paste that URL into the OpenCEU Webhooks card and save, then press Send test event so the service can see the shape of the data.
  3. Add the steps that use the data, for example creating or tagging a contact in the tool you use. Map data.email, data.name and so on. If you add people to a marketing list, first filter on data.marketing_consent being true.

Signature checks in no-code tools

Most catch-hook URLs are unguessable but do not verify OpenCEU’s signature. Check what your service supports before you rely on it for anything sensitive, or put a small server of your own in front and verify there. What a given product can accept, and its plan limits, are set by that product, so check its documentation.
9

Pause, regenerate, or remove

  • Pause / Resume — registrations made while paused are not sent, even after you resume. Messages that were already waiting to be delivered when you paused (for example ones being retried because your server was down) are held for up to 72 hours from when they were queued and sent when you resume; anything older than that is dropped. Pausing is a good way to stop traffic while you fix your server without losing what was already queued.
  • Regenerate secret — makes a new secret (shown once) and the old one stops working immediately. Update your server first or at the same moment, because messages sent in between will fail verification and retry.
  • Remove webhook — deletes the URL and secret. Nothing more is sent. You can set it up again later with a new secret.

Changes to the webhook are recorded in the OpenCEU activity log. If you think your secret has leaked, regenerate it. Only organization admins can change these settings or see the full webhook URL (for services like Zapier the URL works like a password); other members see only its domain.

Still stuck? Contact support and we'll help.