Collecting BigBlueButton attendance data with the analytics callback

The analytics callback sends per-meeting attendance and engagement records from BigBlueButton to a system you control, when you set it at meeting creation. This page explains how to receive, link and protect that data.

On this page

Getting BigBlueButton attendance data into your own system

The analytics callback fits a product or LMS team that needs per-meeting attendance and engagement records in its own database. It fits when your application can receive an HTTP request and keep personal data under your own controls. The callback URL is set per meeting: your application passes meta_analytics-callback-url when it creates the meeting, and BigBlueButton sends that meeting's analytics to the URL you name. The records link to the user IDs your application supplies when it builds each join link, so the identifier you assign in your own system is what ties attendance back to a learner or employee. Treat these records as personal data from the first design session. They can show who attended, when, and how they took part, so they need a documented purpose, a retention period, and access rules in your data inventory before the first meeting runs.

Use the callback when your system needs a structured per-meeting record of who attended and how they engaged, kept in your own tables for reporting, grade support or audit. Recordings are a weak substitute for this data. A recording shows what was shared and said, but it does not give you a participant log to query. Webhooks, covered in the sibling topic on bbb-webhooks, deliver meeting and user events as they happen, which suits workflows that react during a session. Recording-ready notifications answer a different question: when a file can be played back. Choose the callback when the final attendance record matters most, and combine it with webhooks when you need both live events and the completed record.

Before you commit, confirm the details in the BigBlueButton API documentation: the exact payload fields, how the data is formatted, when delivery happens relative to the end of the meeting, whether failed deliveries are retried, and how your endpoint can confirm that a request came from your BigBlueButton server. Then test in your own environment. Run a meeting on a staging server, check that your endpoint stores the userID values from your join links, and confirm that a meeting with no recording still produces a record. Build the endpoint to accept duplicate or late deliveries and to store the raw payload before transforming it, so you can rebuild tables if the format changes in a later release.

How attendance data moves from meeting to your database

The flow starts in your application, which calls the BigBlueButton create request with a checksum that your server computes from the shared secret. Your application then returns join links that carry each user's own user ID, so the browser opens the meeting without ever receiving the secret. When attendees join, BigBlueButton sends analytics to the callback URL you set with meta_analytics-callback-url. That request crosses the trust boundary into your receiver, which should confirm how the callback is authenticated before accepting it. The receiver then writes records to a store behind your access controls.

Attendance data flows from your application through BigBlueButton to your own store.

Which callback settings to decide before the first meeting

This table compares the settings to agree on before you point meta_analytics-callback-url at your own system. Read each row as a decision: the middle column says when an option fits, and the last column lists what to check in the BigBlueButton docs or your own environment. The main takeaway is that receiver reachability and user ID mapping shape most of the privacy and reporting work, so settle them before the first live meeting.

DecisionWhen it fitsWhat to confirm
Callback URL scopeSet it for all meetings when one analytics store should cover every room. Limit it to selected meeting types when other rooms must not send data.Confirm where the parameter is set (server-wide or per create call) and whether Scalelite passes it through.
Receiver location and reachabilityReceiver on the same private network, or an endpoint the BigBlueButton server can reach outbound through your firewall.Confirm the server can reach the receiver, which protocol and certificate checks apply, and which port your firewall must allow.
User ID format and mappingPass your own stable account identifier as the user ID so each record links back to a person in your system.Confirm how the user ID appears in join links and how guests, rejoins and reconnects are recorded before go-live.
Storage location and retentionKeep records in your own database or log platform when attendance and engagement data count as personal data under your policy.Agree retention periods and deletion steps with your privacy lead, and document who can query the data.
Engagement fields for reportingNeeded when reports show participation such as chat, polls or speaking. Attendance-only reports need fewer fields.Confirm which engagement fields the callback sends in your release, then test them in a sample meeting.
Server release and install pathFits a clean install of 4.0 on Ubuntu 24.04 64-bit. Existing 2.6, 2.7 or 3.0 servers cannot be upgraded directly to 4.0, so plan a rebuild first.Confirm the callback behavior for your installed release in the BigBlueButton install docs before writing the receiver.
Scaling and multiple serversRelevant when several BigBlueButton servers run behind Scalelite and attendance must come from all of them in one store.Confirm whether the setting must be applied on each server or can be passed through the load balancer.

Setting up the analytics callback step by step

This sequence takes you from a confirmed BigBlueButton version to a verified flow of attendance records into your own system. Each step closes with a check you can run yourself, so gaps surface in a test meeting before live classes depend on the data.

  1. Confirm the BigBlueButton version and docs

    Your platform team checks which BigBlueButton version runs on the server and opens the API documentation for that exact version. Confirm that the meta_analytics-callback-url parameter is documented for it, and record the version in your deployment notes. The 4.0 line installs on Ubuntu 24.04 64-bit, and direct upgrades from 2.6, 2.7 or 3.0 are not supported, so check your starting point before you plan any change. Done when you have a written version number and a link to the matching parameter entry that a reviewer can reproduce.

  2. Build a receiver endpoint the server can reach

    Your development team builds an endpoint in a system you control that accepts the callback request from the BigBlueButton server. Open the network path from the server to the endpoint, then confirm the HTTP method, payload format and whether the callback is signed or authenticated in the docs for your version. Send a sample request from the BigBlueButton server itself. Done when your endpoint logs the test payload and returns a success status to the sender.

  3. Compute the create checksum on your server

    Your backend builds each create call and signs it with the shared secret, so the secret never reaches a browser or web page. Use SHA-256, the default, unless the docs for your version direct otherwise. SHA-1 is kept for legacy use, and SHA-384 and SHA-512 are available since version 2.5. Keep the checksum logic in one tested function. Done when a create request signed by your backend succeeds, and the same request with a wrong secret is rejected.

  4. Pass the callback URL at meeting creation

    Your backend adds meta_analytics-callback-url to the create call, URL-encoded, pointing to the endpoint from the second step. Set it at creation so the callback is tied to that meeting from the start. Store the internal meeting ID and the callback URL together in your own database so records can be matched later. Confirm in the docs whether the server validates the URL at creation. Done when the create response is successful and your database holds both values for the same meeting.

  5. Send stable user IDs in join requests

    Your application sends a userID in every join URL, drawn from an internal account key that stays fixed across sessions. Keep names and email addresses out of the ID, because attendance and engagement data is personal data and identifiers should carry as little information as possible. Maintain a mapping table from each userID to your account. Done when two joins by the same account produce the same ID, two different accounts never share one, and the mapping is stored in your database.

  6. Run a short test meeting with known participants

    Your QA lead creates a test meeting with a small fixed roster that includes a moderator, a viewer and a guest. Before starting, write down the expected roster and the actions each participant will take, such as joining, speaking, sharing the screen and leaving. Keep the meeting short so the comparison stays manageable. Done when the meeting has ended and your endpoint has received a callback for it.

  7. Verify records match expected users

    Your engineering and compliance leads compare each received record with the expected roster from the test meeting. Check that every userID maps to the correct account, that no unknown IDs appear, and that no expected participant is missing. Confirm that the stored data follows your retention and access rules before production use. Done when the reconciliation shows a full match, or every gap has been traced to a cause such as a missing join or an unmapped ID.

How the callback links attendance to your user IDs

Attendance records are only as useful as the identifiers attached to them. The callback reports who was in a meeting, so your system can match a record to a person only if the identifier in that record is the one your application already uses for that person. The link starts in the join URL: the userID your application sets when it sends someone into a meeting is the value you should expect to find in the callback data, and you should confirm that in testing. Choose one stable internal account ID for this purpose and pass the same value every time the same person joins. For the parameters and how to build those URLs, see the sibling topic on generating join links with roles and user data. Before you rely on the mapping, run a test meeting with two test accounts and compare the identifiers in the callback payload with the userID you sent for each.

Guests and anonymous attendees need their own rules, because a missing or generic identifier cannot be matched to an account. Decide before launch how your application handles people who join without signing in, such as guest links or public sessions. You can issue a stable identifier for each invitation when the join URL is built, or you can record these attendees as unmatched and keep them out of individual reports. Do not let a guest reuse the identifier of a registered user. IDs also need a policy over time. If you reuse an ID after an account is deleted, or carry a value over from an old system during a migration, past attendance will appear to belong to the new person. Ask your team to confirm whether the callback returns the same identifier for a user across separate meetings, and how it marks a guest.

Display names change, and the callback may carry the name a person had when they joined. Treat the name only as a label for reading reports, and never use it as the key that links a record to a person. If a student changes a surname between terms, a name-based match can split one person's attendance into two records or attach it to someone else. Test this directly: change the display name in the join URL between two meetings, then check whether the callback shows the old name, the new name or both, and whether the identifier stays the same. Record the identifier, the account it maps to and the date of the mapping in your own system, so that a later correction can be traced. Keep that mapping under the same access controls as the attendance data itself.

Security controls for the analytics receiver

Every callback from BigBlueButton arrives at a receiver you run, so the secret, the endpoint, the transport and the stored data all need protection. The controls below cover that chain, from the server that sends the data to the logs that record it. Check each one against your own network and your current BigBlueButton version before you accept live learner data.

Keep the shared secret server-side

The BigBlueButton shared secret signs every API call, and anyone who holds it can create, end or query meetings on your server. Store it in a secrets manager or a root-readable configuration file on the server. Never place it in JavaScript, HTML templates, mobile apps or browser-visible settings. The API documentation warns against embedding it in a web page, so review front-end bundles and build pipelines for it before launch. Record who can read the secret and how it is rotated.

BigBlueButton API docs

Verify callbacks before trusting them

Confirm in the current documentation for meta_analytics-callback-url whether each callback carries a signature or checksum that your receiver can verify. If it does, validate it on every request and reject failures before parsing the body. If it does not, treat the payload as unauthenticated input. Match the meeting identifier against meetings your system created, validate field types and sizes, and avoid writing attendance rows from a single unverified post. Test with a captured sample from a staging server before go-live.

Allowlist the BigBlueButton servers

Only your BigBlueButton servers should send analytics data to the receiver, so restrict the route by source address at the firewall or load balancer. List the outbound address of each server, and confirm which address the receiver sees after any NAT. Keep the receiver hostname separate from learner-facing sites and off public browser paths. Update the allowlist whenever a server is replaced, moved to a new cloud instance or added to a cluster.

Encrypt the callback in transit

Serve the receiver over HTTPS only, with a certificate issued for its hostname. Configure the BigBlueButton server to call that hostname by name, so certificate checks work. BigBlueButton requires a valid hostname for SSL on its own server, so plan the naming before installation (BigBlueButton install docs). Confirm that the BigBlueButton server trusts your full certificate chain, including any internal certificate authority, and scan the TLS configuration after each renewal.

Limit access to stored records

Attendance records tied to your user IDs are personal data, so give the receiving service its own database account that can only insert and read the tables it needs. Keep administrative and reporting access in separate roles, and review who holds each role on a fixed schedule. Do not share the receiver's database credentials with dashboards or support tooling. Agree a retention period with your data protection lead before the first meeting is recorded, and confirm how deletion reaches backup copies.

Keep personal data out of logs

Application logs, reverse proxy logs and load balancer logs can capture request bodies or query strings, and identifiers can appear in either. Configure the receiver to log the event type, the meeting reference and the response code, and nothing that identifies a learner. Turn off request body logging in the proxy, check that error traces do not print payloads, and confirm the retention period for each log store. Test by sending a sample callback and searching every log store for a known user ID.

When the analytics callback fits compared with other data sources

Choose the analytics callback when your system needs one attendance and engagement record for each meeting, linked to the user IDs your portal already uses and stored where your team controls the data. BigBlueButton sends the data to a URL set on the meeting through meta_analytics-callback-url, so your application receives each record and decides what to keep. The BigBlueButton API documentation covers the checksum rules for the calls your server makes.

  • What the team gains: attendance and engagement records in your own database, keyed to your own user IDs.
  • What the team builds: a server-side HTTPS endpoint that accepts the callback, verifies it and maps each record to a meeting and a user.
  • What the team maintains: the schema, retention periods and deletion handling for records that identify learners.
  • What the team must plan: the availability of the endpoint during class hours, since a missed delivery is a gap in your data.
  • Privacy duties: the data protection review treats these records as personal data from the moment they arrive.

Confirm with your privacy team that per-meeting engagement data may be stored, and check the payload fields in your BigBlueButton version before you design the schema.

Limits to confirm before you commit to the callback

The callback depends on details that vary by version and by how your environment is set up, so these checks come before you write a receiver. Each card names one item to confirm in the BigBlueButton docs and then in a staging meeting. The answers set your data model, your retry plan and your attendance report.

Versions that carry the parameter

Confirm whether your BigBlueButton version accepts meta_analytics-callback-url at all, and what the payload looks like in that version. The 4.0.0 release came out on October 14, 2026, while the 3.0 branch still receives maintenance releases such as 3.0.39. Check the API docs and release notes for the version you will run, then test the parameter on a staging server before you design the receiver around it.

Release notes

Timing of the callback

Confirm whether BigBlueButton sends attendance data once when a meeting ends or while it runs, because that decides whether your system can show live attendance or only finished sessions. Ask the same question for meetings that end with no participants and for meetings closed by an operator, since those edge cases are where receivers built for one payload per meeting tend to fail. Write the answer into your design, then verify it with a short test meeting on a staging server.

Retries when the receiver is down

Confirm whether BigBlueButton retries a callback that fails because your receiver is unavailable, how many attempts it makes, how far apart they are, and whether it gives up after the last one. Without retries, any downtime on your side can mean lost attendance unless you store the data some other way. Confirm this with the vendor or in the project documentation for your version, then stop your receiver during a test meeting and record what arrives after it comes back.

API docs

Payload size and handling

Confirm the maximum size of the payload and the format it arrives in, then configure your receiver to accept a body of that size without truncation. Attendance and engagement data grows with participant count, chat and poll activity, so a large class can produce a payload that a default web server or proxy limit rejects. Set request size limits and timeouts in your reverse proxy, log rejected requests, and store the raw payload before parsing so a failed record can be replayed.

Breakout rooms and reconnects

Confirm how engagement from breakout rooms reaches your callback for the main meeting, and whether each breakout is reported separately with its own identifiers. Also check what happens when a participant drops and rejoins, because the payload may show one long session, several short ones, or duplicate entries for the same user. Map every record to your own user ID before you calculate attendance, and test both cases in a staging meeting.

Running the receiver: failures, retention and deletion

A missed callback leaves a gap in attendance data that the meeting itself does not report, so the receiver needs its own monitoring. Watch the HTTP endpoint behind meta_analytics-callback-url, your reverse proxy and the store or queue it writes to. Track response codes, the number of payloads received per day, and any meeting you created through the API that ended without a matching payload. Reconcile these gaps on a schedule, because a single failed request is easy to miss in a busy week. Before you design replay, confirm in the BigBlueButton documentation what the server does when your endpoint is unreachable or returns an error, and whether it retries. Then decide whether raw payloads are stored before parsing. Storing them lets you reprocess after a bug fix, but only if the documentation and the client's policy allow keeping that copy, so confirm both before you build it.

Retention should be set by the client's privacy and legal owners, and engineers should make that period enforceable. Ask them to set a period for each data category: raw payloads, parsed attendance rows keyed to user IDs, and backups. Engineers then build a scheduled job that deletes expired records, a log of each run, and a test restore that confirms expired data does not come back. Ask the legal owners to confirm the legal basis for collecting engagement data before the job goes live, since that answer decides whether engagement metrics can be kept at all. A userID is still an identifier, so treat it as personal data even when it is an internal number. Write the retention rule in the same document as the callback design so operators and auditors work from one version.

Deletion requests have to reach two places: your store and each BigBlueButton server that holds data about the user. Define one procedure that starts with the user ID you mapped at join time, removes or pseudonymizes matching rows and payloads in your store, and then removes matching data on each BigBlueButton server, including recordings and any logs your team keeps. Record each request, who applied it, and when each system was cleared. Confirm with the client which copies exist, including backups, replicas and log archives, and how long each takes to expire, because a deletion that leaves a backup copy is an open item for their privacy team to decide. Test the procedure on a staging copy with a sample user before the first real request arrives.

What teams ask before building the attendance callback

What drives the cost of building the attendance receiver and mapping?

The main cost driver is how much logic sits between the callback and your data model. A receiver that stores each payload as received costs far less than one that matches each attendee to a learner, course or account, handles repeated deliveries and writes to your reporting store. Mapping is often the larger share of the work, because it depends on the identifiers your application passed in when it created meetings and joined users. Those identifiers must line up with your own records. Cost rises with the number of systems that send meetings, the number of ID formats in use and the number of reports that depend on the data. The build is one-time work, while schema changes and new data sources add recurring effort. When you request a quote, ask for the receiver, the mapping rules, the test environment and the handover as separate line items.

How long does the attendance callback build take?

The timeline depends on scope and on your environment, and no single duration applies to every team. A receiver that writes payloads to one database moves faster than a build that feeds several reporting systems and needs field-level mapping. Your environment often matters as much as the code. Check whether you already have a public HTTPS hostname for the endpoint, a staging BigBlueButton server to test against, an existing API integration to extend and people available to approve how the data is handled. Each missing item can add waiting time that has nothing to do with development. A written scope should list the receiving systems, the test meetings used for acceptance and the dependencies on your side, so that delays from access or approvals stay visible.

What does the work need from our team before it starts?

The work needs four things from your side before the build starts:

  • API access to the BigBlueButton server or front end that creates meetings, with the shared secret kept in a server-side secret store. The BigBlueButton API documentation explains how the secret is used in checksums.
  • A hostname and TLS certificate for the endpoint that receives the callback, reachable from the BigBlueButton server.
  • A place to host the receiver inside your infrastructure, with the logging, monitoring and backups your team already runs.
  • Sign-off from your privacy owner on which attendance and engagement fields are collected, how long they are kept and who can see them.

Confirm which of these already exist. Missing items usually cause the most delay, so resolve them before the build plan is fixed.

Can our internal team build the attendance callback without a partner?

Yes, if your team has the skills and capacity to own the build and its upkeep. The receiver is an ordinary HTTPS service. The harder parts are the surrounding decisions: confirming how the callback is authenticated in the documentation for your BigBlueButton version, handling retries and repeated deliveries, matching identifiers to your records and documenting how the data is handled. Internal teams usually know their identity model and storage best, which speeds up mapping. The risks are competing priorities, knowledge held by one engineer and delayed privacy or security review. A useful check is whether two engineers can explain the API flow, the callback and the retention rules. If they cannot, a fixed-scope engagement with written deliverables and a handover can close the gap.

Do attendance records count as personal data, and what follows?

In most cases, yes. Records that link an identifier to the time a person joined, how long they stayed and how they engaged are personal data under most privacy laws, even when the identifier is only a pseudonymous ID. Your organization then needs to decide and document several points before collection starts: the purpose and legal basis, which fields are needed, how long records are kept, who can access them, how they are deleted and whether your regime requires a formal impact assessment. These decisions shape the schema, so they belong at the start of the build. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and your privacy counsel decide the legal position.

What should we ask for in a quote for this work?

Ask for a written scope that names each deliverable, so that two quotes can be compared line by line. DeployOpen does not publish a price list, and a quote follows from the written scope. Useful items to request include the receiver service and its hosting arrangement, the mapping rules and the list of identifiers covered, the test plan and the test meetings used for acceptance, the documentation and runbook, a handover session and any ongoing support as a separate item. Ask which items are one-time and which recur, who holds the secret and credentials at handover, what is excluded and which client dependencies could change the price or timeline. Most engagements are fixed-scope, so any change should be written down before the work it affects starts.

Does the attendance callback need its own separate server?

No separate server is required by default, but the receiver must run somewhere your team controls and that the BigBlueButton server can reach over HTTPS. It can share a host with other internal services if your security policy allows it, or it can run on its own instance, which is easier to isolate, patch and log. Running it on the BigBlueButton server adds load and widens that server's attack surface. Before choosing that option, check the resources a BigBlueButton 4.0 server needs in the install documentation and confirm the firewall rules still hold. Ask your architecture and security teams where the endpoint sits, who can reach it and how its logs and keys are protected.

How DeployOpen scopes an attendance callback build

DeployOpen approaches attendance callback work as a fixed-scope build inside your own infrastructure, so the receiving service, the user ID mapping and the personal data handling are agreed in writing before anything is built. The four steps below show what the scope, build, handover and ongoing support cover for this topic.

How we scope

  • The written scope names the meeting servers, the receiving endpoint and the systems that will store attendance records.
  • It states which fields are collected, how records link to your user IDs and who may read them.
  • The engagement is fixed-scope, with ongoing support available as a retainer, and the quote follows from the written scope.

How we build

  • Configure the analytics callback URL on meeting creation and confirm the receiver accepts test requests.
  • Map records to your user IDs with a tested lookup, and keep personal data out of application logs.
  • Run test meetings across your BigBlueButton servers and record the outcome of each verification step.

How we hand over

  • Written documentation of the data flow, the receiving endpoint, the user ID mapping and the storage location.
  • A personal data handling note covering who can read attendance records and the retention period your policy sets.
  • A short runbook for your operators, covering failed callbacks and checks to run after each BigBlueButton change.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Re-test the callback after version changes, since BigBlueButton 4.0 has no direct upgrade from 2.6, 2.7 or 3.0.
  • Check which callback fields change in each release before upgrading production servers.

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.