Prerequisites
- A Telepatia API key (contact your account manager to obtain one)
- The base URL (see Overview)
Step 0: Pick (or build) a Smart Template
A Smart Template decides which sections Telepatia generates and how each one is shaped. Build it once with curated Telepatia Prompts, reuse it across consultations. List the Smart Templates already created for your account:id (e.g. mrc_a1b2c3d4e5f6g7h8) — you’ll pass it to set-consultation-context next.
Step 1: Set consultation context
Before the consultation, send the patient information to Telepatia. Include aconsultationInternalId — your own identifier linking the session back to your system. If omitted, Telepatia generates one. Attach the Smart Template from Step 0 via medicalRecordConfigurationId.
Legacy integrations can still pass
scribeSessionConfigurationId instead — see Session Templates. New integrations should use Smart Templates.Save the
consultationInternalId from the response. You will need it in the next steps — both to generate the login link and to retrieve the session results later.Step 2: Generate a login link
Generate a verification code to open the Telepatia scribe. Pass theconsultationInternalId so the session is linked to the consultation context you set in Step 1.
redirectUrl to open the Telepatia scribe.
Step 3: Conduct the session
Once the user is redirected, they will land in the Telepatia scribe interface. From there:- The scribe starts recording the consultation
- The clinician conducts the visit as usual
- When done, the clinician finishes the session in the scribe
Step 4: Retrieve the filled record
Step 4 has two parts: confirm the session is finished, then fetch the medical record documents (the filled output of your Smart Template).4a. Check the session status
4b. Fetch the medical record documents
Once the session reachescompleted or completedWithErrors, retrieve the filled record(s). One session can produce multiple documents (one per purpose — primary, rpa, emr, …). Filter with ?purpose=primary to get the clinician-facing one:
medicalRecordSummaryStructured and the available purpose values.