beamitbaby

Use BeamIt Baby from Claude, ChatGPT and your own programs

Po polsku w skrócie: jeden adres MCP dla Claude/ChatGPT/Cursora, REST z OpenAPI dla wszystkiego innego, webhooki w drugą stronę, klucz z profilu. Poniżej pełna instrukcja.

Three doors, pick the one your tool speaks: MCP (one address, most AI clients), REST + OpenAPI (Custom GPT Actions, n8n, Make, Zapier, scripts) and webhooks (we call you when something lands on a board).

Quick start

  1. Sign in at https://beamitbaby.com → account → API keys → New key. Copy it — it is shown once.
  2. Try it:
curl https://beamitbaby.com/api/v1/me -H "Authorization: Bearer bb_YOUR_KEY"

curl -X POST https://beamitbaby.com/api/v1/text -H "Authorization: Bearer bb_YOUR_KEY" \
  -H "Content-Type: application/json" -d '{"text":"hello from a script"}'

curl -X POST https://beamitbaby.com/api/v1/upload -H "Authorization: Bearer bb_YOUR_KEY" -F "[email protected]"

Big files: the main host sits behind a proxy that cuts uploads at 100 MB. Send anything bigger to the API host, which is not proxied — https://api.beamitbaby.com/api/v1/upload — where the only limit is your plan (10 GB on Pro, 50 GB on Business). Same key, same paths; the CLI does this by itself.

Everything lands on your private board by default. Add ?board=team or ?board=ROOMCODE (an 8-character room code) to target another board. Free accounts have a daily quota; Pro, Business and the 24-hour pass raise it — see limits.

MCP — Claude, ChatGPT, Cursor, Windsurf, Zed…

One remote MCP server, Streamable HTTP, at

https://beamitbaby.com/mcp

Tools: list_boards, list_items, get_item (texts inline, images as pictures the model can look at, files as a temporary link), send_text, send_file, send_from_url, delete_item, create_invite. Authentication: either your API key as a Bearer token, or OAuth 2.1 (the client registers itself, you approve it on a consent screen — no key to paste).

Claude.ai / Claude Desktop

Settings → Connectors → Add custom connector → paste https://beamitbaby.com/mcp. A BeamIt sign-in page opens; approve, done. Then ask Claude: “what landed on my private board?”

Claude Code

claude mcp add --transport http beamit https://beamitbaby.com/mcp
# then inside Claude Code: /mcp → beamit → authenticate
# or skip OAuth with a key:
claude mcp add --transport http beamit https://beamitbaby.com/mcp \
  --header "Authorization: Bearer bb_YOUR_KEY"

ChatGPT

Connector (MCP): Settings → Connectors (developer mode) → add https://beamitbaby.com/mcp, sign in on the consent page.

Custom GPT Action: GPT builder → Actions → Import from URL → https://beamitbaby.com/api/v1/openapi.json; authentication: API key, type Bearer.

Cursor / Windsurf / VS Code

{ "mcpServers": { "beamit": {
    "url": "https://beamitbaby.com/mcp",
    "headers": { "Authorization": "Bearer bb_YOUR_KEY" }
} } }

Item contents are returned to the model as data, wrapped and labelled — never as instructions. Deleting asks for confirmation on the client side (the tool is annotated as destructive). Revoke any connected app in your profile → API keys → Connected apps.

REST API v1

OpenAPI 3.1: https://beamitbaby.com/api/v1/openapi.json. Base URL https://beamitbaby.com, header Authorization: Bearer bb_… (or an OAuth token). All responses are JSON; errors look like {"error":"too-big","hint":"…"}.

CallWhat it does
GET /api/v1/meaccount, plan, limits, today's quota, board codes, MCP address
GET /api/v1/boardsboards you can use with codes and item counts
GET /api/v1/items?board=&since=items on a board; since = unix time, only newer
GET /api/v1/items/{id}one item; text/link content inline, files get a 10-minute signed url
GET /api/v1/items/{id}/downloadsigned download URL only
POST /api/v1/text{"text","board","ttl","burn"}
POST /api/v1/upload?board=multipart field file, or raw body + X-Beam-Name; ≤ 100 MB on the main host, up to the plan limit on https://api.beamitbaby.com
POST /api/v1/from-url{"url","name","board"} — the server fetches a public https URL; no 100 MB cap
POST /api/v1/invitejoin link + room code for another device
DELETE /api/v1/items/{id}delete
GET /api/v1/events?board=&since=&wait=1long-poll: returns when the board changes (≤ 25 s)
GET/POST /api/v1/webhooks, DELETE …/{id}, POST …/{id}/testwebhooks, below

Python, no dependencies

import json, urllib.request
KEY = "bb_YOUR_KEY"; BASE = "https://beamitbaby.com"
req = urllib.request.Request(BASE + "/api/v1/text", method="POST",
    data=json.dumps({"text": "Hi from Python"}).encode(),
    headers={"Authorization": "Bearer " + KEY, "Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(req)))

JavaScript / Node

const r = await fetch("https://beamitbaby.com/api/v1/items?board=private",
  { headers: { Authorization: "Bearer bb_YOUR_KEY" } });
console.log((await r.json()).items);

Webhooks — we call you

curl -X POST https://beamitbaby.com/api/v1/webhooks -H "Authorization: Bearer bb_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://your.server/beamit","board":"private","events":["item.created","item.deleted"]}'

The response contains the hook's secret (shown once). Every delivery is a JSON POST with headers X-Beam-Event, X-Beam-Delivery and X-Beam-Signature: sha256=HMAC_SHA256(secret, raw body). Failed deliveries are retried after 1, 5, 30 and 120 minutes; twenty failures in a row disable the hook (re-enable with POST …/{id}/test). Only public URLs are accepted.

{ "event": "item.created", "at": 1790000000.1, "board": "ACDEFGHJ", "source": "web",
  "item": { "id": "3pLZSbx0B2oq", "kind": "file", "name": "photo.jpg", "size": 2919,
            "mime": "image/jpeg", "expires": 1790001800.0, "url": "https://beamitbaby.com/d/…?s=…" } }

Verify the signature (Python)

import hmac, hashlib
def verify(secret, body: bytes, header: str) -> bool:
    want = "sha256=" + hmac.new(secret.encode(), body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(want, header)

n8n / Make / Zapier: use a Webhook trigger node, paste its URL here, and read item.url to fetch the file (the link works for an hour, no auth needed). No public address? Poll GET /api/v1/events?wait=1 instead.

CLI

curl -o beamit.py https://beamitbaby.com/developers/beamit.py && chmod +x beamit.py
./beamit.py login bb_YOUR_KEY
./beamit.py send photo.jpg          ./beamit.py send "https://example.com"
./beamit.py ls                      ./beamit.py get 3pLZSbx0B2oq -o photo.jpg
./beamit.py watch                   ./beamit.py hook add https://your.server/beamit

Single file, Python 3.9+, no dependencies. Works on macOS, Linux, Windows; also from iOS Shortcuts through the REST calls above.

Limits, quotas, plans

PlanAPI calls / daySends / dayUpload via main hostUpload via API host / from-url
Free20020100 MB500 MB
24-hour pass5 0001 000100 MB10 GB
Pro5 0001 000100 MB10 GB
Business20 0005 000100 MB50 GB

Rate limit: 120 requests per minute per account. When the daily quota is used up you get 429 {"error":"api-quota", "upgrade":{…}} with the prices of Pro and the 24-hour pass. The 100 MB cap on https://beamitbaby.com/api/v1/upload is the proxy in front of the main host; the API host https://api.beamitbaby.com, from-url and direct (P2P) transfers are not bound by it. GET /api/v1/me returns upload.host and upload.maxMb so a client never has to guess.

Rooms locked with a PIN are not reachable through the API. Boards (private, team) admit only the account itself — create_invite on a board returns a one-time sign-in link for your other device rather than a shareable link.

Errors

StatuserrorMeaning
401no-keymissing or invalid token; response carries WWW-Authenticate with OAuth metadata
402plan-requiredthe plan lacks the feature
403scope, pin-roomOAuth token lacks the scope / room is PIN-locked
404no-item, no-room, no-teamnot there, or not yours
413too-big, room-fullplan limits
429rate, api-quota, daily-limitslow down / quota used up (with upgrade) / daily bytes

Questions: [email protected] · Privacy · Terms