Skip to main content
The consultation context call sends patient identity and clinical information to Telepatia before a session starts. Telepatia uses this data to pre-populate the patient record in the scribe interface and link the completed session back to your system. Call this endpoint before generating a login link. If you skip it, the scribe session will start without patient context.

Key fields

Identify the patient either with the inline fields (name, idCountry, idType, idValue) or with patientId — never both. Referencing an existing patient by patientId reuses its stored identity, so you avoid re-sending it and never create a duplicate. Providing both, or an incomplete inline identity without patientId, returns a 400 error.

Accepted documents by country

The idType must be valid for the given idCountry. For example, passing CC with idCountry: BR returns a 400 error.

Templates: pass exactly one

medicalRecordConfiguration, medicalRecordConfigurationId, and scribeSessionConfigurationId are mutually exclusive — pass at most one. We recommend the inline medicalRecordConfiguration form: it’s reproducible, lets you version the template alongside your code, and the server dedups by content hash so you don’t accumulate duplicates.

Example request — Smart Template by id

Example request — reference an existing patient

Response:
Save the consultationInternalId — you’ll need it to generate the login link and retrieve the session results.