Stream clinical conversations in your product.

Your backend identifies the patient and calls Doctronic. Doctronic runs the clinical conversation. Typed events tell your product what to display and which workflow state changed.

OpenAPI 3.1 Typed SSE events Server-side authentication TypeScript and Python SDKs

API workflow

text/event-stream
  1. POST /users/Create the user onceStore the returned ID with the patient in your system.
  2. POST /chats/Create a clinical conversationSend the stored user ID and relevant context.
  3. POST /chats/{chatId}/stream/Send a patient turnRead the typed Server-Sent Events stream.
  4. message.contentRender by message IDAppend each content chunk to the matching message.
  5. ai_consultation.completeReceive available document IDsRetrieve each identified document when it is ready.

Conditional workflow signals

guardianGuardian eventIf emitted, follow the safety behavior approved for your integration.
skill_code.ctaCare actionIf emitted, map it to a supported product action.

What you can build

One API covers users, chats, consultation documents, appointments, pharmacy, and insurance coverage.

From access to production

Build against staging, prove the integration end to end, then roll out to production traffic in stages.

  1. 01Request accessAsk Doctronic for a staging API token.
  2. 02Run the quickstartCreate a user, stream a patient turn, and retrieve a consultation document.
  3. 03LaunchTest in staging, complete evaluation and security review, and roll out in stages.

Use the docs in your workflow.

Browse endpoint details, download the OpenAPI schema, or load plain-text documentation into your coding tools.