/api/v1/notes and /api/v1/sessions/:id/notes.
Parameters
Inline template structure
templateSections is a JSON array describing the sections. Each section has a
name and AI rules controlling whether it is auto-filled. Pass it as a string:
note.sections array mirrors your structure, each entry carrying
the generated content for that section, plus a combined field with the full
note rendered as text.
When no template is given
If you omittemplate and templateSections, the note is generated with the
default SOAP structure (reason for visit, subjective, objective, assessment,
plan, diagnoses).