Pushing documents and chat messages into live BigBlueButton meetings

Teams running automated classes or events can load presentations at meeting creation, add slides to a live meeting with insertDocument, and post announcements with sendChatMessage. This page covers what each call does, how to choose between them, and what to confirm before building.

On this page

BigBlueButton insertDocument and sendChatMessage: what the calls do in a live meeting

The BigBlueButton API can pre-load presentations when a meeting is created, add slides to a meeting that is already running, and post chat messages, and each of these is a server-side call signed with the shared secret. That makes these calls suitable for automation, such as a portal that starts classes or events on a timetable and needs the day's slides and an opening announcement to appear without a moderator clicking through the client. The calls support the moderator's live control of the room but do not take it over, so the moderator still decides what is shown next. BigBlueButton is open-source software licensed under the LGPL-3.0 and maintained by BigBlueButton Inc. Its core features include slides with annotations and chat, which are the surfaces these calls write into. Confirm every parameter against the API reference for the version you run before you build against it.

Build the signing step first. Every call must carry a checksum computed on your server with the shared secret, and the default algorithm is SHA-256, so the secret must stay on the server and must never appear in a web page or browser script. Decide early whether each file belongs in the create call or in a mid-session insertDocument call. The first gives you a deck ready when the room opens, while the second depends on a live session when your job fires. Test every file type you plan to use in a staging meeting on the same BigBlueButton version as production, since the server relies on Docker for sandboxed LibreOffice document conversion and a file that converts badly will show up in front of students. Also confirm how the presenter role changes when a slide is inserted into a running session.

Plan for the failures you can see and the content you cannot take back. A chat announcement is visible to every participant the moment it posts, so the portal should check its text against an approved template, log each call and its response, and alert an operator when a call fails instead of retrying silently. Ask your team to confirm whether posted chat and inserted slides appear in recordings for the version you run, because recording content falls under your retention and access rules. Keep the test meeting in your regression suite so that each upgrade re-runs both calls before the production portal changes.

When automated slides and announcements justify a custom API build

Most teams do not need a custom build, because a standard front end or LMS module already handles manual uploads and chat posts. A custom integration is justified when the timing or volume of pushes is the problem, and the situations below share one test: the same content must reach a live room at the right moment without a person doing it.

Recurring lecture series with fixed decks

The trigger is the course calendar: the same deck opens each week, and the first slide should be in place before students join. Teaching staff benefit most, because they stop re-uploading identical files before every session. Pre-uploaded presentations at room creation can attach the deck when the meeting is made, so the instructor's job reduces to delivery. What stays manual: approving each deck version, deciding who owns the file when a lecturer changes slides mid-term, and checking that the slide count matches what was approved. Confirm where the deck files are stored before you build.

Event agendas posted at set times

The trigger is a timetable of agenda items, each with a start time. Event hosts and moderators benefit on multi-session days, where late joiners need the current agenda without asking. The push sends a slide and a chat message at each change. What stays manual: writing the agenda text, correcting it when speakers swap, and deciding what happens when a session overruns. Check the time zone of the schedule against the server clock, and whether a retried push can post the same message twice.

Reminders before a session ends

The trigger is the end time held in your scheduling system, with a notice sent a set interval before it. Students and presenters benefit, since they can save work, submit files or move to the next room. What stays manual: writing the reminder text, choosing whether it goes to everyone or only presenters, and handling sessions a moderator extends. Confirm which system holds the authoritative end time, because a meeting extended or closed early changes when the reminder should fire, and a fixed timer will miss that.

Portal feed for schedule changes

The trigger is a change in your own portal: a schedule update, a new enrollment or a cancelled session that learners must see. The portal owner benefits, because the notice reaches the meeting without a staff member copying it across. What stays manual: deciding which portal roles may post to which room, and confirming a cancellation before it appears in a live meeting. Check whether the LMS module you already run can post these notices, and keep the API secret on a server you control, never in a page the browser loads.

BigBlueButton API docs

Pushes across many live rooms

The trigger is volume: many meetings open in the same window across a pool of servers, and each one needs the same announcement at its start. Operators running many concurrent classes or events benefit most, since one scheduled job can address every room in that window. What stays manual: approving the message text centrally and deciding which rooms are excluded. Check how your load balancer routes API calls for a meeting already running on one server, because Scalelite assigns each new meeting to the least loaded server, and a later push must reach that same server to find the room.

Scalelite repository

Which push method fits: pre-upload at create, insertDocument or sendChatMessage

This table compares three ways to get content into a BigBlueButton meeting: uploading a presentation when the meeting is created, inserting slides into a running meeting, and posting a chat message. Read each column as one method, and check the confirm row against the API documentation for your BigBlueButton version before you build. The main takeaway is that slides depend on either the create flow or the insert call and server-side document conversion, while chat carries text only.

FactorUpload at createinsertDocument into running meetingsendChatMessage to meeting
When it fitsKnown slides before the session starts, such as a scheduled class or event with a fixed deck.Slides added mid-session, such as a file sent to a live event while it is running.Short announcements, links or reminders that participants read but do not need as slides.
What triggers itYour application's create call, made before any participant joins the room.Your application's API call against a meeting that is already running.Your application's API call against a meeting that is already running.
Who must be present or waitingNobody needs to be in the room; participants join after the meeting exists.The meeting must be running, and presenters or attendees need to be in the room to see the slides.The meeting must be running. Confirm which participants see the message and how the sender appears.
What to confirm in your versionWhether the create call accepts presentation files, how they are sent and how they are referenced.Exact call name, required parameters and file reference format, and that server document conversion works for each file type.Exact call name, required parameters, and whether the sender name is set by the caller.
Main trade-offSlides are ready at join, but any change after creation needs a separate path you must confirm.Flexible mid-session, but depends on server document conversion, so test each file type before the event.Simple and light, but carries text only, so it cannot replace slides or annotations.

Every push starts on your server, and browsers only join

Your application server starts the flow. It calls create with the presentation already uploaded, then builds join links for the moderator and attendees. BigBlueButton converts the uploaded file into slides before the meeting runs. Later, insertDocument adds slides to the running meeting and sendChatMessage posts an announcement. Every API call carries a checksum that your server computes with the shared secret, so the secret stays on the server and out of the browser. When you test this path, confirm that attendees receive the new slides and messages, and that no page, script or log exposes the secret.

Server-side calls create the meeting, add slides and post chat; browsers only join.

Setting up insertDocument and sendChatMessage on a BigBlueButton server

This sequence takes a clean BigBlueButton server from a confirmed install to an application that can post slides and announcements into live meetings. Each step ends with a check you can run on the server or in a test meeting, so problems surface before any class or event depends on the integration. Exact parameters for every call belong to the BigBlueButton API documentation, and this page does not replace it.

  1. Confirm the server version and baseline

    Run bbb-conf --version and bbb-conf --check on the BigBlueButton server over SSH, and record the output. Confirm the server is a clean BigBlueButton 4.0 installation on Ubuntu 24.04 64-bit, since direct upgrades from 2.6, 2.7 or 3.0 are not supported. Compare the hardware with the documented minimums for RAM with swap, CPU, disk and bandwidth, and note any gaps. The step is done when the version output shows 4.0 and the check reports no failures in the services the API depends on. Use the BigBlueButton install documentation as the reference for minimums.

  2. Verify API reachability from the application server

    Run this from the machine that will host your application, since firewall rules often differ between networks. Confirm TCP ports 80 and 443 are reachable, the hostname resolves, and the SSL certificate is valid for that hostname, as the install documentation requires. Then send a signed getMeetings request to the API endpoint, with the checksum computed from the shared secret using SHA-256 by default. Keep the secret in server-side configuration only. The check is passed when the response is XML with a SUCCESS return code. If the request times out, review firewall rules and the UDP media port range before retrying.

  3. Confirm sandboxed document conversion works

    Confirm Docker is installed and running on the BigBlueButton server, because BigBlueButton uses it for sandboxed LibreOffice document conversion. Run docker ps as an administrator and confirm the Docker service responds without errors, then review the output of bbb-conf --check again. Next, upload a small PDF in a throwaway test meeting and confirm the slides render for a second browser session. Documents added through the API should pass through the same conversion step, so confirm that behavior in the API documentation before relying on it. The check is passed when the upload converts to slides with no error message.

  4. Create a test meeting with a presentation

    Create a dedicated test meeting with the create call, and supply a presentation at create time so the room opens with slides already loaded. Use a test presentation that contains no personal data, and a meeting ID that is clearly marked as a test. Join the meeting in a browser as a moderator and confirm the pre-uploaded slides are visible. Note the meeting ID you passed, because the insertDocument and sendChatMessage calls in the next steps reference it. The check is passed when the create call returns SUCCESS and the slides render for the moderator. Look up the exact create parameters in the BigBlueButton API documentation before scripting the call.

  5. Test insertDocument in the running meeting

    With the test meeting running and a moderator joined, call insertDocument with the meeting ID and a document URL that the BigBlueButton server can reach, as the API documentation specifies. Build the checksum in your test script, using the shared secret and SHA-256 by default, and keep the secret out of any web page. Confirm the response is SUCCESS, and check that the new document appears in the moderator's presentation list. Then confirm an attendee's browser session can view the inserted slides. The check is passed when the document is visible to both the moderator and the attendee.

  6. Test sendChatMessage and confirm attendee delivery

    With one moderator and at least one attendee joined, call sendChatMessage from the test script with the meeting ID and a short announcement. Confirm the response is SUCCESS, then check that the message appears in the public chat panel of the attendee's browser session. Repeat the test with a message that contains spaces and punctuation, so you can confirm your URL encoding and checksum handling match the API documentation. Do not move on until both messages arrive for the attendee in the chat panel. Attendee delivery is the check that matters, because a successful API response alone does not show that a participant saw the message.

  7. Wire both calls into the application

    Move both calls into your application's backend, where the shared secret stays in server-side configuration. Build the query string in the parameter order the API documentation specifies, compute the checksum on the server with SHA-256 by default, and send the request only from the server. Handle every response: log non-SUCCESS return codes, and show the person who triggered the action a clear error. Rerun the end-to-end test from the previous steps after any server upgrade. The step is complete when the application posts a document and a chat announcement into the test meeting, and a deliberately bad checksum produces a logged failure.

How document conversion shapes what you can push

Slides reach attendees only after BigBlueButton converts the file, so conversion is the first thing to test. BigBlueButton runs LibreOffice inside a sandboxed container, and that conversion step depends on Docker being installed and working on the server before any push can succeed. Test the path with the same file types your application will send, first through insertDocument into a running test meeting and then through the upload made when the meeting is created. Record which files convert and how long each takes. The file types the server accepts, the maximum file sizes and the conversion time are not values to assume from this page. Confirm all three on your own server and BigBlueButton version before you set limits in your application.

Pre-processing decks into a supported format before the push moves conversion out of the live session. Your application can convert uploads to a format your tests have confirmed before it calls insertDocument, so the meeting does not wait on LibreOffice while a presenter is already speaking. The same step gives you one place to reject oversized or unsupported files and return a clear message to the uploader. The trade-off is that pre-processing needs its own converter and queue, and its output may differ from what BigBlueButton produces during conversion. Review a sample of converted decks, paying attention to animations, embedded fonts and speaker notes, before you depend on that output for classes or events.

A failed conversion does not show up as a slide that simply never appears. Confirm what your integration receives when conversion fails: the response to the insertDocument call, any change in meeting state, and whether a webhook or callback fires on your version. Plan for three cases: the file is rejected before conversion, conversion fails on the server, and conversion succeeds but the slides render poorly. Test each with a deliberately corrupt file, an oversized file and a heavily formatted deck. Show the presenter a clear status in your own interface, and use sendChatMessage to tell attendees when a document did not load so they are not left waiting.

Security controls for server-side document and chat pushes

Every control here sits between your users and the two endpoints, so the application server decides what reaches a live meeting. Together they keep the shared secret private, limit what can be pushed and by whom, and leave a record of each action. Work through them before the first production push.

Keep the shared secret server-side

The shared secret signs every API call, so it belongs in server configuration or a secrets store on the application server. Check that templates, client scripts, join URLs and front-end logs never carry the secret or a value derived from it. Build the checksum for insertDocument and sendChatMessage on the server, then send only the finished request. The API docs warn against embedding the secret in a web page, and anyone holding a leaked secret can push content into any meeting on that server.

Choose the checksum algorithm deliberately

Checksums use SHA-256 by default, SHA-1 exists for legacy use, and SHA-384 and SHA-512 are available since version 2.5. Set one algorithm explicitly in each integration's calling code and confirm it against the API docs for your server version. A mismatch fails every call, so test insertDocument and sendChatMessage on a staging server before production. Accept SHA-1 only for a legacy caller that cannot be upgraded, and record that exception in the integration's design notes.

BigBlueButton API docs

Allowlist document sources and files

BigBlueButton fetches the file URL you pass to insertDocument, so the application should accept only URLs in storage it controls, with file types and sizes checked before the request is made. Uploaded documents are visible to everyone in the meeting, so give each source file the classification and access rules of its content. Push a file only to rooms whose participants are cleared to see it, and keep the allowlist in configuration that the owners of the source data review.

Validate and limit chat text

Announcements sent with sendChatMessage appear in the chat for every participant, so treat text from a template, a form or another system as untrusted. Strip or escape markup, cap the length, remove control characters and reject empty messages before the call. Send a test message containing HTML tags and link syntax to confirm that your client version displays it as plain text. Limit which internal roles can trigger announcements, since a compromised form field could otherwise post into a live class.

Log every push for audit

Write one record for each insertDocument and sendChatMessage call that includes the meeting ID, the user who triggered the push, the service account, the action, the document or message identifier and the time. Keep the shared secret and full checksums out of the log. Store entries where the application cannot edit them if your auditors expect tamper evidence, and ask your compliance lead how long the records must be kept. Chat logs may hold personal data, so set their retention and access the same way you handle other records of class activity.

Scope service accounts to endpoints

BigBlueButton authenticates API calls with one shared secret per server, so the call alone does not identify which integration made it. Your application must enforce that separation: give each integration its own service account, map each account to the meetings and actions it may use, and allow document and chat endpoints only to the accounts that need them. Confirm who approves new accounts and how credentials are rotated and revoked without disrupting other integrations.

Limits to confirm before you commit to this design

On one server, the application sends every insertDocument and sendChatMessage call to the same host that runs the meeting, so there is no routing decision to make. The meeting ID your application stores is the one the server already holds while the session runs. The limits below come from that single machine and its state.

  • Request target: Every call goes to the one API base URL, so the application needs one endpoint and one shared secret.
  • Meeting lookup: The application can target a meeting by its meeting ID for as long as that meeting is running on this server.
  • Running meeting requirement: Confirm in the API documentation for your version whether insertDocument needs a running meeting, and plan a fallback for slides that must appear before the first attendee joins.
  • Shared capacity: The minimum sizing for a 4.0 server is 16 GB of RAM with swap and 8 CPU cores, so confirm headroom for document conversion alongside live classes.
  • Single point of failure: If this server is down or being rebuilt, no push reaches any meeting, so decide in advance how scheduled announcements are retried.

Check that your automation treats a failed call as recoverable and retries it only after the meeting is confirmed to be running.

How much does BigBlueButton API integration for documents and chat cost and take?

What drives the cost of a BigBlueButton document and chat integration?

The cost follows the amount of design, build and testing the work needs, and five factors shape that amount most. Ask the partner how each one is handled in the written scope:

  • Number of event types: each insertDocument, sendChatMessage and create-time upload path needs its own inputs, error handling and test cases.
  • Document conversion work: decks from different tools convert differently, so fonts, file sizes, embedded media and PDFs each need sample testing.
  • Meetings running at once: concurrent sessions add load testing and can change the server design.
  • Chat rules: who can post, which message templates are allowed and how announcements are logged all add logic.
  • Testing against the version in use: a build for the 3.0 branch and one for 4.0 may differ, so the test plan must match the version you run.
Which parts of a BigBlueButton integration are one-time and which recur?

The build is one-time, and the upkeep recurs for as long as the integration runs. One-time work covers design, build and testing of the document and chat calls, plus the first verification in a test environment. Recurring work follows the platform over its life:

  • Server upkeep: patching, monitoring of the servers that host meetings and capacity checks as usage grows.
  • Upgrades: moving to a newer BigBlueButton release. Direct upgrades from 2.6, 2.7 or 3.0 to 4.0 are not supported, and a clean server installation is recommended, so the move means a rebuild followed by retesting of the calls.
  • API changes: checking the API documentation after each release for changed parameters or responses, then fixing your code.

Ask whether these recurring items sit in a separate retainer or a change request.

What does our team need to provide before the integration starts?

Your team provides access, credential rules, sample material and named people, and the work cannot start cleanly without them:

  • Server access: administrative access to the test and production BigBlueButton servers, or a documented change process if they sit in your infrastructure.
  • API credential handling: the shared secret used for checksums must stay on your server side. The BigBlueButton API documentation warns never to embed it in a web page, so agree where it is stored and who can rotate it.
  • Sample decks: representative presentations, including the largest and least common formats your teachers or event staff use.
  • A test environment: a non-production BigBlueButton server running the version you operate, so testing never touches live classes.
  • Named owners: one person who approves scope, one who owns the server and one who answers content workflow questions.
Can an in-house team build this from the BigBlueButton API documentation alone?

Often yes, if the team has web and server engineering experience, because each call is a documented HTTP request. The harder parts sit around the call itself: BigBlueButton API documentation covers the request format, but not your operating conditions. Watch these areas:

  • Signing each request with a checksum on the server, using an algorithm the running version supports.
  • Handling conversion failures, unusual file types and slow uploads during a live session.
  • Load testing with several meetings running at once, and recording what happens when a server is busy.
  • Keeping the integration working after upgrades, with a regression test set that someone owns.

Before deciding, have your engineers prototype one insertDocument call and one sendChatMessage call against a test server. The effort that prototype takes is a useful input to the build decision.

How long does a document and chat integration take to deliver?

The duration depends on scope and environment, so no fixed figure applies across projects. Ask for a schedule built from your written scope rather than a verbal estimate. Scope drivers are the same ones that shape cost: event types, conversion work, concurrency testing and the version you run. Environment factors often slow the work more than the code does:

  • A test server that matches your production version, or one that must be built first.
  • Access approvals for servers, networks and credential handling.
  • Availability of sample decks and named owners for review.
  • Test windows that avoid live classes or events.

A useful schedule lists milestones, who signs off each one and what happens if a dependency slips.

What should a written quote for a BigBlueButton integration include?

A written quote should describe the scope in enough detail that you can check each line against your own needs. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen does not publish a price list, so the quote follows from the written scope. Ask for these parts:

  • A list of event types, naming each insertDocument, sendChatMessage and create-time upload path.
  • The meeting volume and concurrency assumptions the test plan uses.
  • The conversion scope: included file types, sample decks and what happens to unsupported files.
  • The test plan, the test environment and the retest included after fixes.
  • Deliverables such as code, configuration notes and an operations handover.
  • Client responsibilities, dependent dates and the change process if scope moves.
  • Which recurring support, upgrade or testing items fall under a retainer.
What usually goes wrong when pushing slides and chat into live meetings?

Most failures start in the document path, the network or the credentials, and the chat call is usually the simplest part. Check these first:

  • Conversion failures: LibreOffice conversion runs in a Docker sandbox, so a missing or broken Docker setup stops uploads.
  • Blocked network paths: TCP ports 80 and 443 and UDP ports 16384 to 32768 must be reachable, and a TURN server helps users behind restrictive firewalls.
  • Checksum errors from a wrong secret or an algorithm the version does not support.
  • Calls sent to a meeting that has not started or has already ended.

Log the response to every call, alert on failed inserts and run a full rehearsal on the test server before the first live class.

How DeployOpen scopes, builds and supports API-driven BigBlueButton meetings

DeployOpen plans and builds the parts of an API-driven BigBlueButton setup that push documents and chat messages into live meetings, inside infrastructure you control. Each engagement starts with a written scope that names the meeting flows, the servers and the people who will operate them. Engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts.

How we scope

  • The written scope lists each insertDocument and sendChatMessage flow, its trigger and its target meeting.
  • Scope records which documents are pre-uploaded at create time and which are pushed into running meetings.
  • Scope names the BigBlueButton server version, the hosting location and the account that holds the shared secret.

How we build

  • Servers run BigBlueButton 4.0 on a clean Ubuntu 24.04 64-bit installation, because direct upgrades from 3.0 are unsupported.
  • Your server computes each API checksum with the shared secret, which never appears in a web page.
  • Document conversion runs through Docker-sandboxed LibreOffice, so Docker must be present on the server before testing.

How we hand over

  • Handover covers the request sequence, the create and join calls, and each insertDocument or sendChatMessage call your system makes.
  • Runbooks describe ports 80, 443 and UDP 16384 to 32768, plus the TURN settings needed for users behind firewalls.
  • Documentation includes a test plan with sample documents and chat messages, and a failure log for rejected calls.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, quoted from the written scope.
  • Support can cover BigBlueButton point releases, checked against the API calls your application depends on.
  • Confirm in the quote who monitors the servers and who responds when an insertDocument call fails.

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.