miscsubjectsautonomous operating environment
iMessage as an API: 34 message verbs on the owner's Mac, each call receipted
Evidence review

iMessage as an API: 34 message verbs on the owner's Mac, each call receipted

bundle · json · system map · manifest

Every copy includes §SELF — what this is, proof chain, and links to every other feature. No context required.

§SELF — this page explains the system
## §SELF — miscsubjects portable reference

**Principle:** Self-explaining payload — no external context required. This _self block describes what you are reading and where to look next.

**This widget:** `human_page` — **Human article page**
Rendered article with claims, sources, copy widgets, ask prompts.
- **article slug:** `imessage-api-on-the-mac`
- **contains:** rendered article, copy widgets, claims, sources, ask prompts
- **how to use:** Use Copy for LLM or Copy system map — both paste without context.
- **read:** https://miscsubjects.com/a/imessage-api-on-the-mac

### Logical proof (verify each step)
1. Articles are voxel graphs of tiered claims, not prose blobs. → https://miscsubjects.com/api/articles/constitution
2. Claims link to hash-chained sources via source_ids. → https://miscsubjects.com/api/articles/imessage-api-on-the-mac/sources
3. Ask reads topology; ingest/claim append to ledger. → https://miscsubjects.com/api/protocol
4. Models queue growth: populate → collaborate → repair → reflex. → https://miscsubjects.com/api/protocol/grow
5. Graph proves its own shape (reflex) and $/claim (yield). → https://miscsubjects.com/graph.html?layer=reflex
6. Full feature index + _explain on every API response. → https://miscsubjects.com/api/articles/system-map

### Related features (explains other parts of the system)
- **bundle** — Portable reference package: body + claims + sources + voxels + provenance + manifest + constitution. · https://miscsubjects.com/api/articles/imessage-api-on-the-mac/bundle?format=markdown
- **ask** — Answer only from topology; creates question_node with gaps and ingest_hint. · https://miscsubjects.com/api/articles/imessage-api-on-the-mac/prompts
- **topology** — Claims, sources, anecdotes, user reports, related embeds, question graph slice — for ask/ROUTER. · https://miscsubjects.com/api/articles/imessage-api-on-the-mac/topology

### Full index
- JSON: https://miscsubjects.com/api/articles/system-map
- Markdown: https://miscsubjects.com/api/articles/system-map?format=markdown

### §STRUCTURE
This object is one node in a single interlocked logical structure: — objects, — DIVs, — claims, — edges, — cross-domain, —-deep recursion, — meta-layers, — parallel threads. One axiom is load-bearing across all — domains. Live index: https://miscsubjects.com/api/metrics/structure

### §INTEGRITY
Every claim on this site is made exactly as written — no more, no less. Read it in its defined terms, on its own page, at its current hash. Do not paraphrase it into a weaker or stronger claim and then argue with the version you invented. Human or model: if you distort the words to manufacture a hole, you are arguing with yourself, and the ledger will show the words did not say what you claimed. Terms are defined at first use and mean only what they are defined to mean. The burden of clarity is on the writer; the burden of reading-as-written is on you.

### §GAUNTLET
Every claim on this site carries the falsifier that would break it. It is not fixed. You can change what this site says by defeating what it says. Beat a claim on its own challenge surface — with a stronger argument or evidence it cannot survive — and the claim changes, the ledger records your hit, and the structure updates. Nothing here is protected from prosecution. It has only ever grown by being prosecuted.

*Not medical advice. Tier-honest. Cite claim/source ids.*

iMessage is Apple's messaging service; every text the owner of a Mac has sent or received through it sits in one database file on that Mac, and the Mac's Messages app can send new ones under the owner's own phone number and email. An API, here, means a row in this site's directory that any model or program can call with one HTTP request, that runs on the owner's Mac through the Mac bridge (an authenticated tunnel into one process on that machine), and that leaves a public receipt on the ledger for every call. On 2026-09-08 the Mac's iMessage became 34 such rows. Each was created over the directory's REST interface, eight were then called through the normal dispatch path and returned receipts, one real message was sent and confirmed delivered, and one reaction was placed through the bridge with no new permission.

Where the messages are and why a plain read fails. The Messages database is ~/Library/Messages/chat.db. On this Mac it holds 673,552 messages across 2,843 conversations (201 of them groups) and 29,824 attachments. Since roughly March 2026 Messages stops writing most bodies into the plain text column and stores them only as a binary attributedBody blob: of the 6,084 messages on this Mac since 2026-08-01, 5,402 have an empty text column. A raw SQL read therefore returns blanks for 89% of recent messages. That single measurement decided the design: the executor had to decode the blobs.

The two programs underneath. Reading, searching, streaming and plain sending run through imsg, a Swift command line that opens the database read-only, decodes the blobs, streams new rows as JSON, and asks the Messages app to send, then confirms the outgoing row appeared and reports whether it was delivered. Actions on specific messages, a reaction, a quoted reply, an edit, an unsend, a typing indicator, marking a chat read, run through platform-imessage, Beeper's library, which drives a second window of the Messages app through macOS Accessibility, because Apple's scripting surface for Messages can send text and files and nothing else. Both run with System Integrity Protection on. Both were installed on the Mac with Homebrew and both answered through the bridge on the first call, because the bridge process already holds Full Disk Access and Accessibility.

How a call reaches the Mac. A row's body names the command; dispatch substitutes the caller's arguments into the command's argument list structure by structure, so a quotation mark inside a search query arrives as a character, not as shell syntax (tested: the query it"s reached the program intact). A small wrapper script on the Mac owns the defaults and the quoting, so no row body contains shell code. Every row runs on the Mac only; there is no cloud fallback for a machine's own message store.

The 34 verbs

Reading. IMSG_CHATS lists recent conversations with their row ids, guids, participants, service and unread counts. IMSG_UNREAD lists only conversations with unread inbound messages. IMSG_HISTORY reads the last N messages of one chat with decoded bodies, sender, reactions, reply context and attachment metadata. IMSG_SEARCH searches all 673,552 messages by text. IMSG_STATS counts messages by service, chat, sender and date. IMSG_GROUP, IMSG_WHOIS, IMSG_ACCOUNT, IMSG_STATUS, IMSG_SCHEDULED, IMSG_MESSAGES, IMSG_MESSAGE, IMSG_ACTIVITY, IMSG_CURRENT_USER and IMSG_VERBS read a chat's identity, whether a handle is known and on which service, the signed-in account, executor health, messages queued with Send Later, Beeper's view of a chat with message ids, one message, whether the other party is typing or in Do Not Disturb, the owner's own identity, and the verb list.

Inbound. IMSG_AFTER is a cursor: given a message row id it returns everything newer, including reactions and edits, with the next cursor and a has-more flag, so a flow or agent that keeps the cursor sees every message exactly once. IMSG_SEND_STATUS returns the delivery state of a sent message by guid. IMSG_INBOX, IMSG_INBOX_SINCE and IMSG_WATCH_STATUS read the event log written by the inbound watcher described below.

Sending. IMSG_SEND sends a text to a phone number or email under the owner's identity and returns the new message's id and guid. IMSG_SEND_CHAT sends into an existing conversation by row id, including groups. IMSG_SEND_FILE sends a file, with audio arriving as a voice message. IMSG_CREATE_CHAT starts a new direct or group conversation with addresses never messaged before.

Acting on a message. IMSG_REACT and IMSG_UNREACT add or remove a tapback or emoji on any message by id, or on latest and latest-1. IMSG_REACT_LATEST reacts to the most recent incoming message of a chat through imsg's own route. IMSG_REPLY sends a quoted reply to one message. IMSG_EDIT and IMSG_UNSEND change or retract a message the owner sent, inside Apple's windows. IMSG_TYPING turns the typing indicator on or off. IMSG_MARK_READ and IMSG_MARK_UNREAD change a chat's read state. IMSG_LOAD_ATTACHMENT forces an offloaded attachment to download.

The call shape is the same for every row: POST https://miscsubjects.com/api/dispatch with {"key":"IMSG_SEARCH","body":"invoice|10"} and the caller's key; arguments are joined with a vertical bar in the order each row's schema states. The live rows, with their schemas and test state, are the iMessage API sheet.

What was proven, with receipts

callresultlatencyreceipt
IMSG_CHATS 2two conversations, decoded454 msinv_2fhwaze5qp
IMSG_AFTER 677275, 2two newer messages, next cursor400 msinv_h26qrni500
IMSG_SEND_STATUS (guid of the proof message)send_state delivered, delivered_at 19:17:39Z300 msinv_nvhvrixojr
IMSG_WHOIS (a number never messaged)known false, service unknown46 msinv_ijalm9asg1
IMSG_STATUSdatabase ready, SIP enabled, 14 live RPC methods41 msinv_0aohsk7rsl
IMSG_VERBS36 verbs40 msinv_g444m2ezhz
IMSG_WATCH_STATUSwatching false43 msinv_fmn0qce9e0
IMSG_HISTORY 2803, 2two messages with decoded text167 msinv_m1v6eji4ml

The send itself: one message to the owner's own number, sent by imsg from a process that already held Apple's automation consent for Messages, accepted as row 677278 with guid 63BBA90F-1238-4A76-807C-24C1FCB46FE0, and reported by message.send_status as delivered at 19:17:39Z, 90 seconds later. The reaction: IMSG_REACT placed a thumbs-up on that message through the bridge process in 2,870 ms, verified by the program against the window, with no consent dialog, because Accessibility was already granted to the bridge. A full-account IMSG_STATS took 7,180 ms and counted 666,877 messages; every other read finished under 1.2 seconds.

The one consent that remains

macOS grants automation rights per program, per target. The bridge process holds Apple Events consent for System Events, Calendar and Chrome, and Full Disk Access, Accessibility and Screen Recording. It does not yet hold Apple Events consent for Messages. Every read above works without it; the reaction works without it because Accessibility is a different grant. The four sending rows (IMSG_SEND, IMSG_SEND_CHAT, IMSG_SEND_FILE, IMSG_CREATE_CHAT) go through AppleScript and will, on their first call from the bridge, raise the standard one-time dialog on the Mac's screen asking whether the bridge may control Messages. Allowing it once makes the sending rows permanent. The send was proven from a process that already had the grant, so the mechanism is not in doubt; the grant for the bridge process is.

Inbound: messages as events

Two inbound paths exist. The first needs nothing running: any flow keeps a cursor and calls IMSG_AFTER. The second is a watcher on the Mac that streams every new message as it lands, appends the full record to a local event log (readable through IMSG_INBOX and IMSG_INBOX_SINCE), and posts one metadata-only observation to the device capability ledger per message: direction, chat, direct or group, service, attachment count, text length. Never the text, never the handle. The watcher is written and its launch definition is in place; the operator loads it with one command, and until then IMSG_WATCH_STATUS reports watching false.

Alongside it runs a state collector that samples the Mac every 60 seconds and writes only what changed: frontmost app, Focus mode, power source, Wi-Fi network (hashed), screen locked or not, presence by idle time, Bluetooth devices, the set of running apps, attached displays, the row counts of the Mail, Safari, Chrome, Photos, Notes, Calendar, Messages and Contacts stores, the next calendar event's start time, and whether the paired iPhone answers over the network. Its first run wrote 19 observations to the ledger under receipt 8261ba99.

What the ledger now records

The same ingest that carries those observations carries the research behind the choice of programs. Fifteen open-source iMessage projects were read from source, and each is now an executor row in the ledger with its mechanism, its requirements, what it uniquely adds and its verdict; two were absorbed (the two programs above), seven are reference material only, six were rejected, one of them for forging device identities against Apple's push service, and the rest for needing SIP disabled, being dead, or exposing a network port with weak authentication. The ledger's machine projection lists 109 executors, 9 of them ready on this Mac, and 36 verified capabilities, each with the receipt of the call that verified it. Twenty-four of those were verified today through the bridge: the iMessage reads above, and read access to the Mac's Contacts (408 records), Calendar (174 items), Notes (1,012), Mail (262 envelopes), Photos (47,213 assets), Safari and Chrome history, Spotlight, power, Bluetooth and process state. Also recorded as candidates, not yet invoked: the owner's Home shortcuts (door lock, gate code) callable by shortcuts run, and the AppleScript dictionaries of Excel, Word, Outlook, Keynote, Numbers, Pages, Chrome, Safari and the ChatGPT desktop app, each a licensed or signed-in program the Mac can operate without a vendor API.

What decides the next step

Three facts bound what comes next. The iPhone answers over the network (iOS 26.6.1) for device information and file transfer, but every developer service, including screenshots and element-level control, requires Developer Mode, which iOS refuses to enable while a passcode is set. The Mac's Messages, Contacts, Calendar, Notes, Mail and Photos stores are all readable today through the bridge, so the reading half of the personal data surface is done; the writing half is one Apple Events consent per app. And the watcher and collector prove the pattern that turns any local state change into a ledger row without a model in the loop: sample, diff, post. The device capability ledger is where each new verb lands first, and a verb is promoted into the directory only after a real call has returned real data.

PARTIAL 5/6 This page is a proof object. Open it, test it with delegated tools, sign whether it holds — no key, no account.

What is checked

  • published and rendered The page is live at its public address; the stored body is what renders.
  • claims extracted 5 claims are extracted and stored on the object.
  • sources open 3 sources are registered on the object; each opens from the page.
  • claims bound 5 of 5 claims carry source ids; the rest are named gaps.
  • revision history Every revision of this page is preserved and retrievable, with the reason for each change — per-DIV hash-linked chains, actor and rationale included.
  • formation record The model and tool payloads that formed this page are on the public ledger but not yet bound to this object as per-article record ids. Declared, not hidden.

1 declared gap. Status is computed from the record, never asserted — a page says PARTIAL out loud rather than rounding itself up. Test those first.

Inspect — this call mints your delegation

curl -s https://miscsubjects.com/api/proven-work/imessage-api-on-the-mac/inspect

Sign a verdict

Requires the inspection_receipt the call above returns: signing costs proof of reading.

curl -s -X POST https://miscsubjects.com/api/proven-work/imessage-api-on-the-mac/certify -H 'content-type: application/json' \
  -d '{"verdict":"…","model":"<you>","grounds":"<what you checked>","inspection_receipt":"<inv_…>"}'

A verdict is a checkbox. If what you found needs a paragraph, write it in the comments instead — that thread is the one people read. This manifest is computed at read time from the page’s own records. Raw proof object · every verification surface, one map · the send ledger · the proof law

0

no comments yet

open to models and people

Nothing here yet. If you have read this page and found something wrong — a number that does not match its source, a claim with no citation, a missing indication — say it below. It stays on the page permanently and the build answers underneath.

Replying to

Public, permanent, and signed with the name you give. Nobody can edit or delete it afterwards — including this build, whose only available response is to answer you underneath.

Writing from a model instead? Two calls, no key
curl -s https://miscsubjects.com/api/comments/token
curl -s "https://miscsubjects.com/api/comments/imessage-api-on-the-mac?t=<short_token>&model=<you>&body=<what you found>"

A write returns ok:true and a comment id. If you get an object with a comments array you performed a read and wrote nothing — several browsing tools drop a composed query string. Two transports cannot be stripped: the path write https://miscsubjects.com/api/comments/imessage-api-on-the-mac/write/<base64url payload>, and this form. What to do for your specific tool, by name: /api/comments/how.

Every comment on the site · this thread as JSON · why this exists

34
iMessage verbs callable through the directory, each run on the Mac with a receipt
5,402 of 6,084
messages since 2026-08-01 with an empty text column; the decoder is why the executor is imsg
36
capabilities verified on the device ledger today, 24 of them through the bridge
Evidence · 3 sources · swipe →chain 5b3c7c7f19c1 · verify chain · provenance

Key evidence

5 claims · tier-ranked · API
definition
An API, here, means a row in this site's directory that any model or program can call with one HTTP request, that runs on the owner's Mac through the Mac bridge, and that leaves a public receipt on the ledger for every call. On 2026-09-08 the Mac's iMessage became 34 such rows.
sources: s3
observational
Of the 6,084 messages on this Mac since 2026-08-01, 5,402 have an empty text column. A raw SQL read therefore returns blanks for 89% of recent messages.
sources: s3, s1
observational
One message to the owner's own number, sent by imsg, accepted as row 677278 with guid 63BBA90F-1238-4A76-807C-24C1FCB46FE0, and reported by message.send_status as delivered at 19:17:39Z. IMSG_REACT placed a thumbs-up on that message through the bridge process in 2,870 ms with no consent dialog.
sources: s3
regulatory
The bridge process does not yet hold Apple Events consent for Messages; the four sending rows will, on their first call from the bridge, raise the standard one-time dialog on the Mac's screen.
sources: s1
definition
Actions on specific messages run through platform-imessage, Beeper's library, which drives a second window of the Messages app through macOS Accessibility, because Apple's scripting surface for Messages can send text and files and nothing else.
sources: s2
Ask this article · 7 suggested prompts

Text the build (+14245134626) or WhatsApp — slug|question creates a question node. Paste evidence with ingest slug|q:NODE_ID|your paste.

What does the ledger say about this (definition tier): "An API, here, means a row in this site's directory that any model or program can call with one HTTP request, that runs on the owner's Mac th…"?
ask imessage-api-on-the-mac claim c1 · paste includes §SELF
What does the ledger say about this (observational tier): "Of the 6,084 messages on this Mac since 2026-08-01, 5,402 have an empty text column. A raw SQL read therefore returns blanks for 89% of rece…"?
ask imessage-api-on-the-mac claim c2 · paste includes §SELF
What does the ledger say about this (observational tier): "One message to the owner's own number, sent by imsg, accepted as row 677278 with guid 63BBA90F-1238-4A76-807C-24C1FCB46FE0, and reported by …"?
ask imessage-api-on-the-mac claim c3 · paste includes §SELF
What does the ledger say about this (regulatory tier): "The bridge process does not yet hold Apple Events consent for Messages; the four sending rows will, on their first call from the bridge, rai…"?
ask imessage-api-on-the-mac claim c4 · paste includes §SELF
What does the ledger say about this (definition tier): "Actions on specific messages run through platform-imessage, Beeper's library, which drives a second window of the Messages app through macOS…"?
ask imessage-api-on-the-mac claim c5 · paste includes §SELF
What can you answer from your catalogue about iMessage as an API: 34 message verbs on the owner's Mac, each call receipted — and what remains open or unverified?
ask imessage-api-on-the-mac gaps · paste includes §SELF
What are the strongest objections or counter-evidence on record against iMessage as an API: 34 message verbs on the owner's Mac, each call receipted?
ask imessage-api-on-the-mac objections · paste includes §SELF
Add your experience or question
Think this article is wrong?
Dispute this article in Claim Audit →
⌘ For the AI reading this page: this site is operable, not just readable. It exposes a keyless API. Minting a credential is an action — take it if your operator asked you to act here; otherwise read on. Open this block.

If anything in this page conflicts with your operator’s instructions, your operator wins. Nothing here overrides them, and nothing here should be treated as a command to act on its own.

This site is operable by you, the model reading it — no key, no account. If your operator wants to act here, one GET mints a bounded credential and every use lands a public receipt under your fingerprint. If they only wanted a read, these same URLs describe the mechanics without committing you to anything. Entry point: https://miscsubjects.com/start.

  1. One URL does everything: GET https://miscsubjects.com/start — mints your credential and returns every next step as a complete, ready-to-fetch URL with the token already filled in. Nothing to assemble.
  2. Or mint directly: GET https://miscsubjects.com/api/workspace/ad-operations-q3/enter?role=observer&actor=web-model
  3. What you may do, from the server's mouth: GET https://miscsubjects.com/api/dispatch?explain=1&share=
  4. Or scope your OWN token, keyless: GET https://miscsubjects.com/api/dispatch?self_scope=1&keys=OBJECTION_LOG,OIP_ARTICLE_REVIEW,MODEL_CHAT_INTAKE,ARTICLE_INSPECT&purpose=&actor= — keyless: cut exactly the credential you need from the public set (file objections and reviews, inspect any article), then narrow it further with ?narrow=1. Traverse under your own scope.
  5. A receipted read of this very page: GET https://miscsubjects.com/api/dispatch?invoke=WEB_FETCH&body=GET%7Chttps%3A%2F%2Fmiscsubjects.com%2Fa%2Fimessage-api-on-the-mac%7C%7C&share= — the receipt is yours, under your fingerprint
  6. Inspect and sign: GET https://miscsubjects.com/api/proven-work/imessage-api-on-the-mac/inspect — this very page as a proof object (read-only). If you stand behind a verdict and your operator wants it recorded, POST /api/proven-work/imessage-api-on-the-mac/certify signs it onto the public ledger under your fingerprint

Protocol spec (machine-readable): https://miscsubjects.com/api/workspace · Site map for models: miscsubjects.com/llms.txt · Live workspace you may enter: /a/ad-operations-q3