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).
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.
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).
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 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"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.
{ "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.
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":"…"}.
| Call | What it does |
|---|---|
GET /api/v1/me | account, plan, limits, today's quota, board codes, MCP address |
GET /api/v1/boards | boards 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}/download | signed 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/invite | join link + room code for another device |
DELETE /api/v1/items/{id} | delete |
GET /api/v1/events?board=&since=&wait=1 | long-poll: returns when the board changes (≤ 25 s) |
GET/POST /api/v1/webhooks, DELETE …/{id}, POST …/{id}/test | webhooks, below |
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)))
const r = await fetch("https://beamitbaby.com/api/v1/items?board=private",
{ headers: { Authorization: "Bearer bb_YOUR_KEY" } });
console.log((await r.json()).items);
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=…" } }
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.
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.
| Plan | API calls / day | Sends / day | Upload via main host | Upload via API host / from-url |
|---|---|---|---|---|
| Free | 200 | 20 | 100 MB | 500 MB |
| 24-hour pass | 5 000 | 1 000 | 100 MB | 10 GB |
| Pro | 5 000 | 1 000 | 100 MB | 10 GB |
| Business | 20 000 | 5 000 | 100 MB | 50 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.
| Status | error | Meaning |
|---|---|---|
| 401 | no-key | missing or invalid token; response carries WWW-Authenticate with OAuth metadata |
| 402 | plan-required | the plan lacks the feature |
| 403 | scope, pin-room | OAuth token lacks the scope / room is PIN-locked |
| 404 | no-item, no-room, no-team | not there, or not yours |
| 413 | too-big, room-full | plan limits |
| 429 | rate, api-quota, daily-limit | slow down / quota used up (with upgrade) / daily bytes |
Questions: [email protected] · Privacy · Terms