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
- 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).
- 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. - Send it on every request:
Authorization: Bearer vm_pat_….
| Scope | Lets the tool |
|---|---|
tasks:read | List projects and tasks, read a task with its thread of notes |
notes:write | Attach notes to a task (note, proposal, result) |
tasks:status | Move a task open → proposed, proposed → open, approved → done |
tasks:write | Create 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:
- 240 requests a minute per account (all of its tokens and its own session together), and 20 live tokens per account. Over the limit:
429with aRetry-Afterheader, in seconds. - An address that presents tokens that don't work (unknown, expired, revoked) 60 times in a minute is answered
429for the rest of that minute, whatever it presents. - A request body is at most 1 MiB (
413). A title is 1 to 500 characters, a task's notes at most 20,000, a note's body at most 200,000; a tag or a name at most 64, fifty of each. Text can't contain a NUL character (422, with the field's name as the code). - An account holds up to 250 MB of synced text. A task or note counts in the account that holds it: the project's owner's, for a shared project. A write that would go over answers
409with codequota; making something shorter, changing a status and deleting always work.
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
| Query | Meaning |
|---|---|
project | A project's id or its name (case-insensitive; the person's own project wins over a shared one of the same name). Unknown: 404. |
status | open, proposed, approved or done |
kind | task, bug or feature |
tag | One tag, with or without # |
assignee | me, or a person's id: only tasks that are theirs to do |
limit | 1–500, default 100 |
before | The 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.
- Only the fields you name are written, to the task as it is at that moment. You don't need to read it first, and what someone else just changed (the person approving it, say) stays changed. There is no "changed elsewhere, retry" answer.
- Sending what the task already has changes nothing, and nothing is sent to the person's devices.
- An assignee has to be on the task's project (see
membersabove), or, for a task in no project, be the account itself; otherwise422with codeassignee_id. The assignee gets an email about it, at an address they confirmed, unless they turned that off. - A task that was deleted answers
404; it is not brought back. - An approved task's
title,notesandkindare what was approved: a token can't change them (409, codecannot_approve), and neither can a person who may not approve in that project. The other fields can still be changed.
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 is | Their token can |
|---|---|
| the owner, or an editor | read, attach notes, change statuses as above, create and change tasks |
| a viewer | read; 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:
| Status | code | When |
|---|---|---|
| 400 | bad_request | The body isn't JSON of the expected shape, or a query value is out of range |
| 401 | unauthorized | No token, or it is unknown, expired or revoked |
| 403 | scope | The token lacks the scope the endpoint needs |
| 403 | project | A one-project token tried to create a task in another project (everywhere else, what is outside its project is simply 404) |
| 403 | read_only | A write in a project the person may only look at |
| 403 | suspended | The account is suspended (see Suspension, below) |
| 404 | not_found, project | No such task or project (or the token can't see it), or the task was deleted |
| 409 | transition | A status change the caller may not make |
| 409 | cannot_approve | Changing the title, notes or kind of an approved task without the right to approve (a token never has it) |
| 409 | quota | The account that holds the task is full |
| 409 | name_taken, shared_project | Renaming to a name the owner already uses; deleting a project other people are on |
| 413 | too_large | The request body is over 1 MiB |
| 422 | the field's name | A field is missing, out of range, or (for assignee_id) names someone who isn't on the project |
| 422 | objectionable_content | Text other people would see has a word the filter doesn't allow (see Content other people see, below) |
| 429 | rate_limited | Too many requests, or too many tokens that don't work from one address; Retry-After says how many seconds to wait |
| 503 | unavailable | The 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:
reason | When |
|---|---|
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_use | The id belongs to a record the account can't see |
name_taken | The account already has a live project of that name |
unknown_project, unknown_task | The project or task it points at doesn't exist, was deleted, or isn't shared with the account |
unknown_assignee | The assignee isn't on the task's project |
read_only | A viewer's write, or a change to a shared project itself by someone other than its owner |
cannot_move | A member taking a task or a note out of someone else's project |
not_yours | Deleting a task, or changing a note, that someone else made; or changing an event line |
cannot_approve | Approving, 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_project | Deleting a project while other people are on it: remove them, or hand it over, first |
quota | The account that would hold the record is full |
objectionable_content | A 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.
moved(the account's own feed; always there, empty in a project's):[ { "kind": "task", "id": "…", "rev": 21 } ]. A task filed into someone else's project, or a project handed over ("kind": "project"), left this account for another. A device drops its copy only if it still has the record as the account's own.gone(a project's feed): ids of tasks that were moved out of the project.- A note that was moved out of a shared project arrives in that project's feed as a deleted note, for the people who can't see where it went.
- When a task changes project, its notes are sent again with it.
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:
head(integer): the newest change number in that project's feed (GET /v1/sync?project=). A device whose stored cursor for the feed is at leastheadhas nothing to fetch there and can skip the pull, unless it is reading the feed again after a rejection or a newepoch. Every change to the project (its record, its tasks, their notes, a task or note leaving it) movesheadpast what came before. Absent on an older server: always pull.direct(boolean): whether the reader is on the project in their own right.falsemeans only through a team: there is no "leave this project" for them (they leave the team). The owner's own entries carrytrue. Absent: treat astrue.
Invitations (POST /v1/projects/{id}/invites, POST /v1/teams/{id}/invites):
- Only from an address that is the sender's own, confirmed by the link we mailed or given by Apple; otherwise
403with codeemail_unverified("Confirm your email address first"). - The answer carries
"mailed": truewhen a mail went out. Inviting the same address to the same project or team again within the hour keeps the pending invitation (with the role just given) and answers"mailed": false: the link already mailed still works. - One address gets at most five invitations a day, from anyone; the sixth answers
429with codeinvite_limitand aRetry-After. - The mail's subject is fixed ("You're invited to a project on VoiceMerge"); the sender's name and the project's are in the body only, on one line.
- Invitations, and the links mailed to confirm an address or reset a password, are deleted 30 days after they stopped being usable (accepted, declined, withdrawn, expired, or their project deleted).
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):
| Route | Limit |
|---|---|
GET /v1/shares | 600 a minute |
GET /v1/me, GET /v1/teams | 300 a minute each |
GET /v1/ledger | 120 a minute |
GET /v1/me/export | 5 an hour |
POST /v1/auth/password/change | 5 an hour |
POST /v1/auth/signout-all | 10 an hour |
GET /v1/sync and POST /v1/sync | 120 a minute, together |
GET /v1/partner/standing, GET /v1/partner/statements | 60 a minute |
POST /v1/invites/accept, POST /v1/invites/decline | 60 an hour |
| Making, renaming and deleting teams, leaving or removing people from them, putting them on projects | 120 an hour |
POST /v1/me/settings | 120 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.
POST /v1/codes/check {code}, no session, 60 an hour per address: a partner's code (two letters and two digits, typed loosely:ab-07) answers{"kind": "partner", "code": "AB07"}, pluswelcome_microsandwelcome_trigger(alwayssignup: the credit is paid once the new account's address is its own) while a welcome credit is switched on (an app on iPhone should not show the credit: it isn't paid there). It says nothing about the partner. A promo code answers{"kind": "promo", "code", "credit_micros"}. Neither, or a promo code past its date:404with codecode_not_found; a promo code with no uses left:410code_exhausted. A partner's code is tried first.POST /v1/auth/appletakespartner_codetoo, asPOST /v1/auth/signupdoes: attached within the two weeks a code can be added in, once. A code that isn't a live partner's is left out; the sign-in still succeeds (check the code first).POST /v1/promo/redeemcredits only an address that is the account's own (confirmed, or Apple's), once per account, per Apple identity and per address (a+tagdoesn't make another address). An email account that hasn't confirmed yet gets202 {"pending": true, "credit_micros"}: the code is kept, and confirming the address (POST /v1/auth/verify, whose answer then haspromo_credited_micros) or signing in with Apple redeems it. A kept code that is used up by then, or that the address already redeemed, is dropped.GET /v1/meshows a kept code aspending_promo {code, credit_micros}. Redeemed again by the same address:409already_redeemed.
Reports and blocks (App Review guideline 1.2):
POST /v1/reports {about, id, reason?}:aboutisproject,task,noteorinvitation,idits id;reasonat most 1000 characters. Only something shared with the account: a project it is on (not its own), a task or a note in such a project that someone else wrote, or an invitation sent to its own address.201 {id};404for something it can't see,422for its own. The report keeps a copy of the text as it was and goes toVM_REPORTS_TOby mail; 20 an hour per account. Kept a year.POST /v1/blocks {user_id}or{invitation_id}blocks a person, by their account id (from a project's members) or by an invitation they sent to the account's address: their waiting invitations to the account are declined, and new ones answer403with codecannot_invite("This person can't be invited"). They are no longer listed among the account's invitations.200 {user_id, name, since}.GET /v1/blockslists them ({blocked: [...]}),DELETE /v1/blocks/{user_id}unblocks. Blocking doesn't take anyone off a project: the owner removes them, or a member leaves.- Administrators: see Reports under Admin, below.
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:
platform:"web","ios"or"mac". Any other value is ignored (the sign-up still succeeds).attribution: an object. Only these keys are kept, and only with string values:utm_source,utm_medium,utm_campaign,utm_content,utm_term,click_id_type,ref_host,landing_path,code,first_seen. Each value is trimmed, loses control characters (line breaks included) and is cut to 100 characters; an empty one is dropped. Other keys, values that aren't strings, and anattributionthat isn't an object are dropped without an error.
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.
| Status | code | When |
|---|---|---|
| 422 | current | current is empty |
| 422 | password | new doesn't meet the password rules (as at sign-up) |
| 403 | wrong_password | current is wrong |
| 409 | no_password | The account has no password (Sign in with Apple): use POST /v1/auth/password/set |
| 409 | changed | The password was changed by another request at the same moment: sign in again |
| 503 | busy | Too 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:
- every signed-in request (a session, an API token,
/v1/sync, the work API, the admin API) answers403with codesuspended; POST /v1/auth/loginanswers403 suspended, but only after a correct password (a wrong one is the usual401);POST /v1/auth/appleanswers403 suspended, before anything of the account changes (an email account it would join keeps its password and its sessions);POST /v1/auth/refreshanswers403 suspended; the refresh token is not spent;- confirming its address (the mailed link, or an admin's
/verify) still confirms it, but the partner welcome credit and a promo code the account kept are held, not paid: they are paid when the suspension is lifted (/unsuspend), if they are still due then.
{"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"}}
platformis"mac"or"iphone".attributionis optional and kept as at sign-up (the same keys, the same cleaning).202 {"ok": true}in every case: whether the address was new, pending or confirmed, and whether a mail went out, the answer never says. One entry per address (case-insensitive) and platform; joining again keeps the first entry and its attribution.- Double opt-in. A new entry is unconfirmed, and the address is mailed one link,
{VM_PUBLIC_API_BASE}/v1/waitlist/confirm?token=…(subject "Confirm your place on the VoiceMerge waitlist"). An address that was mailed a link in the last 24 hours isn't mailed another: that link confirms every entry of the address, for both apps. An address confirmed before is confirmed for the other app at once, without a mail. Unconfirmed entries are deleted 7 days after they were made. - When the server can't send mail, the answer is the same
202and the entry stays unconfirmed (the server logs it). 400with codeinvalid_emailorinvalid_platform;400 bad_requestfor a body that isn't JSON.- 10 an hour per client address (
429 rate_limited); one email address is taken at most three times a day, after which the answer is still202and nothing changes.
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:
{VM_PUBLIC_WEB_BASE}/download?waitlist=confirmedwhen it confirmed;{VM_PUBLIC_WEB_BASE}/download?waitlist=expiredfor a link that is unknown, used, or older than 7 days.
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.
| Status | code | When |
|---|---|---|
| 400 | bad_request | No signed_transaction |
| 422 | bad_transaction | The 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 |
| 503 | apple_lookup_failed | Apple couldn't be asked; Retry-After: 60. Keep the transaction and try again |
| 503 | apple_unavailable | App 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:
- after paying:
{VM_PUBLIC_WEB_BASE}/credits/thanks?pack=<product_id>&session_id=<Stripe's Checkout session id> - after cancelling:
{VM_PUBLIC_WEB_BASE}/credits/?canceled=1&pack=<product_id>
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.
| Status | code | When |
|---|---|---|
| 422 | no_card | The account never bought on the web with auto-refill on, so there is no card |
| 422 | product | Not a Stripe pack |
| 422 | threshold | The threshold is over half the pack; max_threshold_micros says the most it can be |
Webhooks
POST /v1/webhooks/stripe— Stripe's events, signed (Stripe-Signature, checked againstVM_STRIPE_WEBHOOK_SECRET).checkout.session.completedandcheckout.session.async_payment_succeededcredit a checkout once it is paid;payment_intent.succeededcredits an auto-refill charge;charge.refundedandcharge.dispute.createdtake the credit back (which can leave a debt);charge.dispute.closedwon by us gives it back. Each event is handled once and each payment credited once, only when the amount received covers the pack.204;400for a bad signature or payload;404while Stripe isn't configured. 600 a minute.POST /v1/webhooks/apple— App Store Server Notifications V2,{"signedPayload": "…"}.REFUNDandREVOKEtake the credit back,REFUND_REVERSEDgives it back; other types are acknowledged.204;400for a notification that doesn't verify;500makes Apple retry;404while App Store purchases aren't configured. 120 a minute.
Ledger kinds
kind | What |
|---|---|
purchase_apple, purchase_stripe | A pack bought (positive) |
refund | A purchase given back (negative) |
usage | A model call (negative) |
promo | A promo code redeemed |
referral | The welcome credit for a partner's code |
grant, grant_expiry | A partner's monthly testing credit, and what was left of it at the month's end |
adjustment | By 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:
- project names when they are shared (renaming a shared project, inviting someone to a project) and team names (always: a team exists to be shared);
- display names and usernames (sign-up,
POST /v1/me/settings,POST /v1/auth/password/set); - the title, notes, tags and people of a task, and the title and body of a note, in a project that is shared — through
/v1/syncand the work API alike.
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).
- An admin's session that ran out or ended gets
401, even from outsideVM_ADMIN_ALLOW_CIDRS, so the dashboard can refresh it. A suspended admin gets403 suspended. Anyone else gets401or404. - Every call that changes something, and every export of people's data, is written to the admin log (
GET /v1/admin/audit) with the action named in each section below. The actor is the admin's account id, or theX-Admin-Actortext for the shared token. - Lists that page take
limit(1 to 200, 50 by default; anything else is400) andcursor, thenext_cursorof the previous page, which isnullon the last page. A cursor that isn't one the API handed out is400 bad_request.totalcounts everything that matches the filters, whatever the page. - Times are RFC 3339 in UTC; money is in micro-dollars; ids are UUIDs.
- A body that isn't JSON is
400 bad_request; an unknown{id}is404 not_found.
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}}}
}
bucketshas one entry for every day or week of the range, empty ones included, oldest first.signups: accounts made (deleted ones too).verified: those of them whose address is their own (confirmed, or from Apple).by_platform: bysignup_platform;unknownis none recorded (the apps before this field, and older accounts).first_purchases: accounts whose first purchase ever fell in the bucket, by the store it was made in.gross_micros: what people paid in the bucket, refunds (and reversed refunds and disputes) counted;net_micros: the same after the stores' cut (VM_APPLE_NET_PCT,VM_STRIPE_NET_PCT), as the partner pool counts it.- App Store sandbox purchases (TestFlight, App Review) count nowhere here: not in
first_purchases,gross_micros,net_microsorbuyers. by_source,by_campaign,by_ref_host(from the sign-up attribution) andby_partner_code(the partner code the account signed up with) group the accounts made in the range:signups;buyers, how many of them bought at least once before the range ended;net_micros, what they paid in the range, net.value""is "none". Sorted bysignups, most first.by_signup_platformis the same rows (value,signups,buyers,net_micros, with the same definitions, sandbox excluded) grouped bysignup_platform. It always has exactly four rows, in this order:web,ios,mac,unknown(none recorded), each present even at zero. (The per-bucket andtotalsby_platformmaps of sign-up counts are unchanged.)totals.signups_that_bought: of the accounts made in the range, how many bought at least once (not in the sandbox) before the range ended: the sum ofbuyersoverby_signup_platform. Usesignups_that_bought ÷ signupsfor a conversion rate.first_purchasesis a different count: first purchases that fell in the range, by accounts of any age (one made last year that bought for the first time this week counts there), sofirst_purchases ÷ signupscan exceed 100%.waitlist: everyone on it now (total), and those who joined in the range (in_range), by platform, confirmed or not;waitlist.confirmedis the same counted over confirmed entries only.
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"}]
}
sessions.last_seen_atis the latest of the last refresh, the last API token use and the last model call. Access tokens live 15 minutes, soactive_refresh_tokensis the number of signed-in devices.ledgeris the newest 50 entries;next_beforepages on withGET /v1/admin/users/{id}/ledger.refundsarerefundrows and theadjustmentrows of App Store refunds reversed and Stripe disputes.sandbox(boolean) onpurchasesandrefunds:truefor an App Store sandbox transaction (TestFlight, App Review): credited, but nobody paid, and counted in no figure.projects_owned[].othersis how many other people are on the project, by any way in.api_tokenshas names and dates only;refandnotemay benull. Every list is[]when empty.
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.
partneris refused (422with codepartner_role): partner rights come from the partners row, made withPOST /v1/admin/partnersand paused withPOST /v1/admin/partners/status, which set the role themselves. Asking forcustomerfor an account that has a partners row leaves itpartner.- By email, only an account whose address is its own (confirmed, or Apple's) is found; with only unconfirmed accounts at the address:
409 unconfirmed. More than one:409 ambiguous(name one byuser_id). Nobody:404. - Making an admin of an account whose address isn't its own, by id as well:
409 unconfirmed, unlessallow_unconfirmed. - An admin taking admin from themselves:
409 self_demotion. Taking it from the last active admin (the only live, unsuspended one: a suspended admin doesn't count), whoever asks, the shared token too:409 last_admin. - Any other
role, or neither id nor email:400. Audited asset_role({"user_id", "role"}).
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.
GET /v1/admin/waitlist?platform=&confirmed=&cursor=&limit=— newest first;platformoptional (macoriphone, else400);confirmeddefaults toany.totalcounts what matches both filters.200 {"entries": [entry, …], "total": 431, "next_cursor": "…" | null}.GET /v1/admin/waitlist/export?platform=&confirmed=— the list (one platform, or all) as CSV, confirmed entries only unlessconfirmed=falseorconfirmed=any(Content-Disposition: attachment; filename="voicemerge-waitlist-<platform|all>.csv"). Columns:id,email,platform,created_at, then one column per attribution key (utm_source,utm_medium,utm_campaign,utm_content,utm_term,click_id_type,ref_host,landing_path,code,first_seen), thenconfirmed_at(empty when unconfirmed). Formula-like text gets a'in front. Audited aswaitlist_export({"platform", "confirmed": "true"|"false"|"any", "rows"}).POST /v1/admin/waitlist/delete {"ids": ["…"]}— 1 to 1000 entry ids (422with codeidsotherwise).200 {"deleted": 3}. Audited aswaitlist_delete({"asked", "deleted"}).POST /v1/admin/waitlist/delete-platform {"platform": "mac"}— empties a platform's list, once its release mail has gone.200 {"deleted": 310}; another platform is422with codeplatform. Audited aswaitlist_delete_platform({"platform", "deleted"}).
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.
GET /v1/admin/reports?status=open|handled&cursor=&limit=— newest first; withoutstatus, both (another value is400).200 {"reports": [report, …], "total": 7, "next_cursor": "…" | null}.POST /v1/admin/reports/{id}/resolve {"action": "none"|"remove_content"|"suspend", "note": "…"}—noteoptional, at most 1000 characters.200with the report as it now is. The report is claimed before anything is done (a suspension in the same transaction as the claim): of two admins resolving one report at once, only one acts and is audited; the other gets409 already_handledand nothing happens. If removing the content fails, the report is open again and the answer is503 unavailable.none: nothing else happens.remove_content: what was reported is taken away from everyone, through sync as well. A task or a note is deleted as its owner's device would delete it (its words go; every device, the members' too, gets the deletion); a project loses everyone but its owner (members, teams, pending invitations) and is then deleted the same way; an invitation is withdrawn. Something already gone counts as removed.suspend: the reported account is suspended (reason "Report <id>: <note>").409 already_handledfor a report handled before;409 nobody_reportedto suspend when the reported account no longer exists;409 selfto suspend oneself;409 last_adminto suspend the last active admin;422with codeactionornote.- Audited as
report_resolve({"report", "action", "about", "subject_id", "reported_id"}).
POST /v1/admin/reports/{id}/handled— the old route: marks a report handled without a resolution.204. Audited asreport_handled.
Promo codes
A code: {"code", "credit_micros", "max_uses", "current_uses", "expires_at": "…"|null, "note", "created_at", "disabled_at": "…"|null}.
GET /v1/admin/promo— the newest 500.200 {"promos": [code, …]}.POST /v1/admin/promo {"code"?, "credit_micros", "max_uses", "expires_at"?, "note"?}— makes one (nocode: one is made up,VM-…; codes are upper case, at most 64 characters).max_usesat most 10,000,credit_microsat mostVM_ADMIN_MAX_CREDIT_USD,noteat most 200 characters.201with{"code", "credit_micros", "max_uses", "current_uses", "expires_at"?, "note"?}.422with codeamount,max_uses,noteorcode;409 code_exists. Audited aspromo_create.POST /v1/admin/promo/{code}/disable— no body;{code}is matched upper-cased. The code can't be redeemed or checked any more (404toPOST /v1/promo/redeemandPOST /v1/codes/check), and one an account was waiting to redeem is dropped. Again changes nothing.200with the code.404for none. Audited aspromo_disable({"code"}).
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:
POST /v1/admin/pool/freeze {"month": "2026-10"}freezes only a month that is over (UTC): otherwise409 not_over. The freeze computes the month again from the ledger and the expenses as they are then, and freezes that, holding the month's lock throughout: an expense or a knob change made after the lastPOST /v1/admin/pool/computeis in what is frozen and paid, and one sent during the freeze waits for it and then answers409 frozen. A month never computed is computed by its freeze (there is nonot_computedany more).200with the month as frozen (asGET /v1/admin/poolgives it, withoutstatements). Freezing a frozen month changes nothing (200).POST /v1/admin/expenses,POST /v1/admin/expenses/deleteandPOST /v1/admin/pool/settingsin a frozen month:409 frozen.- The pool counts no App Store sandbox purchase (TestFlight, App Review).
POST /v1/admin/pool/{month}/paid {"partner_id": "…", "reference": "wire 2026-11-03"}records that a partner's statement for a frozen month was paid (outside the system).referenceis one line of 1 to 200 characters (422with codereference). Marking it again keeps the firstpaid_atand takes the new reference.200with the statement.409 not_frozenfor a month that isn't frozen;404when the month has no statement for that partner;400for a bad month orpartner_id. Audited aspool_paid({"month", "partner_id", "reference", "total_micros"}).- A statement (in
GET /v1/admin/pool,POST /v1/admin/pool/compute, the paid answer, and the partner's own list) now carries"paid_at": "…"|nulland"payment_reference": "…"(""until paid):
``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.)
GET /v1/partner/statements(the partner, signed in) lists frozen months only: a draft can still change, so the partner sees a month once it is frozen, with its payout once it is recorded.
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."