Add clinical conversations to your product.
Use the API to create patients, stream clinical conversations, handle safety and workflow events, book care, and retrieve consultation summaries and SOAP notes.
API workflow
SSE connectedPOST /chats/Open a clinical conversationAttach patient and product context.POST /chats/{chatId}/stream/Start a streamed consultationOpen the typed SSE event stream.ai_consultation.completeReceive stable artifact IDsRetrieve clinical artifacts when they are ready.
Conditional workflow signals
guardianSafety signalIf emitted, follow the safety behavior approved for your integration.skill_code.ctaCare actionIf emitted, map it to a supported product action.data: {
"type": "ai_consultation.complete",
"artifacts": {
"longSummary": "art_...",
"shortSummary": "art_...",
"soapNote": "art_..."
}
}What the API supports.
Use the public API for patient, conversation, appointment, pharmacy, and consultation document operations. Doctronic configures webhooks and implementation-specific routing.
Run a clinical conversation
Create a patient and chat, stream assistant responses, and restore the transcript.
Read the guideConnect patients to care
Handle next-step events, appointments, pharmacies, and consultation documents.
Read the guideHandle safety events
Keep guardian, conversation, error, and completion events separate from assistant text.
Read the guideGet from access to production.
Doctronic provisions credentials. The docs cover implementation, testing, evaluation, operations, and a controlled production rollout.
Use the same contract in code and documentation.
The API reference is generated from the production OpenAPI contract. Markdown pages and consolidated text indexes are available for coding tools.