Embedding BigBlueButton in your own application with the API

Embedding BigBlueButton through its API means your own server creates meetings, signs each request with a checksum and maps your users to roles before they join. This page covers the build sequence, the configuration choices and the point where an existing front end is enough.

On this page

Embedding BigBlueButton with the API for a custom portal or product

Your server can create BigBlueButton meetings and generate join links through the BigBlueButton API, with every request signed by a checksum, and for many portals or products an existing front end is enough. This section is for teams running a portal, product or internal tool that needs meetings embedded in its own pages. The API covers the server-side calls: creating a meeting, generating a join URL for each user, and ending the meeting. Your application decides who may join and in which role, then sends the browser to the join URL. Audio, video, slides, chat, the whiteboard, polls and recordings all run on, and are stored by, the BigBlueButton servers, so your application carries none of the media and holds meeting content only if you copy it out.

Start with the decision that shapes everything else: the shared secret must stay on your server and never reach a web page. Compute each checksum on the server from the call name and query string, and keep the secret in server configuration or a secrets store your team already operates. The API documentation describes SHA-256 as the default hash, SHA-1 for legacy use, and SHA-384 or SHA-512 from version 2.5, so confirm which algorithm your server version expects before you write the signing code. Test the flow with a meeting created from a script before you connect it to your user interface, so checksum errors surface in one place. The BigBlueButton API documentation lists each call and its parameters.

Read the rest of this page if your team will write the server code that creates meetings and sends users into them, or if you are weighing that code against a ready front end. Teams that need rooms for staff or students behind a login page may find Greenlight v3 covers the need, since it supports external OpenID Connect authentication. Before you commit, confirm the facts that shape the build in your own environment: the BigBlueButton version you will run (4.0 installs on Ubuntu 24.04, and direct upgrades from 2.6, 2.7 or 3.0 are not supported), the ports and TURN arrangement your users' networks need, and who in your organization owns the shared secret and how it is rotated.

When an existing front end is enough for embedding BigBlueButton

This table compares four ways to put BigBlueButton meetings in front of users: Greenlight v3 as delivered, Greenlight with external sign-in, an LMS module, and a custom application that calls the API directly. Read each row from left to right to see how much your team builds, where the shared secret sits, and which parts stay on the BigBlueButton server. The main takeaway is that a bundled front end is enough when your users fit its sign-in and room model, and a custom build is only needed when your product must own the join flow.

OptionWhat your team buildsShared secret and BigBlueButton sideWhen it fits
Greenlight v3 as deliveredInstallation alongside BigBlueButton, room setup and local admin accounts. No custom code.Greenlight is installed with the server and holds the secret there. Users and rooms are managed inside Greenlight.Organizations that offer meetings outside an LMS and can manage users in Greenlight directly.
Greenlight v3 with external sign-inOpenID Connect settings in environment variables, plus an identity provider such as Keycloak. Confirm which user attributes Greenlight needs.Greenlight still holds the secret. The identity provider handles passwords and multi-factor sign-in.Organizations with a corporate directory that want staff to sign in with existing single sign-on.
LMS module as deliveredEnabling the BigBlueButton activity in the LMS and pointing it at your server. Little or no custom code.The LMS module holds the server secret in its configuration. Meetings and recordings stay on the BigBlueButton server.Courses already run in an LMS with a supported BigBlueButton integration.
Custom application calling the API directlyYour own create and join code, role mapping, checksum computation and meeting-end logic on your back end.Your back end holds the secret. It must never appear in a web page, script or other client-side code.Products where your own portal owns users, permissions and the meeting experience from start to finish.

The shared secret stays on your server while create and join calls flow

The diagram starts in your application back end, which builds a create call and signs it with the shared secret before sending it to the BigBlueButton server. The server responds with the meeting details, and your back end returns a join URL to the user's browser. The browser opens that URL and enters the meeting. When the meeting should close, your back end sends a signed end call. Check that the shared secret stays inside the marked boundary and never appears in page source, scripts or browser requests. Only the join URL crosses to the browser.

Signed calls originate on your server; the browser only receives the join URL.

Why checksums must be computed on your server, never in the browser

Every BigBlueButton API call must carry a checksum parameter, computed from the call name, its query parameters and a secret shared between your application and the BigBlueButton server. The server recomputes the hash on each request and refuses any call whose checksum does not match. That shared secret is the credential that lets a caller create, join or end meetings on your server, so the code that signs calls must run on your back end. The BigBlueButton API documentation warns against placing the shared secret in a web page. Never place the shared secret in a web page, including in JavaScript that builds create or join links in the browser, because anyone who can view the page source could sign calls as your server.

The checksum algorithm defaults to SHA-256. SHA-1 is available for legacy use, and SHA-384 and SHA-512 are supported since version 2.5. Pick one algorithm for the whole integration and confirm that your BigBlueButton server version accepts it. Then confirm which algorithm your client library generates by default and whether you can set it explicitly. Library defaults can differ from server defaults, and a library that still signs with SHA-1 may keep working for a while after a server upgrade, so a successful test alone does not prove both sides agree. Keep the algorithm in one configuration setting so that an upgrade changes a single value across every call your portal makes.

Test the signing path before you build the rest of the flow. On a staging server, send a read-only request with the correct secret, then send the same request with a wrong secret, and record the failure response exactly as returned, including the response format and the error key. Build your error handling from that observed output, and confirm the documented fields for your server version in the API documentation. Also plan secret rotation. Every component that signs calls, including any service that verifies callbacks, must switch to the new secret in the same change window, or valid requests will start failing.

Mapping your users to moderator and viewer roles

Teachers, trainers, hosts and support staff who run a session should join as moderators. Your back end decides this when it builds the join link, using the authenticated user's record in your own system. The name and ID it passes should come from that same profile: the display name your users see in the participant list, and a stable internal user ID that matches your database, so attendance, support tickets and analytics line up later.

  • Role from your session: Look up the moderator role from the authenticated user's record on every join, so a staff member removed from your identity system loses moderator rights the next time a link is built.
  • Permanent internal ID: Pass a permanent internal user ID as the user identifier. Email addresses change, so they make poor keys for attendance records.
  • Display name from the profile: Pass the full name from your user record so moderators appear with the correct name to everyone else in the room.
  • Moderator control stays server-side: Never let the browser choose moderator status, and never place a moderator join link on a page that learners can open or share.
  • Create and join in one flow: Only server code that holds the shared secret should create meetings, and the same code should decide who becomes a moderator.

Check that a staff account removed in your identity system cannot generate a new moderator link.

Setting up the create and join flow step by step

The sequence takes a request from your application's user to a working BigBlueButton room, with the signing and role logic kept on your server. Each step ends with a check you can run, so a failure shows up at the layer that caused it.

  1. Confirm server version, endpoint and secret storage

    Record the BigBlueButton server version, the API base URL your application will call, and where the shared secret is kept. Version 4.0 installs on Ubuntu 24.04 64-bit, and direct upgrades from 2.6, 2.7 or 3.0 are not supported, so confirm the version on the server itself before you write code against it. Store the secret in server-side configuration or a secrets manager, and keep it out of pages, mobile apps and client bundles. This step is done when a version or health request from your application host returns a valid response and the secret appears in none of your front-end build output.

  2. Build the server-side checksum signing function

    Write one function on your server that takes the API call name and its query string, appends the shared secret, and returns the checksum. SHA-256 is the default, and SHA-384 or SHA-512 are available on newer servers, so confirm which algorithm your version and client code use in the BigBlueButton API documentation. Keep this function in a single module so every create, join and end call uses it. This step is done when your function reproduces a reference checksum for a known test input, and when the server rejects a call with one character of its checksum changed.

  3. Create the meeting from your back end

    Your back end calls the create endpoint with a meeting ID, a display name, the moderator and viewer passwords, and any settings you need, all signed by the checksum function. Store the meeting ID and both passwords against the course, event or resource in your database, so the join step does not depend on the browser. Make each meeting ID unique per session, because a repeated ID can attach a new request to a meeting that already exists. This step is done when the create response reports success and the server's meeting info call shows the meeting as present.

  4. Map users to roles and generate join URLs

    Your application decides each user's role from its own permissions, for example instructors as moderators and students as viewers, and it never takes the role from a value the browser sends. After your login check passes, the back end signs a join call carrying the meeting ID, a display name from your user record and the matching password, then returns the URL only to that user's session. Keep the URLs short-lived, because anyone holding one can enter with its role. This step is done when a test instructor's URL and a test student's URL each open the meeting with the expected role.

  5. Test a moderator join in its own browser

    Open the moderator join URL in one browser profile, signed in as the test instructor, and confirm that moderator controls such as slide and user management appear. While the session is open, check the server's running-status call to confirm the browser joined the meeting you created. Then repeat the request with a deliberately wrong checksum to confirm the server refuses it. This step is done when the moderator is in the room, the meeting shows as running, and the tampered request returns a checksum error without opening a session.

  6. Test a viewer join in a second browser

    Open the viewer join URL in a separate browser or private window, so the two sessions share no cookies or local storage. Confirm the viewer sees the room without moderator controls, and that the participant list shows both names with the correct roles. Then end the meeting through your application's end call and confirm the viewer session closes and the server reports the meeting as no longer running. This step is done when both roles behave as expected and the end action is verified on the server.

Ending meetings and keeping your records in sync

Your back end ends a meeting by calling the API's end method with the room's meetingID and a checksum built from the shared secret. This call must come from your server, never from the browser. It also needs the moderator password you set when the meeting was created, so store that value in your database or secrets store and keep it out of any client response. Before your server sends the call, it should confirm that the signed-in user holds a role allowed to end the meeting. When the meeting ends, attendees are disconnected from the session and see an end-of-meeting notice. Confirm the exact screen, whether moderators see a different message, and how attendees are returned to your product in your version, because your support scripts and copy depend on that behavior.

Store your own record of every meeting: your internal ID, the meetingID you sent at create time, a reference to the course or event it belongs to, and a state field such as scheduled, live, ended or failed. Your application is the only system that knows which BigBlueButton meeting belongs to which class or event, so this mapping has to outlive the session itself. Keep the state in step with the server by updating it when your end call succeeds and when a meeting-ended event arrives, as covered in the webhooks topic. Do not rely on a single signal. If an event is missed, reconcile with a periodic check of the meeting's status against the BigBlueButton API documentation. Confirm how long the server keeps meeting state in your version, and make sure your reconciliation window is shorter than that retention period, or stale records will look current.

Three decisions shape the rest of this work. First, decide who may end a meeting. Most teams allow the instructor or host role and their administrators, and the application should enforce that in its own permission model so the outcome never depends on what the browser sends. Second, decide what happens to meetings nobody ends. Agree a policy, such as the application ending the meeting after a set period or leaving it to the server's own timeout, and confirm what the server does with an empty meeting that was never ended in your version. Third, plan the links back to your records. Recordings arrive later and reference the same meetingID, so the recordings and recording-ready topics depend on the mapping you stored here. Attendance data from the analytics callback should carry the user IDs you set in each join URL, so each attendee can be matched to a student or member record without guessing from display names.

Security risks when embedding BigBlueButton with the API

Five places where a custom portal can weaken a self-hosted BigBlueButton deployment: the shared secret, the join links it signs, the permissions your back end enforces, the public hostname and the capacity behind the API. Each card names what to confirm in your environment. Where the docs do not confirm a built-in control, the check is yours to build or verify.

Shared secret storage and rotation

Every API call is signed with a secret shared between your application and the BigBlueButton server, so anyone who reads that secret can make API calls as your application. Keep it in a secrets store or a server-side environment variable, limit who can read the server configuration, and never place the secret in a web page or client-side script. Ask your team how the secret is rotated, which systems must change at the same time, and which checksum algorithm your server version accepts. Confirm the rotation steps on a test server before you rely on them.

API docs

Join URL exposure and reuse

A join URL is a signed link that places a person into a meeting with a name and role, and anyone who holds the link can attempt to open it. Treat join URLs as credentials: keep them out of logs, analytics tools, email subjects and shared chat channels. Ask your team whether your application stores links in its database, how long they remain usable and whether your server version limits them to one session. Test whether a copied link opens from another browser and device before launch.

Server-side authorization for create and end

Calls signed with the shared secret show that your application sent them, not which of your users asked for them. Map each of your roles to permission to create a meeting, join as moderator or end a meeting, then check that permission on every request, including requests that only load a page. Test that a learner account cannot end a meeting it does not teach by calling the flow directly with a guessed meeting ID. Confirm which roles your portal's own user model can grant.

TLS and hostname on the front end

BigBlueButton needs a valid hostname for SSL on the public front end, and users reach it over TCP ports 80 and 443. Confirm the DNS name, certificate authority, renewal process and redirect rules before go-live, and check that the hostname your application links to matches the one configured on the server. Also confirm that UDP ports 16384 to 32768 are reachable, and plan a TURN server for users behind restrictive firewalls. Test the join flow from an outside network before launch.

Install docs

API path and capacity under load

Create and join calls pass through the API path, and each live meeting uses CPU, memory and bandwidth on the server that hosts it. The install guide lists at least 16 GB of RAM and 250 Mbit/s symmetrical bandwidth for a 4.0 server, so size each server against your expected peak concurrency before go-live. If you grow past one server, confirm how Scalelite routes new meetings to the least loaded server and where it keeps recordings on its shared volume. Load test the portal's join flow at the class start times you expect.

Scalelite repository

What drives the cost of a custom BigBlueButton API integration?

Can our team build a BigBlueButton API integration ourselves?

Yes, a team with a back-end developer can build the core flow alone, but the API calls are the smallest part of the work. The basic path is a server-side call signed with the shared secret, followed by a redirect to a join URL. Effort grows with the parts around it: mapping your users to moderator and viewer roles, handling meeting end, storing meeting state, and running a test plan across browsers, devices and networks. Check whether your team has built server-side integrations with a third-party conferencing system before, who will own the code after launch, and who will review each BigBlueButton release. A partner can take on the build, but your team still needs a named owner.

Which factors change the scope of a BigBlueButton embedding project most?

The largest drivers are the number of user types, the identity systems you already run, the hosting model and the testing scope. Each user type, such as instructors, students, staff and external guests, needs its own role mapping and join rules. Existing identity systems matter because a single sign-on connection to your directory or identity provider adds configuration and support work that a shared login does not need. The hosting model changes the work as well: one server you operate is different from a pool of servers behind a load balancer such as Scalelite, and both differ from a managed hosting arrangement. Testing scope grows with the browsers, devices, firewalls and TURN paths you must support. Ask each provider to list these items in the written scope so the quote can be compared line by line.

How long does a custom BigBlueButton integration usually take to build?

The timeline follows the written scope and the drivers that set the amount of work. A narrow integration with one user type, one identity source and one server moves faster than a larger one with several roles, single sign-on, recording access and a load-balanced server pool, because each part needs design, build and testing. Plan a short discovery step to fix the scope, then the build, then a verification pass in your own network. Ask for the milestones, the dependencies on your identity and infrastructure teams, and the items that wait on access to your environment. Those dependencies usually set the schedule more than the API calls do, so ask for them to be listed with owners and dates in the agreement.

What does our team need to provide during a BigBlueButton integration?

Your team provides the access, decisions and people that the integration depends on. Expect to provide:

  • A test environment and a production target in infrastructure you control, with the TCP and UDP ports BigBlueButton needs open to your users.
  • A named owner for user records, roles and identity systems who can confirm which attributes map to moderator and viewer.
  • A back-end developer who can keep the shared secret out of web pages and compute checksums on your server.
  • Decisions on the public hostname, the SSL certificate, and whether recordings are kept and for how long.
  • Someone to approve test cases and accept the work at each milestone.

Blocked access often delays the schedule more than the code does, so confirm these owners before the scope is signed.

When is an existing BigBlueButton front end enough for our users?

An existing front end is enough when your users only need to create rooms, join with a link and find recordings in ways the front end already supports. Greenlight, LMS modules such as the Moodle activity, and the join pages of a hosted service cover those flows without custom code. Build your own integration when meetings must appear inside your product, when the join decision depends on your account or entitlement data, or when your application must create and end meetings automatically. Test the front end against your role rules first. If it cannot assign roles from your user records or pass a user's display name and avatar, that gap is the case for custom work. Record the gaps as written requirements so the decision rests on evidence.

What changes after launch when BigBlueButton releases a new version?

Each BigBlueButton version change can affect the API calls, checksum handling and the servers your integration depends on, so the work continues after launch. Version 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. Maintenance releases on the 3.0 branch continue to ship separately, so your team must know which branch each server runs. Ongoing work includes re-running your test plan against each release, reviewing API changes, updating integration code and planning server rebuilds. Ask any provider whether support, upgrades and regression testing are in the first phase or billed as a recurring retainer, and who approves a rebuild.

Who maintains the integration code after the project ends?

The answer depends on the ownership terms in your written scope. Agree this before the build starts, including who owns the integration code, the documentation and the test suite, and how the code is handed over. Ask whether the first phase includes support or only the build, and whether upgrades and regression testing are a separate arrangement. DeployOpen offers ongoing support, upgrades and continuous testing as retainers, and most engagements are fixed-scope, with the scope agreed in writing before work starts. Keep a named internal owner for role rules and identity mapping, because those change with your business. Ask for the list of API calls, secrets and environment settings the integration uses, plus a runbook for rotating the shared secret.

Limits to confirm before you commit to the API path

Each item below can change the cost, timeline or design of the API path, so settle them before you choose between a custom integration and an existing front end. Confirm each one against the version you plan to run, because the install docs, API reference and your client library move with releases.

Server requirements for your version

A BigBlueButton 4.0 server needs at least 16 GB of RAM with swap, 8 CPU cores with high single-thread performance, 500 GB of disk for recordings (50 GB without recording) and 250 Mbit/s symmetrical bandwidth. These figures drive hosting cost, so size them before you commit to a cloud or data center plan. Confirm them in the install docs for the exact release you will run, and ask your infrastructure team whether that hardware fits your expected concurrency.

Install docs

Ports, TURN and SSL hostname

BigBlueButton needs TCP ports 80 and 443 and UDP ports 16384 to 32768 to be reachable, along with a valid hostname for SSL. It also requires Docker for sandboxed LibreOffice document conversion. A TURN server is recommended for users behind restrictive firewalls, so decide early whether you will host one. Ask your network team whether the UDP range can cross your firewall and NAT, and which of your users sit behind networks that block it.

Ubuntu 24.04 as install target

BigBlueButton 4.0 installs on Ubuntu 24.04 64-bit, so your server image, patching baseline and configuration management need to match that target. If your standard image is a different release, plan for that gap before the build starts. Ask your platform team whether they can provide a clean Ubuntu 24.04 64-bit server with the access the installer needs, and confirm the supported target in the install docs before you order hardware.

No direct upgrades from older branches

Direct upgrades from 2.6, 2.7 or 3.0 are not supported, and the install docs recommend a clean server installation for 4.0. If your application or portal already runs on one of those branches, your path is a new server plus a data move. Check the install docs for current migration guidance, and ask your integration partner which rooms, users and recordings you need to carry across before you build against the API.

API parameters and checksum rules

Every API call must carry a checksum made with the secret shared with your server. SHA-256 is the default, SHA-1 remains for legacy use, and SHA-384 or SHA-512 are available since version 2.5. Confirm the exact parameter names, defaults and checksum algorithm for your release in the BigBlueButton API docs, and keep the shared secret on your backend because the docs warn against embedding it in a web page.

Client library support for 4.0

Your client library, SDK or hand-written wrapper must produce the request format your release expects, so check that it targets the 4.0 line before you commit. BigBlueButton 4.0.0 was released on October 14, 2026, and the 3.0 branch still gets maintenance releases, so a library written for 3.0 may not cover the new release. Ask the library maintainer or your integration partner to confirm 4.0 support in writing, and test a create and join flow on a staging server first.

BigBlueButton releases

How DeployOpen scopes and delivers an API integration

DeployOpen scopes an embedding project from the BigBlueButton API calls your application will make: the create and join flow, server-side checksums, role mapping and meeting end calls. Work is agreed in a fixed-scope written plan that covers what is built, tested, documented and handed over in infrastructure you control. Ongoing support, upgrades and testing are available as a retainer.

How we scope

  • The written scope lists each API call your application makes, such as create, join and end.
  • Scope records how your users map to moderator and viewer roles, and which portal pages or screens start meetings.
  • The scope states whether an existing front end is enough, or whether your product needs a custom one.

How we build

  • Server-side code computes each API checksum with the shared secret, which stays out of browser code and web pages.
  • Role mapping is built and tested for each user type, including moderators, viewers and guests where your product uses them.
  • Create, join and end flows are tested against a BigBlueButton server in a staging environment before release.

How we hand over

  • Handover includes the integration code, configuration notes, the server layout and a runbook for your engineers.
  • Documentation covers secret rotation, checksum algorithm choice, and which meeting end calls your application sends.
  • Your team walks through the flow with us before the work is closed.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Version changes are planned separately, because direct upgrades to 4.0 from 2.6, 2.7 or 3.0 are not supported.
  • Security testing of the integration can be arranged as a separate scope if your team requires it.

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.