Skip to main content

BigBlueButton REST API command-line client

This is a small but useful command-line client for controlling meetings and recordings on a BigBlueButton server or cluster directly via the REST API. It allows administrators to bypass front-end applications (e.g. greenlight or moodle) and directly access the backing BBB servers for administrative tasks, monitoring or testing.

Install

You can install bbbctl the usual way with pip install bbbctl into a virtual environment. Sine bbbctl has no dependencies, you can also manually install it by downloading the python script and placing it into a bin folder:

curl -L --create-dirs -o ~/.local/bin/bbbctl https://raw.githubusercontent.com/defnull/bbbctl/master/src/bbbctl.py 
chmod +x ~/.local/bin/bbbctl

Tip: If you have uv/uvx installed, you can use this tool directly via uvx bbbctl ....

Usage

If run directly on a BBB server with sufficient permissions, server URL and secret will be fetched from local BBB config files automatically.

# Only required for external BBB servers:
export BBBCTL_SERVER="bbb.example.com"   # or --server as a parameter
export BBBCTL_SECRET="..."               # or --secret as a parameter

# Check if your secret works:
bbbctl meeting list

Command overview

You can get detailed help and a list of all parameters with bbbctl -h or bbbctl <command> -h.

  • meeting Create, list, join, inspect or end meetings
    • list List all meetings
    • info <meetingID> Show info about a meeting
    • create <meetingID> <title> Create a new meeting
    • join <meetingID> <displayName> Generate join links
    • end <meetingID> Forcefully end a meeting
    • chat <meetingID> <message> Send a chat message to a running meeting (BBB 3.0)
    • nuke Forcefully end ALL meetings (be careful)
  • record Work with recordings
    • list List all recordings
    • info <recordID> Show info about a recording
    • publish <recordID> Publish an unpublished recording
    • unpublish <recordID> Unpublish (hide) recording
    • delete <recordID> Delete a recording (be careful)
  • sign <action> <param*> Print a signed API URL

Output format

The default output format is a human readable plain text format. You can switch to a more compact version with --format=compact. Other formats that are better suited for scripted usage are also supported: json, jsonline or xml

Use BBBApiClient from Python

You can use the BBBApiClient class from Python, too. This thin wrapper around the BBB REST API can send signed API requests and return parsed XML ElementTree instances. Some convenience methods exist to get just the part of the XML you need.

from bbbctl import BBBApiClient

client = BBBApiClient(api="bbb.example.com", secret="***")

for meeting in client.getMeetings():
    print(meeting.findtext("./meetingID"), meeting.findtext("./meetingName"))

License

Copyright (c) 2020-2026, Marcel Hellkamp.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for bbbctl 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bbbctl 0.5.1
File Size Uploaded Provenance Actions
bbbctl-0.5.1.tar.gz 16.9 kB Without provenance Details for bbbctl-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bbbctl 0.5.1
File Interpreter ABI Platform Actions
bbbctl-0.5.1-py3-none-any.whl Python 3 none any Details for bbbctl-0.5.1-py3-none-any.whl

Total release size: 33.8 kB

Release files / bbbctl-0.5.1.tar.gz

Download URL bbbctl-0.5.1.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
32ce74e9e5aa37357b32d0bab4d18f26ba109f3fab0a1e7ef769a394fcdea9bd
BLAKE2b-256 checksum
How to use checksums
b5541c21587c67bd5dcb5506fecf4bfc6b5e06075ff3eec1d53fde4242e80b73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / bbbctl-0.5.1-py3-none-any.whl

Download URL bbbctl-0.5.1-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef408d7da8ea9a323cbc9fc09ba173a1637b6503765f06833b4c095a01a59534
BLAKE2b-256 checksum
How to use checksums
3622289a60598dd93f464c48f8d97ee161b0bd625d1bdd3eed4ca9628e6be8c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for bbbctl 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page