OnInvoxAuraClinicalNoteFinished
Triggered when the full processing of a clinical note in Invox Aura is complete.
Payload
{
"eventName": "OnInvoxAuraClinicalNoteFinished",
"organizationId": "org-789",
"userId": "user-456",
"timestamp": "2026-03-31T19:06:58.667Z",
"consultationSessionId": "medical-consultation-u1234-1234567890-abc123",
"patientId": "PAT-12345",
"clinicalNoteId": "note-123",
"language": "ES",
"metadata": {
"id": "note-123",
"organizationId": "org-789",
"userId": "user-456",
"processingStatus": "COMPLETED",
"createdAt": 1738670000000,
"updatedAt": 1738670400000,
"summaryLanguage": "ES",
"summaryFormat": "SOAP",
"audioDuration": 330,
"patientId": "PAT-12345",
"consultationSessionId": "medical-consultation-u1234-1234567890-abc123",
"isFavorite": false,
"isFinished": true,
"finishedAt": 1738670400000
},
"summary": "Full clinical note text...",
"requestSignature": "<base64>"
}
Field description
| Field | Type | Required | Description |
|---|---|---|---|
eventName | string | Yes | Always "OnInvoxAuraClinicalNoteFinished" |
organizationId | string | Yes | Organization that owns the clinical note |
userId | string | Yes | User that owns the clinical note |
timestamp | string | Yes | ISO 8601 UTC — time of delivery |
consultationSessionId | string | No | Consultation session of the note, when it has one |
patientId | string | No | Patient of the note, when it has one |
clinicalNoteId | string | Yes | Clinical note ID |
language | string | Yes | Language of the summary |
metadata | object | Yes | Record of the clinical note; it can carry additional fields (see below) |
summary | string | Yes | Text of the clinical note summary |
requestSignature | string | No | HMAC-SHA256 in Base64. Present if the organization has credentials configured. |
metadata structure
metadata is the record of the clinical note. It can carry additional fields, so do not reject a payload because
it has a field that is not listed here.
interface ClinicalNoteRecord {
id: string
organizationId?: string
userId?: string
processingStatus: 'PENDING' | 'COMPLETED' | 'FAILED'
createdAt: number
updatedAt?: number
summary?: string
transcription?: ITranscriptionSegment[]
vtt?: string
errorMessage?: string
audioDuration?: number
deviceMetadata?: Record<string, unknown>
patientId?: string
isFavorite?: boolean
isFinished?: boolean
finishedAt?: number
metadata?: Record<string, unknown>
rating?: number
summaryLanguage?: string
summaryFormat?: string
consultationSessionId?: string
statsEmitted?: boolean
summaryFieldRatings?: { fieldId: string; fieldName: string; rating: number | null }[] // null = unrated, 1 = positive, 0 = negative
}
Signature string
The metadata object is serialized as complete JSON. The fields are signed in the following order:
organizationId|userId|timestamp|consultationSessionId|patientId|clinicalNoteId|language|{"id":"...","processingStatus":"COMPLETED",...}|summary|API_KEY
The optional fields consultationSessionId and patientId are left out of the payload when they have no value. If either is missing, sign it as "" in its position.
Table of Contents