Field values
Every closed set of values the API accepts or returns.
Every closed set of values in the API, in one place. Values are lowercase unless shown otherwise, and are compared exactly.
New values can be added to any of these sets within /v2 — that is not a breaking change. Handle an unrecognized value by falling through to a default rather than throwing.
Pronouns
pronouns on a patient upsert accepts exactly these:
| Value |
|---|
She/Her |
He/Him |
They/Them |
These are Twofold's system pronoun options, spelled as they appear in the Twofold UI. Providers can create their own pronoun values inside the app; those cannot be set over the API, but a patient carrying one does return it — so read pronouns as free text and write it only as one of the three values above.
Note status
| Value | Meaning |
|---|---|
recording | The session is being recorded. |
processing | Recording finished; transcription and generation are running — also what a note being regenerated reads as, with empty sections until the new version is written. |
generated | The note is generated and readable. |
failed | Processing failed terminally — no note text will arrive. |
A note in any status can be fetched. Sections are populated only while the status is generated.
Transcript status
| Value | Meaning |
|---|---|
available | text carries the transcript. |
not_ready | The recording has not finished transcribing yet; text is null. Poll, or wait for note.generated_successfully. |
no_audio | The note was made without audio — the provider typed or pasted their text. There is no transcript and never will be. Stop polling. |
deleted | The provider deleted the transcript; text is null, permanently. |
All four are 200 responses. not_ready is the only one worth retrying — no_audio and deleted are terminal. A transcript can be deleted while the note it belongs to is kept.
Access level
| Value | Meaning |
|---|---|
READ_ONLY | The provider can read their existing notes but cannot record. Consumes no seat. Every link starts here. |
FULL_ACCESS | Full Twofold access, paid for by your organization. Consumes one seat. |
Billing mode
Returned by GET /v2/partner/seats as billingMode. Twofold sets it for your organization; it decides which seat endpoints apply to you — see Billing modes.
| Value | Meaning |
|---|---|
partner_level_seat_subscriptions | A seat subscription: access is set with access-level, seats are bought with set-seats. |
provider_seat_usage | Usage billing: seats are started and ended per provider with seat/start and seat/end, billed monthly. |
Seat plan
plan on seat/start and on the seat object of a linked user. Usage billing only.
| Value | Meaning |
|---|---|
monthly | Billed one period at a time, anchored to the day the seat started, for as long as the seat is open. |
annual | Twelve months billed up front; renews on the anniversary while the seat is still open. |
Link status
| Value | Meaning |
|---|---|
active | The link is live. |
revoked | The link has ended; no API access to that provider's data. |
GET /v2/partner/users lists active links only, so today every row it returns says active.
Revocation reason
Carried by the link.revoked webhook as data.revocationReason.
| Value | Who ended the link |
|---|---|
user | The provider, from their Twofold settings. |
partner | You, through POST /oauth/revoke. |
twofold | Twofold support. |
Webhook event types
| Value |
|---|
note.started |
note.recording_paused |
note.recording_resumed |
note.recording_ended |
note.generated_successfully |
note.edited |
note.failed |
note.deleted |
link.revoked |
What each one means, and when it fires, is on Webhooks.
Pause reason
Carried by the note.recording_paused webhook as data.pauseReason.
| Value | Why recording stopped |
|---|---|
user | The provider chose to stop — paused, switched microphone, or moved to another recording. |
platform | The microphone was taken away — the device interrupted it, or the input stream ended. |
Formats
| Kind | Format |
|---|---|
| Timestamps | ISO 8601 UTC with milliseconds — 2026-07-19T12:34:56.789Z |
| Dates of birth | Date-only ISO 8601 — 1990-01-15 |
| Phone numbers | E.164 — +15551234567 |
| Note and section text | Plain text. Never markdown or HTML, and never assume a maximum length. |
| Twofold ids | Opaque strings. Some carry a type prefix (prtn_…, user_…, p_…, evt_…) and some, including noteId, do not. Store as text; never parse or assume a length. |
| Credentials | Environment-tagged opaque strings — twofold_key_prod_…, twofold_access_prod_…, twofold_refresh_prod_… (_staging_ on staging). |