v1

latestOpenAPI 3.0.32026-07-26229361630.0 KB
sessions

Process Template

After a session ends, generate another document from it for the given template. Every template processed — via Create Session templates or this API — creates a document, listed in the session's documents. The call is asynchronous: it returns 202 with a new document_id; fetch it with Get Session ?document_id=... or Get Document once its status is success.

post/voice/v1/sessions/{session_id}/process/template/{template_id}

Path parameters

session_idstring required
Example:ses_abc123def456

Session ID returned by Create Session

template_idstring required
Example:clinical_notes_template

Template ID to generate notes with (from List Templates)

Response

Note generation started

session_idstring
template_idstring
document_idstring nullable

ID of the document being generated. Poll Get Document until its status is success.

statusstring
messagestring

Example response

{
  "status": "in-progress",
  "message": "Template generation in progress"
}