Developers

Overview

Use the Doctronic API to run clinical conversations, handle events, book care, and retrieve consultation documents.

The Doctronic API lets your backend create patients, run streamed clinical conversations, handle safety and workflow events, book appointments, and retrieve consultation summaries and SOAP notes.

Key terms

TermMeaning
UserThe Doctronic record associated with a patient in your system
ChatOne clinical conversation for that user
SSE eventA named update sent while a chat response is streaming
Guardian eventA safety signal that follows the handling agreed for your integration
ArtifactThe API resource containing a consultation summary or SOAP note

How an integration works

The API is called from your backend. The organization token must not be sent to a browser or mobile application.

  1. Create a Doctronic user and store its ID with the patient in your system.
  2. Create a chat and send patient turns to its streaming endpoint.
  3. Render assistant text from message.* events and handle control events in separate code paths.
  4. When ai_consultation.complete arrives, retrieve the documents your workflow needs.
  5. If applicable, continue into an appointment or pharmacy workflow.

What the public API supports

CapabilityAPI surface
Patient recordsCreate and retrieve users scoped to your organization
Clinical conversationsCreate chats, stream turns, list chats, and restore transcripts
Safety and workflow eventsHandle guardian, conversation, call-to-action, error, and completion events
Appointments and pharmaciesFind availability, manage scheduled or ASAP appointments, and save a pharmacy
Consultation documentsRetrieve long summaries, short summaries, and SOAP notes by artifact ID

Some capabilities, including outbound webhooks and implementation-specific routing, are configured by Doctronic. Other workflows require joint design. The integration patterns page labels each category.

Start building

Access is coordinated by Doctronic

Credentials are provisioned manually. Contact your Doctronic business or implementation contact for staging or production access. If you do not have a contact, email business@doctronic.ai. Do not include credentials or patient information in email.

On this page