Skip to main content
POST
Process Template
After a session ends, generate another document from it for any template_id. Returns 202 with a new document_id.
Every template processed creates a document — whether passed in Create Session templates or via this API. All of them appear in List Session Documents, and each can be fetched with Get Session ?document_id=<id> or Get Document.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

session_id
string
required

Session ID returned by Create Session

Example:

"ses_abc123def456"

template_id
string
required

Template ID to generate notes with (from List Templates)

Example:

"clinical_notes_template"

Response

Note generation started

session_id
string
template_id
string
document_id
string | null

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

status
string
Example:

"in-progress"

message
string
Example:

"Template generation in progress"