roamhq
Official Python SDK for the Roam API.
pip install roamhq
Requires Python 3.10+.
import os
from roamhq import RoamClient
client = RoamClient(token=os.environ["ROAM_TOKEN"])
result = client.chat.post(
group_id="88bebce7-6cbb-4666-96f9-5c02d73e6661",
text="Build completed successfully!",
)
Full usage — pagination, retries, error handling, version pinning — is in the SDK guide. The API reference documents every endpoint.
Verifying webhooks
from roamhq.webhooks import verify_webhook
event = verify_webhook(body, request.headers, os.environ["ROAM_WEBHOOK_SECRET"])
body must be the raw request bytes. Treat any exception as a 401. Pass
the signing secret exactly as Roam issued it, whsec_ prefix included.
This is the one part of the SDK that is hand-written rather than generated. See
src/roamhq/webhooks.py for why.
This repository is mostly generated
The client and types are generated from the Roam OpenAPI specification by Fern. Do not edit them by hand — the next regeneration will overwrite them.
A change to the spec opens or updates a single long-lived pull request here
titled "Regenerate SDK from OpenAPI spec". A human reviews the diff, picks the
semantic-version bump in pyproject.toml, and merges. Merging does not
publish to PyPI.
Everything listed in .fernignore is hand-maintained.
Metadata
Release files for roamhq 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| roamhq-0.1.0.tar.gz | 198.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| roamhq-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 535.4 kB
Release files / roamhq-0.1.0.tar.gz
| Download URL | roamhq-0.1.0.tar.gz |
|---|---|
| Size | 198.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b72d8e7b686e329a7e950f2e16336b2b955b09b7942247a4307425f6671638b7
|
|
BLAKE2b-256 checksum How to use checksums |
2220374404cdce3b769c1e083e89afc2b0f445092a28bf86c915f73aaafb61f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency logRelease files / roamhq-0.1.0-py3-none-any.whl
| Download URL | roamhq-0.1.0-py3-none-any.whl |
|---|---|
| Size | 337.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b35f35c3a88d3519e3936caec00af5b421fbac251fc38f10c82eebc6d93abdd2
|
|
BLAKE2b-256 checksum How to use checksums |
b2b2376a32e5c08aaa2de61b109649ca620896a6160ad75ceb537ad31e8311d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency log