Twofold v2.7

Search pages, sections and endpoints.

    Open the console

    Field values

    Every closed set of values the API accepts or returns.

    Environment

    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

    ValueMeaning
    recordingThe session is being recorded.
    processingRecording finished; transcription and generation are running — also what a note being regenerated reads as, with empty sections until the new version is written.
    generatedThe note is generated and readable.
    failedProcessing 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

    ValueMeaning
    availabletext carries the transcript.
    not_readyThe recording has not finished transcribing yet; text is null. Poll, or wait for note.generated_successfully.
    no_audioThe note was made without audio — the provider typed or pasted their text. There is no transcript and never will be. Stop polling.
    deletedThe 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

    ValueMeaning
    READ_ONLYThe provider can read their existing notes but cannot record. Consumes no seat. Every link starts here.
    FULL_ACCESSFull 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.

    ValueMeaning
    partner_level_seat_subscriptionsA seat subscription: access is set with access-level, seats are bought with set-seats.
    provider_seat_usageUsage 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.

    ValueMeaning
    monthlyBilled one period at a time, anchored to the day the seat started, for as long as the seat is open.
    annualTwelve months billed up front; renews on the anniversary while the seat is still open.
    ValueMeaning
    activeThe link is live.
    revokedThe 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.

    ValueWho ended the link
    userThe provider, from their Twofold settings.
    partnerYou, through POST /oauth/revoke.
    twofoldTwofold 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.

    ValueWhy recording stopped
    userThe provider chose to stop — paused, switched microphone, or moved to another recording.
    platformThe microphone was taken away — the device interrupted it, or the input stream ended.

    Formats

    KindFormat
    TimestampsISO 8601 UTC with milliseconds — 2026-07-19T12:34:56.789Z
    Dates of birthDate-only ISO 8601 — 1990-01-15
    Phone numbersE.164 — +15551234567
    Note and section textPlain text. Never markdown or HTML, and never assume a maximum length.
    Twofold idsOpaque 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.
    CredentialsEnvironment-tagged opaque strings — twofold_key_prod_…, twofold_access_prod_…, twofold_refresh_prod_… (_staging_ on staging).