DEVELOPER DOCS · SCHEMA v1

Post anything to your notch.

Anything on your Mac, a script, a Shortcut, an app, a cron job, can put a card in your notch with one line. No SDK, no account, no library to install.

Try it right now, paste into Terminal while Transom is running
TOKEN=$(security find-generic-password -s com.transom.app -a local-api-token -w)
curl -X POST 127.0.0.1:17893 \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"title":"Hello from Terminal"}'

A card appears in your notch. That's the whole learning curve.

Two doors, same room

Transom accepts posts two ways. They do exactly the same thing, pick whichever fits your tool.

1

Local HTTP

For anything that can make a web request.

POST http://127.0.0.1:17893/
Content-Type: application/json
Authorization: Bearer <your-token>

{"title": "Build finished", "message": "Ready to ship"}
2

The transom:// URL scheme

For Shortcuts, AppleScript, or anything that can open a URL.

open "transom://post?title=Build%20finished&message=Ready%20to%20ship"

URL-scheme values must be URL-encoded (spaces become %20). In the Shortcuts app, pass your text through the built-in "URL Encode" action first.

⚿

Authentication

Include your token as a Bearer header: Authorization: Bearer <your-token>. Transom makes the token on first launch and keeps it in your Keychain. Requests without a valid token get a 401.

Every recipe on this page reads the token from TRANSOM_TOKEN, so run the export line below in the shell or script that posts. The first time, macOS may ask for your login password so the security tool can read the token. Choose Always Allow and it won't ask again. You can also copy the token from Preferences › Advanced › Local API.

export TRANSOM_TOKEN=$(security find-generic-password -s com.transom.app -a local-api-token -w)
curl -s -X POST 127.0.0.1:17893 \
  -H "Authorization: Bearer $TRANSOM_TOKEN" \
  -d '{"title":"Build done","symbol":"checkmark.seal.fill"}'

The fields

One required field, seven optional. In the URL scheme these are query parameters; booleans accept 1 or true.

Field Type Req Default What it does
title string yes - The card's headline. Truncated at 300 characters.
message string - none Body text under the title. Truncated at 4,000 characters, wraps up to 8 lines. Also accepted as body; if you send both, message wins.
symbol string - bell.fill Any SF Symbols name, e.g. checkmark.seal.fill, hammer.fill, cart.fill. A few symbols belong to Transom's own trusted cards (key.fill, message.fill, envelope.fill and similar); ask for one and the card shows terminal.fill instead.
duration number - 6 Seconds before a non-persistent card dismisses itself, from 2 to 300. Values outside that range are clamped.
persistent boolean - false true = the card stays until you click its X. Use for things that must not be missed.
replyHandle string - none HTTP door only. Give a phone number or iMessage address and the card gains an inline reply field that sends through Messages. Ignored on transom:// posts, which carry no token.
openURL string - none A URL. The card gains an open button that names where it goes, like "Open github.com". The HTTP door takes https, http, mailto, file and shortcuts links; transom:// takes https, http and mailto only. Anything else is dropped and the card shows no open button.
priority string - normal HTTP door only. "urgent" lets the card through a Focus instead of being held. Still held by "VIPs and codes only" and by "Nothing gets through". Unknown values, and anything sent through transom://, are normal.

Responses (HTTP)

200 {"ok":true} Card accepted.
400 {"ok":false,"error":"..."} Body wasn't valid JSON or title was missing.
401 {"ok":false,"error":"missing or invalid token"} No token in the Authorization header, or the wrong one.
403 {"ok":false,"error":"bad host"} The Host header wasn't 127.0.0.1:17893, or the request carried a web page's Origin. That second case reads "forbidden origin".
413 {"ok":false,"error":"body too large"} Body over 64 KB. Cards are headlines, not documents.
429 {"ok":false,"error":"rate limited"} Too many requests in a short window.

Behavior you should know

Four things that make automation posts safe to fire and forget.

☾

Focus mode holds posts

Automation posts are low-priority by default: while a Focus is on they're held and counted, then shown in the digest when it ends. Your build notification never interrupts deep work. Some machine messages are not build notifications, though. Send "priority":"urgent" on the token'd door and the card rides the same lane an urgent text from an unsaved number does: through a Focus, still held by "VIPs and codes only" and by Sleep.

≡

Cards queue

If a persistent card is on screen when another arrives, nothing is lost: the newest shows with a "+1" chip, and dismissing it reveals the next.

↺

Everything lands in history

Recent Notifications in the menu bar keeps the last 200 cards, including the ones that were held.

⚿

Local only

The server binds to 127.0.0.1 exclusively; nothing on your network can reach it, and Transom never makes outbound calls on your behalf. Every post must carry your Mac's local API token, which Transom stores in the Keychain, and Transom validates each request's Origin and Host. So a website you visit can't reach the API, and no other app can post without the token.

Recipes

Copy, paste, adjust. These examples mirror the current API.

shell Know when a long job finishes
make build && curl -s -X POST 127.0.0.1:17893 \
  -H "Authorization: Bearer $TRANSOM_TOKEN" \
  -d '{"title":"Build done","symbol":"checkmark.seal.fill"}' \
  || curl -s -X POST 127.0.0.1:17893 \
  -H "Authorization: Bearer $TRANSOM_TOKEN" \
  -d '{"title":"Build FAILED","symbol":"xmark.octagon.fill","persistent":true}'
Shortcuts A Shortcut with no code at all
# Add a "Text" action containing:
transom://post?title=Leave%20now&message=22%20min%20to%20school&symbol=car.fill

# then an "Open URLs" action. Wire it to a
# time-of-day automation. Done.
Python Post from Python
import os, requests
requests.post("http://127.0.0.1:17893",
              headers={"Authorization": "Bearer " + os.environ["TRANSOM_TOKEN"]},
              json={"title": "Export finished", "symbol": "film.fill",
                    "openURL": "file:///Users/you/Movies/render.mp4"})
AppleScript AppleScript / Automator
do shell script "TOKEN=$(security find-generic-password -s com.transom.app -a local-api-token -w); curl -s -X POST 127.0.0.1:17893 -H \"Authorization: Bearer $TOKEN\" -d '{\"title\":\"Backup complete\"}'"
shell A sticky card you can answer
curl -X POST 127.0.0.1:17893 \
  -H "Authorization: Bearer $TRANSOM_TOKEN" \
  -d '{
  "title": "Standup reminder",
  "message": "Tell Dana you are running late?",
  "persistent": true,
  "replyHandle": "+15551234567",
  "symbol": "clock.badge.exclamationmark"
}'
shell Something you must act on now
curl -s -X POST 127.0.0.1:17893 \
  -H "Authorization: Bearer $TRANSOM_TOKEN" \
  -d '{"title":"Safe to undock",
       "message":"All three drives verified unmounted.",
       "symbol":"externaldrive.badge.checkmark",
       "priority":"urgent"}'
Node.js Post from Node.js
fetch("http://127.0.0.1:17893", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.TRANSOM_TOKEN}` },
  body: JSON.stringify({ title: "Deploy live", symbol: "paperplane.fill",
                         openURL: "https://yourapp.com" })
});

A card when Claude Code finishes

Claude Code can tell Transom when a session finishes or is waiting on your OK. You get a card with its own sound: one when it's done, another when it needs you for a permission prompt or a question. The card names the project folder and shows the first line of Claude's last reply.

The easiest setup is in the app: Preferences › Advanced › Coding agents › Copy setup, then Test. Or add this to ~/.claude/settings.json yourself. If the file already has a "hooks" section, add the Stop and Notification entries to it.

JSON Claude Code hooks
{
  "hooks": {
    "Stop": [
      { "hooks": [
        { "type": "command", "command": "curl --noproxy '*' -s -m 2 -H 'Content-Type: application/json' -H \"Authorization: Bearer $(security find-generic-password -s com.transom.app -a local-api-token -w 2>/dev/null)\" -H \"X-Transom-Host: $__CFBundleIdentifier\" --data-binary @- http://127.0.0.1:17893/agent/claude-code >/dev/null 2>&1; exit 0", "async": true }
      ] }
    ],
    "Notification": [
      { "matcher": "permission_prompt|elicitation_dialog|elicitation_url_dialog", "hooks": [
        { "type": "command", "command": "curl --noproxy '*' -s -m 2 -H 'Content-Type: application/json' -H \"Authorization: Bearer $(security find-generic-password -s com.transom.app -a local-api-token -w 2>/dev/null)\" -H \"X-Transom-Host: $__CFBundleIdentifier\" --data-binary @- http://127.0.0.1:17893/agent/claude-code >/dev/null 2>&1; exit 0", "async": true }
      ] }
    ]
  }
}

Codex isn't supported yet. Codex runs its hooks inside its own sandbox, which blocks connections to other apps on your Mac, Transom included, so a hook can't reach it.

It stays out of your agent's way The hook hands the agent's own event to Transom on 127.0.0.1, with your token read from the Keychain, and exits. It prints nothing, always exits 0 and runs in the background, so it can't stop, steer or slow your agent. If Transom isn't running, nothing happens.
macOS may ask once The first time it runs, macOS may ask whether security may use a Keychain item from Transom. Choose Always Allow. The Test button in Preferences runs the same command, so the question comes while you're setting up rather than mid-session.
Nothing shows while you're looking The hook tells Transom which app the agent runs in: Terminal, iTerm, VS Code or Claude. When that app is in front, the card is skipped because you can already see the reply. It still lands in Recent Notifications.
It gets through a Focus the way urgent posts do People code inside a Focus, so an agent's card shows during VIPs, codes, and anything urgent. VIPs and codes only and Nothing gets through still hold it and count it for the digest. Unlike an urgent post, it doesn't flash the screen edges.
Only the session counts Subagents finishing don't make a card, and neither does Claude Code's one-minute idle reminder.
Sounds Preferences › Alerts › When a card arrives › Coding agents done or waiting on you.

Under the hood this is POST /agent/claude-code with Claude Code's hook JSON as the body, behind the same token as every other request. The card still wears the automation badge.

Troubleshooting

Nothing appears Is Transom running? Look for the signal mark in the menu bar, unless you set the icon to Hidden. The listener only exists while the app does.
401 with "missing or invalid token" The request carried no token or the wrong one. Check that TRANSOM_TOKEN is set in the same shell or script that posts.
The open button is missing on a transom:// post file: and shortcuts: links need the HTTP door and its token. Post over HTTP to keep the button.
Card appeared then vanished That's the 6-second default; send "persistent": true or a longer duration.
Shortcut does nothing The deep-link values probably weren't URL-encoded; run each dynamic value through "URL Encode" first.
Posted during Focus and saw nothing Working as designed for a normal post: check the digest when Focus ends, or look in Recent Notifications. If the card genuinely can't wait, send "priority":"urgent" on the HTTP door.
VERSIONING PROMISE

A script you write today keeps working.

This is schema v1. Fields will be added over time, always optional, and existing fields will never be renamed, removed, or change meaning.