VoiceMerge

VoiceMerge API — projects, tasks and notes for your own tools

An API token lets a tool of yours (an AI agent, a script, a CI job) work on the tasks you keep in VoiceMerge: read them by project, tag, kind or status, attach notes, propose a plan, and mark what you approved as done. The person always has the last word: a token can never approve.

Base URL: https://api.voicemerge.app. Tokens are made on your account page.

Before you start

  1. Turn sync on. Tasks live on the device until you switch on Tasks → More → Sync and destinations → Sync tasks with my VoiceMerge account. Only synced tasks exist on the server, so only they are visible to a token. Recordings and transcripts stay on the device; what syncs is a task's title and notes (which can be your words as spoken, when nothing tidied them).
  2. Create a token at your account page, under API tokens. Name it after the tool, choose what it may do, and optionally limit it to one project. The token (vm_pat_…) is shown once.
  3. Send it on every request: Authorization: Bearer vm_pat_….
ScopeLets the tool
tasks:readList projects and tasks, read a task with its thread of notes
notes:writeAttach notes to a task (note, proposal, result)
tasks:statusMove a task open → proposed, proposed → open, approved → done
tasks:writeCreate tasks (as open or proposed) and change a task's fields

A token limited to one project sees and touches nothing outside it. Revoking a token (same page) stops it at once.

Limits:

A token reaches what its person does: their own projects, and the projects other people share with them, within the role they have there (see Shared projects below).

The loop

you (phone or Mac)            your tool (token)
──────────────────            ─────────────────
say or type a bug      ─────▶ GET  /v1/work/tasks?project=Website&status=open&kind=bug
                              POST /v1/work/tasks/{id}/notes    {"kind":"proposal","body":"…plan…"}
                              POST /v1/work/tasks/{id}/status   {"status":"proposed"}
read the plan, Approve ─────▶ GET  /v1/work/tasks?status=approved
                              …does the work…
                              POST /v1/work/tasks/{id}/notes    {"kind":"result","body":"…what was done…"}
                              POST /v1/work/tasks/{id}/status   {"status":"done"}
see it done, with notes ◀────

Everything a tool writes reaches your devices with their next sync, with the token's name as the author.

Records

A task:

{
  "id": "4d7ad743-e0b2-47fb-a525-06e77591d6a2",
  "project_id": "eea36a15-d6b3-49d2-a2b3-4e8680a353f5",
  "project": "Website",
  "kind": "bug",                 // task | bug | feature
  "status": "open",              // open | proposed | approved | done
  "title": "Login fails on iOS",
  "notes": "after the update",   // the task's own text
  "tags": ["auth"],
  "people": ["Maria"],
  "due": "2026-10-03T00:00:00.000Z", "due_has_time": false,
  "priority": 3,                 // 0 none, 1 low, 2 medium, 3 high
  "created_at": "2026-09-30T05:07:30.321Z",
  "updated_at": "2026-09-30T05:07:30.321Z",
  "assignee_id": "0b9d…",        // whose it is to do; absent for nobody
  "assignee": "Maria",           // their name
  "created_by": "5f1c…",         // who made it and who changed it last
  "updated_by": "0b9d…",
  "rev": 2,
  "thread": [ /* notes attached to it, oldest first; only on GET /v1/work/tasks/{id} */ ]
}

What a task doesn't have is left out, never sent as null: project_id and project for a task in no project, due, assignee_id and assignee, thread when there are no notes, and completed_at, which is there (a time) only while the status is done.

A due with due_has_time: false is a calendar date, not a moment: it is sent as midnight UTC of that date (2026-10-03T00:00:00Z is 3 October everywhere), and a tool should send a date the same way. The apps and the website read the date as the UTC day 13 hours after the value, which also reads a date an older app sent as its own local midnight as the day it meant. With due_has_time: true, due is the moment itself.

A note in a task's thread:

{ "id": "…", "task_id": "…", "kind": "proposal", "title": "Plan", "body": "Refresh the token before retrying.",
  "author": "Fixer", "author_id": "5f1c…", "tool": true, "created_at": "…", "updated_at": "…", "rev": 5 }

author is the token's name when a tool wrote the note (tool is then true), the person's name when someone other than the project's owner did, and absent on the owner's own; author_id is the person behind it. kind is note, proposal (a plan waiting for approval), result (what was done), or event: a line the server writes in a shared project's thread to say what happened ("approved this", "assigned this to Maria"). Times are UTC, ISO 8601, with milliseconds.

Endpoints

GET /v1/work/projects — tasks:read

{ "projects": [ { "id": "…", "name": "Website", "archived": false, "updated_at": "…", "role": "owner",
                  "members": [ { "id": "5f1c…", "name": "Sam" } ] },
                { "id": "…", "name": "Shop", "archived": false, "updated_at": "…", "role": "editor", "owner": "Olga",
                  "members": [ { "id": "9a3e…", "name": "Olga" }, { "id": "5f1c…", "name": "Sam" } ] } ] }

The person's own projects first, then the ones shared with them (role is editor or viewer, and owner names whose it is). members lists everyone on the project, its owner first, then the others by name: the id is what assignee_id and the assignee filter take. A person who set no name is shown by their username, or as Someone; only a project's owner, who sees the addresses anyway, sees the front of an address in its place.

POST /v1/work/projects/{id} and DELETE /v1/work/projects/{id} — the person, signed in

{ "name": "Website 2027" }

Renames a project (POST, returns the project) or deletes it (DELETE, 204). These are for the person's own session (the website's task board); a token gets 403 with code scope, whatever its scopes. Only the project's owner: someone else on it gets 403 with code read_only, anyone else 404. A name is one line of 1 to 120 characters (422, code name); a name another of the owner's projects has answers 409 with code name_taken. Deleting while anyone else is on the project answers 409 with code shared_project. A deleted project's tasks stay, without a project; its own notes go with it. Both reach every device with the next sync, exactly as if a device had made the change.

GET /v1/work/tasks — tasks:read

QueryMeaning
projectA project's id or its name (case-insensitive; the person's own project wins over a shared one of the same name). Unknown: 404.
statusopen, proposed, approved or done
kindtask, bug or feature
tagOne tag, with or without #
assigneeme, or a person's id: only tasks that are theirs to do
limit1–500, default 100
beforeThe next value from the previous page

Latest change first. { "tasks": [ … ], "next": 17 }; next is absent on the last page.

GET /v1/work/tasks/{id} — tasks:read

The task with its thread.

POST /v1/work/tasks/{id}/notes — notes:write

{ "kind": "proposal", "title": "Plan", "body": "…up to 200,000 characters, Markdown welcome…" }

kind defaults to note; title is optional. Returns the note.

POST /v1/work/tasks/{id}/status — tasks:status

{ "status": "proposed" }

Allowed for a token: open → proposed (I have a plan), proposed → open (I take it back), approved → done (I did what you approved). Anything else answers 409 with code transition. Setting the status a task already has is accepted and changes nothing. Returns the task.

POST /v1/work/tasks/{id} — tasks:write

{ "title": "Login fails on iOS 17", "priority": 3, "assignee_id": "0b9d…", "due": "2026-10-03T00:00:00Z" }

Changes the fields that are sent and leaves the rest: title, notes, kind, priority, tags, people, due, due_has_time, assignee_id. "due": null clears the date; "assignee_id": "" makes the task nobody's. The status has its own call, and a task stays in its project. Returns the task.

POST /v1/work/tasks — tasks:write

{ "title": "Footer links are broken", "kind": "bug", "project": "Website", "notes": "", "tags": ["web"],
  "people": [], "priority": 2, "status": "open" }

Only title is required. project is a project's name (made if it doesn't exist); project_id names one by id. A token creates tasks as open or proposed. A token limited to one project files everything there, and answers 403 with code project when asked to file somewhere else. due, due_has_time and assignee_id are taken as in the call above: the assignee has to be on the project the task goes into (422, code assignee_id, otherwise), and gets the same email. Returns the task.

Shared projects

A project can have other people on it (the person shares it from the app or their account page). Its tasks and notes then reach everyone on it, and so does what a tool writes there.

The person isTheir token can
the owner, or an editorread, attach notes, change statuses as above, create and change tasks
a viewerread; every write answers 403 with code read_only

Approving is never a token's. Among people it is the owner's, and the editors' the owner chose; anyone else gets 409 with code transition. In a shared project the thread records who did what as event notes, with a tool's name when a tool did it. Those lines are the server's: nobody can change or delete them.

Errors

Problems are JSON (RFC 7807) with a code and a detail written for a person:

StatuscodeWhen
400bad_requestThe body isn't JSON of the expected shape, or a query value is out of range
401unauthorizedNo token, or it is unknown, expired or revoked
403scopeThe token lacks the scope the endpoint needs
403projectA one-project token tried to create a task in another project (everywhere else, what is outside its project is simply 404)
403read_onlyA write in a project the person may only look at
403suspendedThe account is suspended (see Suspension, below)
404not_found, projectNo such task or project (or the token can't see it), or the task was deleted
409transitionA status change the caller may not make
409cannot_approveChanging the title, notes or kind of an approved task without the right to approve (a token never has it)
409quotaThe account that holds the task is full
409name_taken, shared_projectRenaming to a name the owner already uses; deleting a project other people are on
413too_largeThe request body is over 1 MiB
422the field's nameA field is missing, out of range, or (for assignee_id) names someone who isn't on the project
422objectionable_contentText other people would see has a word the filter doesn't allow (see Content other people see, below)
429rate_limitedToo many requests, or too many tokens that don't work from one address; Retry-After says how many seconds to wait
503unavailableThe service couldn't reach its database; nothing was changed, try again shortly

A 401 always means the token; a 503 never does, so don't throw a token away on one.

The sync feed, for the apps

The VoiceMerge apps don't use tokens: signed in, they keep their own copy and exchange changes through /v1/sync. A token is refused there (401). This is a summary of what an app sees; the work API above is the one for tools.

POST /v1/sync takes { "projects": [], "tasks": [], "notes": [] }, at most 500 records and 8 MiB a request (422 with code too_many, 413 with code too_large: send fewer at a time). It answers { "applied": 3, "stale": [ids], "rejected": [ { "id": "…", "reason": "…" } ], "merged_projects": [], "cursor": 17 }. Each record is judged by itself: one that can't be taken never fails the others, and the request as a whole answers 5xx only when the service is down. A stale record lost to a newer edit, which the next pull brings. A rejected record stays as it is on the device, with its reason:

reasonWhen
invalid: …The record can't be stored as it is; the text after the colon says why (a missing title, a NUL character, a note that names another project than its task's)
id_in_useThe id belongs to a record the account can't see
name_takenThe account already has a live project of that name
unknown_project, unknown_taskThe project or task it points at doesn't exist, was deleted, or isn't shared with the account
unknown_assigneeThe assignee isn't on the task's project
read_onlyA viewer's write, or a change to a shared project itself by someone other than its owner
cannot_moveA member taking a task or a note out of someone else's project
not_yoursDeleting a task, or changing a note, that someone else made; or changing an event line
cannot_approveApproving, taking an approval back, or rewriting approved work (a task's title, notes or kind, or its approved proposal note) without the right to approve. A status a task had in the sender's own account counts for nothing in someone else's project
shared_projectDeleting a project while other people are on it: remove them, or hand it over, first
quotaThe account that would hold the record is full
objectionable_contentA shared project's new name, or a task's or note's text in a shared project, has a word the filter doesn't allow (see Content other people see, below)

Deleting a project (a project record with deleted_at) is its owner's to do. Its tasks stay, without a project; the project's own notes are deleted with it; a task pushed into it afterwards is rejected unknown_project.

GET /v1/sync?since=N returns what changed in the account after change number N, oldest first: { "projects": [], "tasks": [], "notes": [], "merged_projects": [], "gone": [], "moved": [], "cursor": 23, "more": false }. A page holds at most limit records (1 to 1000, default 500) and about 4 MB of text, whichever comes first, and always at least one record; while more is true, ask again from cursor. GET /v1/sync?project=ID&since=N is the same for one project someone else shares with the account, in its owner's change numbers.

DELETE /v1/account never stops at shared projects (App Review asks for deletion without hurdles; the 409 shared_projects of earlier servers is gone). Each live project the account owns that other people are on passes to its longest-standing other member, whatever their role and whether they are on it in their own right or through a team: the one on it the longest (a member from when they were added, someone a team brought from when both the team was on the project and they were in the team). They become its owner, the project gets a new epoch like any hand-over, and if they already have a project of that name this one gets a number after it ("Website (2)"). The new owner is mailed as for a hand-over by hand (when their address is their own); the others on the project see it under its new owner in GET /v1/shares. A project nobody else is on is deleted with the account. 204 either way.

Sharing, accounts and the rest, for the apps and the website

GET /v1/shares. Each entry of projects carries two more fields:

Invitations (POST /v1/projects/{id}/invites, POST /v1/teams/{id}/invites):

Handing a project over (POST /v1/projects/{id}/owner {user_id}) is only to an editor who is on it in their own right: a viewer answers 409 with code not_editor, someone only in a team 404. An account without room for the project's tasks and notes answers 409 with code quota. The teams on the project come off it (they were the old owner's), and the new owner is told by mail.

Names. With no display name set, people are shown by their username, else as Someone; only a project's or team's owner sees the front of an address instead. Names are one line, at most 80 characters (longer ones are cut, never in the middle of a character), and can't contain a NUL (422).

Refresh tokens (POST /v1/auth/refresh). Each refresh returns a new refresh token and retires the one sent. The same token again within a few seconds (two requests racing, a retry) gets the same new one. Presented later, what happened to its replacement decides: if the replacement was never used, the answer must have been lost, so the replacement is retired and a new one is returned; nothing else ends. If the replacement was used, or the token sent is one retired that way, someone else has the chain: 401, and every session of the account ends, the other party's with it. Only 400 and 401 mean the session is over; a 429 or a 5xx never does. A suspended account's refresh answers 403 with code suspended: the token isn't spent, and works again if the suspension is lifted.

Refreshing has a rate-limit bucket of its own, apart from sign-in: 600 a minute per address (an IPv6 address counts by its /64), so many devices behind one office or carrier address don't lock each other out, and 10 a minute per refresh token, whoever presents it. Over either: 429 rate_limited with Retry-After.

App Store purchases (POST /v1/purchases/apple). A purchase made by another account (StoreKit delivers it while someone else is signed in) goes to the account that made it, and one already credited to another account stays there; either way the answer is 200 with "other_account": true and the signed-in account's own, unchanged balance_micros. Finish the transaction in both cases. When the account that made it no longer exists, the signed-in account is credited. A refund takes the credit back from whichever account received it.

The model (POST /v1/ai/complete). The server gives a model call up to 90 seconds, and an answer that arrives in that time is charged even if the client has stopped waiting for it. A client should wait at least 100 seconds before giving up, or it can pay for an answer it never reads (and again for a retry).

Limits per account (over the limit: 429, code rate_limited, with Retry-After in seconds, which the website can read):

RouteLimit
GET /v1/shares600 a minute
GET /v1/me, GET /v1/teams300 a minute each
GET /v1/ledger120 a minute
GET /v1/me/export5 an hour
POST /v1/auth/password/change5 an hour
POST /v1/auth/signout-all10 an hour
GET /v1/sync and POST /v1/sync120 a minute, together
GET /v1/partner/standing, GET /v1/partner/statements60 a minute
POST /v1/invites/accept, POST /v1/invites/decline60 an hour
Making, renaming and deleting teams, leaving or removing people from them, putting them on projects120 an hour
POST /v1/me/settings120 an hour

Password checks run a few at a time: when too many are under way, sign-up, login, a reset or a new password answer 503 with code busy and Retry-After: 5. POST /v1/auth/password/forgot always answers 200, and mails one address at most three links an hour. A server that can't send mail answers 503 with code email_unavailable to sign-up, a new confirmation link, a reset and an invitation.

Accounts. Signing in with Apple with the address of a confirmed account that has a password joins the two; that account's password is removed, and every session, refresh token and API token it had ends (its owner is told by mail, and can set a password again). A password reset ends the account's API tokens as well as its sessions. Deleting an account removes its address and its name wherever they were kept, and its name from what it wrote in other people's projects (it shows as Someone).

Codes at sign-up. The Mac app's welcome screen has one field for a partner's code or a promo code; the iPhone app's takes partner codes only (promo codes are redeemed on the web account page and in the Mac app). The partner welcome credit is never paid to an account that signed up in the iPhone app (platform: "ios" at sign-up or at its first Sign in with Apple; App Store rule 3.1.1): its partner code is still attached, for the partner's figures, but confirming its address pays nothing.

Reports and blocks (App Review guideline 1.2):

For administrators: see Admin, below.

Accounts: where they came from, sessions, your data

All bodies are JSON. Every endpoint ignores fields it doesn't know (the decoder never rejects an unknown field), so a client can send a new field to an older server safely.

Where an account came from

POST /v1/auth/signup and POST /v1/auth/apple take two optional fields:

Both are kept with the account (users.signup_platform, users.signup_attribution) only when the account is made: by sign-up, or by Sign in with Apple when its answer says "is_new": true. A later sign-in never changes them. They are never in an answer to the account or to anyone else; only the admin endpoints show them. The apps send platform "ios" or "mac"; an account made with "ios" never gets the partner welcome credit (see Codes at sign-up).

POST /v1/auth/signup
{"email": "ana@example.com", "password": "…", "platform": "web",
 "attribution": {"utm_source": "newsletter", "utm_campaign": "launch", "ref_host": "news.example", "landing_path": "/mac"}}

Changing the password — POST /v1/auth/password/change

Signed in, for an account that has a password. Body: {"current": "…", "new": "…"}.

200: the same answer as a login, {"access_token", "refresh_token", "expires_in", "user"}: this device is signed in again. Every other session ends (their refresh tokens are deleted, and access tokens issued before the change stop working). API tokens stay; revoke them with POST /v1/tokens/revoke.

StatuscodeWhen
422currentcurrent is empty
422passwordnew doesn't meet the password rules (as at sign-up)
403wrong_passwordcurrent is wrong
409no_passwordThe account has no password (Sign in with Apple): use POST /v1/auth/password/set
409changedThe password was changed by another request at the same moment: sign in again
503busyToo many password checks at once; Retry-After: 5

5 an hour per account.

Signing out everywhere — POST /v1/auth/signout-all

Signed in. No body (or {}). 204. Every session of the account ends, this one included: refresh tokens are deleted, every access token issued until now stops working. API tokens stay. 10 an hour per account.

Your ledger — GET /v1/ledger?limit=&before=

Signed in. Newest first. limit 1 to 200 (50 by default; out of range is taken as 50). before (optional) is the next_before of the previous page.

{"entries": [{"id": 812, "kind": "purchase_stripe", "micros": 10000000, "note": "credits_10", "created_at": "2026-11-15T10:02:03.123Z"}],
 "next_before": 812}

next_before is there only when there are older entries. note is left out when empty. kind is one of the ledger kinds (under Billing). A before that isn't a positive integer: 400. 120 a minute.

Your data — GET /v1/me/export

Signed in (a suspended account too). 200 with Content-Disposition: attachment; filename="voicemerge-export-YYYY-MM-DD.json" and one JSON document:

{
  "exported_at": "2026-11-15T10:00:00Z",
  "account": {"id", "email", "username", "display_name", "role", "email_verified", "has_password", "has_apple",
              "created_at", "balance_micros", "signup_platform": "web"|null, "signup_attribution": {…},
              "referred_with": "AB07"|null, "suspended_at": null},
  "ledger":       [{"id", "kind", "micros", "note", "created_at"}],
  "purchases":    [{"kind", "micros", "ref", "created_at", "sandbox"}],
  "projects":     [{"id", "name", "archived", "role": "owner"|"editor"|"viewer", "created_at"}],
  "tasks":        [{"id", "project_id", "kind", "status", "title", "notes", "tags", "people", "due", "priority", "created_at", "updated_at", "completed_at"}],
  "notes":        [{"id", "project_id", "task_id", "kind", "title", "body", "created_at", "updated_at"}],
  "teams":        [{"id", "name", "role": "owner"|"member"}],
  "api_tokens":   [{"name", "scopes", "created_at", "last_used_at", "expires_at", "revoked_at"}],
  "reports_made": [{"id", "about", "subject_id", "reason", "created_at"}],
  "blocks":       [{"user_id", "name", "created_at"}]
}

tasks and notes are the person's own (in their account, or made or written by them in other people's projects; never the server's event lines), and only where they can still see them: their private ones, and those in a project they are on now. What they made in a project they have left stays with that project and isn't in the export (its text may be other people's edits by then). purchases holds purchases and refunds; sandbox: true marks an App Store sandbox transaction (TestFlight, App Review), which was credited but not paid for. No token or hash is ever in it. Every list is [] when empty. 5 an hour per account.

Suspension

An admin can suspend an account (POST /v1/admin/users/{id}/suspend). From that moment:

{"type": "about:blank", "title": "Account suspended", "status": 403, "code": "suspended",
 "detail": "This account is suspended. To appeal, or to have it deleted and get a copy of its data, write to support from the account's address."}

Two routes still work for a suspended account, with an access token that is still good (issued before the suspension, at most 15 minutes old): DELETE /v1/account and GET /v1/me/export. After that, the person writes to support from the account's address, and an admin answers with GET /v1/admin/users/{id}/export and POST /v1/admin/users/{id}/delete. Lifting the suspension (/unsuspend) brings back everything that was signed in.

The waitlist — POST /v1/waitlist

For the website's "tell me when it's out" form. No session; the website's origin (VM_PUBLIC_WEB_BASE) may call it from the browser (CORS).

POST /v1/waitlist
{"email": "ana@example.com", "platform": "mac", "attribution": {"utm_source": "newsletter"}}

GET /v1/waitlist/confirm?token=…

The link in the mail. No session; 60 an hour per client address. It confirms the entry it was mailed for and every other unconfirmed entry of the same address, works once, and for 7 days. It always answers 303 See Other to the website:

Billing

Money is in micro-dollars (1 USD = 1,000,000): balance_micros is the account's credit. GET /v1/me has balance_micros (negative after an App Store refund of credit already spent: a debt the next purchase pays off), low_balance (under $0.50) and, once the account has bought on the web, auto_refill: {"enabled", "threshold_micros", "product_id", "has_card"}.

GET /v1/products?store=apple|stripe

No session; 60 a minute per address. store defaults to apple.

{"products": [{"product_id": "credits_10", "store": "stripe", "price_cents": 1000, "credit_micros": 10000000}]}

The Stripe list is empty while web checkout isn't configured on the server: show checkout only when it isn't. Another store: 422 with code store. Cache-Control: public, max-age=60.

POST /v1/purchases/apple — an App Store purchase

Signed in; 60 an hour. Body {"signed_transaction": "<JWS from StoreKit 2>"}. 200 {"balance_micros"}, or {"balance_micros", "other_account": true} when the purchase belongs to another account (see App Store purchases above). Finish the transaction on any 200.

StatuscodeWhen
400bad_requestNo signed_transaction
422bad_transactionThe transaction isn't valid, isn't ours, was refunded or revoked, or is a sandbox purchase over the server's sandbox cap; detail says which, for a person
503apple_lookup_failedApple couldn't be asked; Retry-After: 60. Keep the transaction and try again
503apple_unavailableApp Store purchases aren't configured on this server

POST /v1/purchases/stripe/checkout — buy a pack on the web

Signed in; 20 an hour. Body {"product_id": "credits_10", "auto_refill": false}. 200 {"url": "https://checkout.stripe.com/…"}: send the browser there. With auto_refill: true the card is saved for later charges.

Stripe sends the browser back to:

The credit is posted by the Stripe webhook, not by the return: the thanks page reads GET /v1/me (and may poll it briefly) to show the new balance. 422 with code product for a product that isn't a Stripe pack; 503 stripe_unavailable when web checkout isn't configured.

POST /v1/auto-refill — top up automatically

Signed in; 30 an hour. Body {"enabled": true, "threshold_micros": 1000000, "product_id": "credits_10"}. When the balance falls under the threshold after a model call, the saved card is charged for the pack, at most VM_AUTO_REFILL_DAILY_MAX times a day (3 by default). A threshold of 0 or less means $1.00; no product_id keeps the one set before. Answers the GET /v1/me body.

StatuscodeWhen
422no_cardThe account never bought on the web with auto-refill on, so there is no card
422productNot a Stripe pack
422thresholdThe threshold is over half the pack; max_threshold_micros says the most it can be

Webhooks

Ledger kinds

kindWhat
purchase_apple, purchase_stripeA pack bought (positive)
refundA purchase given back (negative)
usageA model call (negative)
promoA promo code redeemed
referralThe welcome credit for a partner's code
grant, grant_expiryA partner's monthly testing credit, and what was left of it at the month's end
adjustmentBy hand (POST /v1/admin/credit), a debt moved between accounts of one Apple ID, a refund or dispute undone

An App Store purchase made in Apple's sandbox (TestFlight, App Review) is credited like any other (production holds it to VM_APPLE_SANDBOX_CAP_USD per Apple ID), but nobody paid for it: it is never counted as revenue, a buyer or a first purchase (the admin figures, has_purchased, the partner pool), and the admin's lists show it with "sandbox": true.

Content other people see

App Review guideline 1.2 asks for a filter on content people share. The server keeps a short, conservative list of slurs and sexually explicit terms and checks only text other people will see:

Text nobody else sees (a private project, its tasks and notes) is never checked. Matching is on whole words, case-insensitively, after accents and invisible characters are taken out and look-alike digits, symbols and Cyrillic or Greek letters are read as the Latin letters they imitate; a letter stretched three times or more is tried as one and as two. So "Scunthorpe", "assess" or "class" pass, and so does a name like "Kike" (a common Spanish nickname, not on the list). General swearing is not on the list.

A hit answers 422 with code objectionable_content and the detail "This contains a word that isn't allowed in what other people see. Change the wording and try again." In POST /v1/sync the record is rejected with reason objectionable_content instead, and the rest of the push goes on.

Admin

Everything under /v1/admin/ takes Authorization: Bearer with either the access token of an account whose role is admin (the dashboard) or the shared VM_ADMIN_TOKEN (scripts; only from inside VM_ADMIN_ALLOW_CIDRS when that is set). With the shared token, an X-Admin-Actor header (at most 64 characters) names who is holding it. 120 requests a minute per admin (per address for the shared token).

Figures — GET /v1/admin/stats?from=&to=&bucket=

from and to are days (2026-11-01), both included, in UTC; to defaults to today and from to 29 days before to. bucket is day (the default) or week (weeks start on Monday). At most 400 days by day, three years by week; from after to or a bad value is 400.

{
  "from": "2026-11-01", "to": "2026-11-15", "bucket": "day",
  "buckets": [
    {"start": "2026-11-01", "signups": 12, "verified": 9,
     "by_platform": {"web": 7, "ios": 4, "mac": 1, "unknown": 0},
     "first_purchases": {"apple": 2, "stripe": 1},
     "gross_micros": 29970000, "net_micros": 26073900}
  ],
  "totals": {"signups": …, "verified": …, "by_platform": {…}, "first_purchases": {…}, "gross_micros": …, "net_micros": …,
             "signups_that_bought": 9},
  "by_source":          [{"value": "newsletter", "signups": 40, "buyers": 6, "net_micros": 52000000}],
  "by_campaign":        [{"value": "launch", …}],
  "by_ref_host":        [{"value": "news.example", …}],
  "by_partner_code":    [{"value": "AB07", …}],
  "by_signup_platform": [{"value": "web", "signups": 70, "buyers": 9, "net_micros": 91000000},
                         {"value": "ios", …}, {"value": "mac", …}, {"value": "unknown", …}],
  "waitlist": {"total": {"mac": 310, "iphone": 120}, "in_range": {"mac": 41, "iphone": 9},
               "confirmed": {"total": {"mac": 280, "iphone": 101}, "in_range": {"mac": 30, "iphone": 7}}}
}

Accounts

The account object (the list, the export's rows, and user in the detail):

{"id": "…", "email": "ana@example.com", "role": "customer", "username": "ana", "display_name": "Ana",
 "email_verified": true, "has_password": true, "has_apple": false, "created_at": "…",
 "referred_by": "<partner's account id>",
 "signup_platform": "web", "signup_attribution": {"utm_source": "newsletter"},
 "balance_micros": 4200000, "referral_code": "AB07", "has_purchased": true,
 "suspended_at": null, "suspended_reason": null}

referred_by is there only for an account that signed up with a partner's code. signup_platform, referral_code and suspended_reason are null when there is none; signup_attribution is {}. role is customer, partner or admin. has_purchased counts only packs someone paid for (never an App Store sandbox transaction); the has_purchased filter below does the same.

GET /v1/admin/users

Query (all optional): q (part of the email, username, display name or id; a % or _ in it is that character, not a wildcard), verified (true/false: the address confirmed), provider (apple: signs in with Apple; email: has a password; an account can be both), platform (web, ios, mac, or unknown for none), referred_by (a partner's account id or code, any, or none), source (the utm_source it signed up with, or none), created_from and created_to (days, both included, UTC), has_purchased (true/false), suspended (true/false), cursor, limit. Live accounts only, newest first.

200 {"users": [account, …], "total": 1234, "next_cursor": "…" | null}. A bad value is 400.

GET /v1/admin/users/export

The same filters (no cursor/limit), at most 100,000 rows, as CSV (Content-Disposition: attachment; filename="voicemerge-users-YYYY-MM-DD.csv"). Columns: id, email, username, display_name, role, email_verified, has_password, has_apple, created_at, signup_platform, utm_source, utm_medium, utm_campaign, ref_host, referral_code, balance_usd, has_purchased, suspended_at. Text people typed that starts like a formula (=, +, -, @, a tab or a carriage return) gets a ' in front. Audited as users_export ({"rows"}).

GET /v1/admin/users/{id}

One live account in full:

{
  "user": account,
  "sessions": {"active_refresh_tokens": 2, "last_refresh_at": "…"|null, "last_api_token_use_at": "…"|null,
               "last_model_call_at": "…"|null, "last_seen_at": "…"|null, "sessions_valid_from": "…"},
  "ledger": {"entries": [{"id", "kind", "micros", "ref", "note", "created_at"}], "next_before": 790 | null},
  "referral": {"partner_id": "…", "code": "AB07"|null, "referred_at": "…"} | null,
  "partner": {"code": "AN07", "status": "active"|"paused", "joined_at": "…", "note": "…", "referred_users": 14} | null,
  "purchases":         [{"id", "kind", "micros", "ref", "note", "created_at", "sandbox"}],
  "refunds":           [{"id", "kind", "micros", "ref", "note", "created_at", "sandbox"}],
  "api_tokens":        [{"name", "created_at", "last_used_at", "expires_at", "revoked_at"}],
  "projects_owned":    [{"id", "name", "archived", "created_at", "others"}],
  "projects_joined":   [{"id", "name", "owner_id", "role", "can_approve", "added_at"}],
  "teams":             [{"id", "name", "role": "owner"|"member", "since", "members"}],
  "promo_redemptions": [{"code", "created_at"}],
  "reports_by":        [{"id", "about", "subject_id", "reported_id", "reason", "created_at", "handled_at", "resolution"}],
  "reports_against":   [{"id", "about", "subject_id", "reporter_id", "reason", "excerpt", "created_at", "handled_at", "resolution"}],
  "blocked_by_them":   [{"user_id", "email", "created_at"}],
  "blocked_them":      [{"user_id", "email", "created_at"}]
}

GET /v1/admin/users/{id}/ledger?before=&limit=

200 {"entries": [{"id", "kind", "micros", "ref", "note", "created_at"}], "next_before": 790 | null}, newest first; before is the previous page's next_before (400 if it isn't a positive integer).

GET /v1/admin/users/{id}/export

The account's own export, exactly as GET /v1/me/export gives it, for a person who asks by mail (a suspended one). Audited as user_export ({"user_id"}).

POST /v1/admin/users/role

Body {"user_id": "…"} or {"email": "…"}, with "role": "customer"|"admin" and optionally "allow_unconfirmed": true. 200 {"user_id", "role"}; role is the role the account has now.

POST /v1/admin/users/{id}/suspend and /unsuspend

suspend takes {"reason": "…"} (1 to 500 characters, required: 422 with code reason). Both answer 200 with the account object (suspended_at, suspended_reason set or null). Suspending again keeps the first time and takes the new reason. An admin can't suspend themselves (409 self), and nobody, the shared token included, can suspend the last active admin (409 last_admin). unsuspend also pays what confirming the address held back while suspended (the partner welcome credit, a kept promo code), when still due. See Suspension (under Accounts) for what it does. Audited as suspend ({"user_id", "reason"}) and unsuspend ({"user_id"}).

POST /v1/admin/users/{id}/signout

No body. Every session, refresh token and API token of the account ends. 200 {"signed_out": true}. Audited as signout ({"user_id"}).

POST /v1/admin/users/{id}/delete

No body. Deletes the account exactly as its own DELETE /v1/account would: its address and name go, its Stripe customer is deleted, its Sign in with Apple grants are queued for revocation, and its shared projects pass to their longest-standing members (see the sync section). 200 {"deleted": true}. An admin can't delete themselves here (409 self), and nobody, the shared token included, can delete the last active admin (409 last_admin). Audited as delete_user ({"user_id"}; the address isn't kept).

POST /v1/admin/users/{id}/verify

No body. The address counts as confirmed, as if its link had been clicked: a promo code the account was waiting on is redeemed and a welcome credit paid when one is due (held instead while the account is suspended). 200 {"user_id", "email_verified": true}. 409 no_email for an account without an address. Audited as verify_email ({"user_id"}).

POST /v1/admin/users/{id}/verify-resend

No body. Mails the account a new confirmation link (the earlier ones stop working). 200 {"sent": true}. 409 with code no_email, already_verified, or not_needed (an account that signs in with Apple and has no password: its address counts as confirmed); 503 email_unavailable when the server can't send mail. Audited as verify_resend ({"user_id"}).

POST /v1/admin/users/{id}/password-reset

No body. Mails the account a password reset link, the "forgot password" mail (it works for an hour). 200 {"sent": true}. 409 no_password for an account without a password; 503 email_unavailable. Audited as password_reset_sent ({"user_id"}).

POST /v1/admin/credit

Body {"user_id": "…", "micros": 5000000, "note": "…", "idempotency_key": "…"}. A positive micros credits the account, a negative one takes credit back (it needs a note, and may leave a debt). At most VM_ADMIN_MAX_CREDIT_USD either way; note at most 200 characters. 200 {"balance_micros"}. 422 with code amount (no user, zero, or over the cap) or note; 404 for an unknown account. Audited as credit or debit ({"user_id", "micros", "note", "balance_micros"}, plus "idempotency_key" when one was sent).

idempotency_key is optional: a UUID the page makes once per credit it means to give (one per form, not per click). The first request with a key applies the credit; any later one with the same key, at once or later, applies nothing and answers 200 with the first request's body plus "repeated": true: {"balance_micros": <the balance right after the first>, "repeated": true}. It isn't audited again. Two requests with one key at the same moment apply it once: the second waits for the first and is the repeat. The same key with a different user_id, micros or note is 409 with code idempotency_conflict and applies nothing. A key that isn't a UUID is 422 with code idempotency_key. Without a key every request applies (as before).

The waitlist (admin)

An entry: {"id", "email", "platform": "mac"|"iphone", "attribution": {…}, "created_at", "confirmed": true|false, "confirmed_at": "…"|null} (attribution is {} when none; confirmed says whether the address clicked its link).

confirmed (query) is true, false or any; anything else is 400.

Reports

A report:

{"id": "…", "about": "project"|"task"|"note"|"invitation", "subject_id": "…", "project_id": "…"|null,
 "reporter": {"id": "…", "email": "…"|null} | null, "reported": {"id": "…", "email": "…"|null} | null,
 "reporter_id": "…"|null, "reported_id": "…"|null,
 "reason": "…", "excerpt": "the reported text as it was (at most 2000 characters)",
 "created_at": "…", "age_seconds": 5400,
 "handled": false, "handled_at": "…"|null, "handled_by": "<admin's account id>"|null,
 "resolution": "none"|"remove_content"|"suspend"|null, "resolution_note": "…"|null}

reporter/reported are null once that account is deleted. handled_by is null for the shared token, and for reports marked with the old route.

Promo codes

A code: {"code", "credit_micros", "max_uses", "current_uses", "expires_at": "…"|null, "note", "created_at", "disabled_at": "…"|null}.

The admin log

GET /v1/admin/audit?actor=&action=&cursor=&limit= — newest first; actor and action match exactly. cursor is the previous page's next_cursor (here a number in a string; anything else is 400).

{"actions": [{"id": 9182, "action": "suspend", "actor": "<admin's account id or X-Admin-Actor>", "ip": "203.0.113.4",
              "request_id": "…", "detail": {"user_id": "…", "reason": "…"}, "created_at": "…"}],
 "next_cursor": "9133" | null}

Actions: set_role, credit, debit, promo_create, promo_disable, suspend, unsuspend, signout, delete_user, verify_email, verify_resend, password_reset_sent, users_export, user_export, waitlist_export, waitlist_delete, waitlist_delete_platform, report_handled, report_resolve, create_partner, partner_status, partner_code, create_invite, approve_invite, decline_invite, add_expense, delete_expense, pool_settings, pool_compute, pool_freeze, pool_export, pool_paid, roll_grants, referral_setting. Deleting an account takes its address out of the log.

Partners and the pool

The routes are the same as before; what changed:

``json {"month": "2026-10", "partner_id": "…", "code": "AN07", "display_name": "Ana", "referred_users": 14, "referred_purchases_micros": 97000000, "commission_micros": 46000000, "bonus_micros": 46000000, "clawback_micros": 0, "total_micros": 92000000, "carry_micros": 0, "top_buyer_share_pct": 21, "paid_at": null, "payment_reference": ""} ``

(code, display_name and top_buyer_share_pct are in the admin's lists only.)

The rest, unchanged: GET /v1/admin/partners, POST /v1/admin/partners {user_id, first_name, last_name, number?, note?}, POST /v1/admin/partners/status {user_id, status: active|paused}, POST /v1/admin/partners/code {user_id, code}, GET /v1/admin/invites?status=, POST /v1/admin/invites {name?, email?}, POST /v1/admin/invites/decide {id, approve, first_name?, last_name?, number?}, GET /v1/admin/expenses?month=, GET /v1/admin/pool?month=, POST /v1/admin/pool/settings {month, company_share_pct, organic_bonus_pct}, POST /v1/admin/pool/compute {month}, GET /v1/admin/pool/export?month= (CSV), POST /v1/admin/grants/roll {month?}, GET/POST /v1/admin/settings/referral {micros, trigger: signup|off}.

Example: an agent's polling pass

API=https://api.voicemerge.app
AUTH="Authorization: Bearer $VOICEMERGE_TOKEN"

# 1. New bugs to look at
curl -s -H "$AUTH" "$API/v1/work/tasks?project=Website&status=open&kind=bug"

# 2. Propose a fix for one
curl -s -H "$AUTH" -H 'Content-Type: application/json' -X POST "$API/v1/work/tasks/$ID/notes" \
  -d '{"kind":"proposal","title":"Plan","body":"Refresh the token before retrying; add a test."}'
curl -s -H "$AUTH" -H 'Content-Type: application/json' -X POST "$API/v1/work/tasks/$ID/status" -d '{"status":"proposed"}'

# 3. Later: what has been approved?
curl -s -H "$AUTH" "$API/v1/work/tasks?status=approved"

# 4. After doing the work
curl -s -H "$AUTH" -H 'Content-Type: application/json' -X POST "$API/v1/work/tasks/$ID/notes" \
  -d '{"kind":"result","body":"Fixed in 1a2b3c and deployed."}'
curl -s -H "$AUTH" -H 'Content-Type: application/json' -X POST "$API/v1/work/tasks/$ID/status" -d '{"status":"done"}'

For an AI agent, the instruction that goes with the token can be this short: "List approved tasks in project X. For each, read the thread, carry out the approved proposal, attach a result note saying what you did, and mark it done. For open bugs and feature requests, attach a proposal and mark them proposed. Never do work that is not approved."