Using bbb-webhooks for BigBlueButton meeting events

Use bbb-webhooks to subscribe your application to BigBlueButton meeting, user and recording events instead of polling the API. This page covers installation, global and per-meeting hooks, checksum verification and re-registration decisions.

On this page

How BigBlueButton webhooks tell your application about meeting events

bbb-webhooks forwards BigBlueButton meeting events to a URL you register, so your application can learn that a meeting started, that a user joined or left, or that a meeting ended without repeatedly asking the server. Choose it when your LMS, portal or product must react to these changes as they happen, because polling getMeetings or getRecordings means repeated calls, delayed state and extra load on both sides. Polling still fits occasional checks, such as a scheduled reconciliation of rooms, and many teams use both. The recording-ready notification and the attendance analytics callback are separate features covered on their sibling pages, so this section focuses on the meeting event stream.

Before you build a receiver, confirm the exact event names, payload fields, retry behavior and restart behavior in the BigBlueButton API documentation and in the bbb-webhooks version you install. These details depend on the version, so do not copy them from older examples. Until you have confirmed them, have your engineers treat duplicate events, out-of-order events and missed events as possible. For each state your application stores, write down which event updates it, what happens if that event is missed, and which API call can correct the state afterwards. Also confirm how the server authenticates its requests to your endpoint, since that decides how you protect the receiver.

Treat the events as triggers that update your records, with periodic reconciliation as the backstop. A practical pattern is to store the meeting ID alongside your own room identifier when you create a meeting, update your state from incoming events, and run a scheduled check with getMeetings for rooms that have gone quiet. Assign one owner for the callback endpoint, covering its TLS certificate, logs and the test runs that prove events arrive. Test the full lifecycle with a meeting that is started, joined, left and ended, then restart the bbb-webhooks process and your receiver during a test and check what your data shows afterwards. Record the results so your security and operations teams can review them later.

Which hook scope and delivery settings fit your integration

This table compares global hooks, per-meeting hooks and creation-time callback URLs by scope, registration, removal, operating cost and fit, along with event coverage, checksum checks, endpoint hosting and re-registration. Each row marks whether the BigBlueButton API documentation states the behavior (Documented) or whether you must test it on your version (Test). Most teams start with a global hook for event streams and add per-meeting settings only where one meeting needs its own endpoint.

SettingGlobal hooksPer-meeting hooksCreation callback URLs
ScopeEvery meeting on the server, including meetings created after registration.One meeting, identified by its meeting ID.One meeting, set by meta parameters on the create call.
Who registers itServer operator, through an admin call signed with the shared secret.Your application, through a call that references a meeting ID you created.Your application, as a parameter on the create call. Confirm the parameter names in the API docs.
When it is removedTest: whether it persists until the operator removes it, and whether restarts clear it.Test: whether it ends with the meeting or stays registered afterward.Test: how long the callback URL stays active after the meeting ends.
Operating costOne consumer and one endpoint for all meetings. Load grows with total event volume on the server.Your code tracks which hooks belong to which meetings and removes stale ones.Least bookkeeping, but each callback type needs its own handler in your application.
Best fitOne platform team sending all meeting and recording events into one system.Different meetings notify different systems, such as separate tenants or course sites.One recording-ready or attendance feed tied to a single meeting type.
Event types coveredTest: exact meeting, user and recording event names on your bbb-webhooks version.Test: which event types a per-meeting hook receives on your version.Specific callbacks only, such as recording-ready or analytics data.
Checksum verification on the endpointDocumented: API requests use SHA-256 checksums by default. Test: whether deliveries carry a signature you can verify.Test: whether per-meeting deliveries carry the same verifiable checksum as global ones.Test: what your endpoint receives on callbacks and how to verify it.
Public hosting of the endpointTest: whether the endpoint must be publicly reachable, with valid TLS, from the BigBlueButton server.Test: the same reachability and TLS requirements apply to each per-meeting URL.Test: firewall, DNS and TLS settings for the callback host, including any private network.
Re-registration after restart or upgradeTest: whether hooks survive restarts. If not, re-register from your startup process. Documented: direct upgrades to 4.0 are not supported.Test: whether hooks for live meetings survive a restart. Your application should re-register for meetings still running.Test: whether callbacks set at create survive a restart. Plan to recreate meetings after a clean 4.0 install.

Global BigBlueButton webhooks or per-meeting hooks: choosing the scope

A global hook suits one system that should receive every meeting event the server produces, such as a single LMS or institutional portal that is the only application using the server. The receiver does not need to know about rooms in advance, because it hears about meetings as they are created, joined and ended. Setup stays short: you register one callback once, and the consumer handles the rest of the traffic. The trade-off is that the consumer sees everything, so it must be able to filter and store only what it needs.

  • One owner: the server has one application that owns all meetings, so no other party's events are at stake.
  • Single registration: one hook is set up after installation, so there is no per-room setup code in your application.
  • Full event stream: the receiver gets meeting, user and recording events for the whole server, including rooms your application did not create.
  • Filter logic: the receiver must discard events it does not own, using the meeting identifier as the key.
  • Capacity planning: size the receiver for the busiest moments on the server, not for your own rooms alone.

Before you commit, confirm in the bbb-webhooks documentation for your installed version which events each hook type delivers, and test whether the consumer keeps up with peak meeting activity.

Installing bbb-webhooks and registering your first hook

This sequence connects a BigBlueButton server to an application that receives meeting events through bbb-webhooks. Each step ends with a check, so you know the server, the webhook service, the endpoint and checksum handling work before your application depends on them. The result is one global hook that delivers test meeting events to your endpoint, along with a confirmed restart behavior.

  1. Confirm server version and API reachability

    Record the BigBlueButton version the server runs and confirm it matches the release line you plan to integrate against. A 4.0 server installs on Ubuntu 24.04 64-bit, so check the operating system as well. From the host where bbb-webhooks will run, send a getMeetings request to the API, with a checksum computed from the server's shared secret on that host. Check: the server returns an XML response. A timeout or connection error means the network path, TLS hostname or firewall needs fixing before you continue.

  2. Install bbb-webhooks on its host

    Decide where bbb-webhooks runs before you install it. It can share the BigBlueButton server or run on a separate host that can reach the API. Follow the install path in the bbb-webhooks repository documentation, including its stated runtime and service setup, and record the exact version you install so later upgrades can be tracked. Check: the service starts under your service manager and logs a clean startup with no configuration errors.

  3. Configure the shared secret and endpoint

    Add the BigBlueButton shared secret and the HTTPS URL of your receiving endpoint to the bbb-webhooks configuration. Restrict the configuration file to the service account. Never place the secret in browser-side code, front-end templates, client bundles or application logs, because anyone who sees it can sign API calls for your server. The BigBlueButton API documentation warns against embedding the secret in a web page. Check: the service loads the configuration, and a test request from the webhooks host reaches your endpoint and gets a success response.

  4. Register a global hook and confirm it

    Register a global hook that points at your endpoint, so the service sends events for every meeting on the server. Send the registration with a checksum computed from the same shared secret. Then list the hooks through the bbb-webhooks interface and confirm that your callback URL and the returned hook ID appear. Check: the listing matches the URL you configured. Confirm the required request fields in the repository documentation before you script the registration.

  5. Run a test meeting and confirm events

    Create a test meeting on the server in a non-production setting, join it with one test user, then end it. Keeping the test small makes the events easier to match. Watch your endpoint logs for the meeting creation, user join and meeting end events, and compare each payload with the event names listed in the documentation. Check: each expected event arrives once, carrying the meeting identifier from your test. If an event is missing, check the hook registration and the endpoint response code before you retry.

  6. Confirm a bad checksum is rejected

    Send a request to the bbb-webhooks API with a deliberately wrong checksum, using a copy of the signed request from the registration step with one character changed. The service should refuse it, and your endpoint should receive no event from that request. Check: the response carries an error, the refusal appears in the service log, and no hook is created or changed. If the request succeeds, checksum validation is not working, so stop and fix it before you go live.

  7. Restart the service and check persistence

    Restart the bbb-webhooks service, then list the hooks again. Confirm whether the global hook is still registered after the restart, since the repository documentation and your deployment setup determine whether hooks persist. If the hook is gone, re-register it and add that registration to your startup process, so a restart does not silently stop event delivery. Check: after the restart, the hook list matches the list you recorded earlier, and a fresh test meeting still produces events at your endpoint.

How events flow from BigBlueButton to your endpoint

The flow starts in your application, which calls the BigBlueButton API with a checksum computed on your server. BigBlueButton emits meeting, user and recording events, and bbb-webhooks forwards each one to the callback URL you registered. That hand-off crosses the trust boundary into your public endpoint, which should recompute the checksum, reject any mismatch and acknowledge the event. Your system then stores state and checks for duplicates, since the same event can arrive more than once. The shared secret stays on your server side and never appears in a web page.

Events move from BigBlueButton through bbb-webhooks to your endpoint, which verifies and stores them.

Verifying callback checksums before your application acts on events

Treat every bbb-webhooks delivery as untrusted until your endpoint has verified it. The BigBlueButton API uses a checksum computed from a secret shared with the server, with SHA-256 as the default, SHA-1 for legacy use, and SHA-384 or SHA-512 since version 2.5. The BigBlueButton API documentation warns never to embed the shared secret in a web page, so keep the secret in your server's secret store, out of front-end code, templates and logs. Confirm the signing scheme for hook payloads in the bbb-webhooks documentation and source before you write verification code. Establish which header or field carries the signature, which hash algorithm applies, and whether the signature covers a timestamp. Do not assume hook payloads sign the same way API calls do.

On each delivery, recompute the signature over the exact raw request body the sender transmitted, then compare it to the received value using a constant-time comparison. Some web frameworks parse and re-serialize JSON before your handler sees it, which changes the bytes and makes every valid signature fail, so confirm your endpoint receives the raw body. Reject any delivery that fails verification with an error status and skip all processing. Parse the payload only after verification passes. Log each rejection with the time, source address and reason, but never log the shared secret, the computed signature or the full payload, since payloads can contain personal data about attendees. Test the endpoint in staging by sending an altered body and a wrong signature, and confirm both are refused.

Plan for duplicate deliveries. Retries can deliver the same event more than once, so the handler must produce the same result whether it sees an event once or several times. Identify the field that uniquely identifies each event in the version you run, store processed identifiers in a table with a unique constraint, and write the state change and the identifier in the same database transaction. A repeated identifier then becomes a no-op. Also plan for events arriving out of order, for example a recording notice that reaches you before the meeting-ended event it depends on. Confirm with the bbb-webhooks documentation how many times the sender retries, the backoff between attempts and which responses count as failures, because these details vary by version and must be verified for the version you run.

Protecting the callback endpoint and the shared secret

Webhook endpoints sit between BigBlueButton and your systems, so each risk below lands on a different part of that path: the secret, the endpoint, the event data, the registered hooks and the host. Each card names the control to put in place and the team on your side that should own it. Agree these owners before go-live.

Shared secret exposure

The shared secret signs every BigBlueButton API call, so anyone who holds it can create meetings, end them and read meeting data as your application. Keep it in server-side configuration only, and never place it in a web page, JavaScript bundle, HTML template or application log line. Search deployed pages, CI output and error reports for the value before go-live, and rotate it if it has appeared anywhere outside the server. Owner: the engineering lead for the front end, with the platform team that holds the server configuration.

BigBlueButton API docs

Unverified callback requests

Your endpoint receives event callbacks at a public address, so anyone who finds that URL can send requests that look like BigBlueButton events. Verify the checksum on every callback before you act on it, and discard any request that fails. Serve the endpoint over HTTPS with a valid certificate, and restrict inbound access at the network layer where your infrastructure allows it. Test with a forged request in staging to confirm it is rejected. Owner: the platform engineering team that operates the callback service.

Personal data in events

Events carry user names, user identifiers and meeting names, which typically counts as personal data under privacy law. Decide which fields your system needs, keep only the identifiers required to match a record, and set a retention period for each store, including logs and backups. Ask your data protection team to confirm the period and the lawful basis before the hook goes live. Owner: the privacy or data protection lead, with the application team that writes the event handler.

Missed events during downtime

If your endpoint is down, events sent during the outage may never reach your system, and your records can drift from what happened in the meeting. Do not treat retries as a complete safeguard; confirm how bbb-webhooks retries in your version before you rely on it. After any outage, reconcile by reading meeting and recording state through the API, using calls such as getMeetings and getRecordings. Alert on endpoint failures so gaps surface early. Owner: the platform on-call team.

Hooks left after meetings

Per-meeting hooks that outlive their meeting keep sending events to your endpoint and keep data flowing that you no longer need. Confirm whether bbb-webhooks removes per-meeting hooks when a meeting ends in your version, and remove them yourself if it does not. Run a scheduled check that lists registered hooks and flags any whose meeting no longer exists. Re-check the hook list after each restart or host rebuild, and re-register any hook that is missing. Owner: the application team that creates meetings, since it knows when each meeting closes.

Webhook host access controls

The bbb-webhooks service runs on a server that holds the shared secret and can reach your endpoint, so that host is part of your trust boundary. Limit administrative logins to named accounts with key-based access, restrict who can read the configuration file that holds the secret, and run the service under a dedicated account. Log administrative access and review the access list on a fixed schedule. Owner: the infrastructure or IT security team that runs the BigBlueButton servers.

What does a bbb-webhooks integration cost and take to build?

What drives the effort in a bbb-webhooks integration?

Seven factors set most of the effort: event types, hook scope, endpoint hosting, checksum handling, idempotent processing, reconciliation with API reads and multi-server clusters. Each one is a scope decision to settle in writing before work starts.

  • Event types: each meeting, user and recording event needs a handler, a test and a data mapping.
  • Hook scope: global hooks cover every meeting on a server, while per-meeting hooks need registration and cleanup for each room.
  • Endpoint hosting: the receiving URL needs a public address, valid TLS and monitoring.
  • Checksum handling: every callback is verified before any processing.
  • Idempotent processing: repeated deliveries must not create duplicate records.
  • Reconciliation with API reads: a scheduled comparison catches events that never arrived.
  • Multi-server clusters: hook registration and event sources must be mapped to each server.
Can our own team build a bbb-webhooks integration without a partner?

Yes, if your team has administrative access to the BigBlueButton server, a secure public endpoint and a test meeting environment. The install and verification steps then serve as the checklist. Before starting, confirm the following:

  • The server's BigBlueButton version. BigBlueButton 4.0 installs on Ubuntu 24.04 64-bit, and direct upgrades from 2.6, 2.7 or 3.0 are not supported.
  • An endpoint on a valid hostname with TLS, reachable from the server.
  • A non-production meeting environment where you can create rooms, join with several roles and end meetings.

For verification, install bbb-webhooks, register a test hook, trigger events in a test meeting, confirm that a payload with a wrong checksum is rejected, and confirm that a repeated delivery is recorded only once. If any step fails, the gap is usually in access, hosting or the test environment, and those are the first things to resolve.

What sets the timeline for a bbb-webhooks build?

The duration depends on the scope agreed in writing before work starts, so no fixed figure applies to every setup. The same factors that drive effort also set the timeline: the number of event types, whether hooks are global or per meeting, how the endpoint is hosted and whether you run a cluster. Two client-side dependencies often decide the calendar: access to a test environment and the time your team needs to review data handling decisions. Ask for the timeline as a milestone plan in the written scope, with each client dependency named and dated. Before you sign, confirm when test servers and endpoint hosting will be available, since waiting on either can extend any schedule.

What does the client need to provide for a bbb-webhooks engagement?

The client provides server access, endpoint hosting, test accounts, data handling decisions and a named owner. These inputs are what the build depends on, so confirm them before the scope is signed.

  • Server access: administrative access to the BigBlueButton server and a network path from it to the endpoint.
  • Endpoint hosting: a public hostname with a valid certificate, in infrastructure you run or have approved.
  • Test accounts: moderator, attendee and admin accounts in a non-production environment.
  • Data handling decisions: which meeting, user and recording fields your application stores, how long they are kept and who can see them.
  • A named owner: one person who approves scope, answers questions during the build and accepts the handover.

The written scope should record which of these inputs the client owns and which, if any, DeployOpen covers.

How is a quote for bbb-webhooks work produced?

A quote follows from the written scope, because DeployOpen does not publish a price list. Scope is agreed in writing before work starts, and most engagements are fixed-scope, so deliverables and timelines are set out in the same document. To compare quotes, check that the scope lists the items that change cost: event types, hook scope, endpoint hosting, checksum and idempotency handling, reconciliation, cluster layout and the client dependencies described above. Ask for the quote to separate one-time build work, testing and handover from any recurring work. Recurring work can include ongoing support, upgrades and continuous testing, which DeployOpen offers as retainers. Also ask how scope changes during the build are priced and who approves them.

What goes wrong when bbb-webhooks callbacks reach an application?

The common failures are missed events, duplicate records, rejected callbacks and hooks that stop working after a change. Each has a known cause and a planned response, so build the response into the design.

  • Missed events: when the endpoint is unavailable, some events may not be delivered as expected. Confirm how retries behave in your BigBlueButton version and plan reconciliation with API reads to close any gap.
  • Duplicate records: retried deliveries processed twice without an idempotent key create double entries.
  • Rejected callbacks: a wrong shared secret, or a reverse proxy that changes the request body, makes checksums fail.
  • Lost hooks: hooks may need re-registering after a server rebuild or a configuration change, so the procedure belongs in your runbook.
  • Expired certificates: an expired TLS certificate on the endpoint stops delivery until it is renewed.
Which security checks should a bbb-webhooks integration pass before launch?

Confirm that the shared secret stays on your server and that every callback is verified before your application acts on it. The BigBlueButton API documentation covers checksum requirements, and the default algorithm is SHA-256.

  • Keep the shared secret out of web pages and client-side code, since the documentation warns against embedding it.
  • Verify the checksum on every incoming payload and reject failures without processing them.
  • Serve the endpoint over TLS with a valid certificate whose hostname matches the endpoint.
  • Restrict which sources can reach the endpoint with network rules, where your environment allows it.
  • Test a tampered payload and a missing checksum in the test environment, and keep the results as evidence for your security review.

What to confirm before you build on bbb-webhooks

The items below depend on the bbb-webhooks version you install, the BigBlueButton release underneath it and how your servers are arranged. None of them should be assumed from older guides or memory. Check each one against the documentation, the repository or a test meeting on the same version before you write consumer code.

Event names and payloads

Each hook sends event names and a payload, and your parser depends on both. Confirm which meeting, user and recording events the bbb-webhooks version you install emits, and which fields each event carries, including the identifiers and timestamps you plan to store. Check the API documentation first, then trigger each event in a test meeting on the same BigBlueButton version. Save the raw payload from every event as a fixture so later upgrades show any change.

BigBlueButton API docs

Retry count and backoff

When your endpoint is slow or unavailable, the hook may resend an event, and your receiver must handle that. The retry count, the wait between attempts and the point at which delivery stops are settings you must measure on your version. Look for them in the repository and release notes, then point a test hook at an endpoint that returns errors and time each attempt. Record how a retry after a timeout arrives, because a receiver that has already processed the event will see duplicate deliveries.

Hook persistence across restarts

A hook you register may not exist after a BigBlueButton restart, a server reboot or a restart of the bbb-webhooks service. Confirm where registrations are stored and whether they reload on startup, because that decides whether your provisioning code must re-register hooks after maintenance. Test it with one global hook and one per-meeting hook: restart the service, reboot the server, then check which hooks still respond. Add that check to your maintenance runbook so each window confirms the hooks returned.

Clean install for version 4.0

BigBlueButton 4.0 installs on Ubuntu 24.04 64-bit, and direct upgrades from 2.6, 2.7 or 3.0 are not supported, so a clean server installation is recommended. If your current deployment runs one of those versions, plan a new server and rebuild your hook registrations there, then test a meeting before you cut over traffic. Confirm in the install documentation which configuration steps must be repeated, and keep the old server running until the new one passes your checks.

BigBlueButton install docs

Ordering of events

Events from one meeting may arrive out of the order they happened, for example a leave event before the matching join. Confirm whether the version promises any ordering, and whether events from one meeting stay in sequence when several arrive close together. Test with two users who join and leave quickly, then log the arrival order at your endpoint. Build your consumer to key state by meeting and user identifiers and to accept late events without corrupting that state.

Events in a Scalelite cluster

Scalelite sends each meeting to the least loaded server in its pool, so meetings in your deployment can run on different backends. Confirm whether a hook registered on one backend fires for meetings on the others, or whether you must register on every server in the pool. Run a test meeting on each backend and compare which events reach your endpoint. Also confirm what happens to registered hooks when a server is drained or removed from the pool.

Scalelite repository

How DeployOpen scopes and tests BigBlueButton event integrations

DeployOpen plans, implements, integrates, tests, documents and supports self-hosted open-source platforms inside your own infrastructure, including BigBlueButton event integrations built on bbb-webhooks. For this topic, the work starts with a written scope that names the meeting, user and recording events your application needs. The build is then tested against that scope and handed over with documentation your team can operate.

How we scope

  • The written scope lists which meeting, user and recording events your application subscribes to.
  • Scope also covers where bbb-webhooks runs, which BigBlueButton servers send events, and whether hooks are global or per meeting.
  • Fixed-scope terms are agreed in writing before work starts, and ongoing support can be added as a retainer.

How we build

  • Install and configure bbb-webhooks on the BigBlueButton server, with the callback endpoint and secrets kept out of client-side code.
  • Configure global hooks for all meetings and per-meeting hooks where a flow needs them, then test each subscription.
  • Verify callback checksums on every incoming event and reject payloads that fail, so spoofed requests never reach your business logic.

How we hand over

  • Documentation covers the hook configuration, the event handlers in your application, and the checksum verification steps.
  • Retry behavior, failed-delivery handling and the runbook for re-registering hooks after a server or version change are written down.
  • Acceptance tests run against the written scope, and the results are handed to your team with the configuration.

How we support

  • Retainers can cover upgrades of BigBlueButton and bbb-webhooks, so hook configuration is checked after each version change.
  • Continuous testing can rerun event subscription checks as your application and BigBlueButton servers change.
  • Ask for the support scope, response expectations and who owns the hook configuration in writing before the engagement starts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.