Technical Documentation

Everything you need to build on H2H

Authentication, the Web API (SOAP & REST) reference, embedded EMR/EHR access, Digital Rx Widgets, and AI endpoints with sandbox credentials and code samples to get your first prescription flowing.

Browse the docs

Documentation by area

Pick where you're integrating. Every section includes reference material, request/response schemas, and copy-paste samples.

Start here

Getting Started

Set up your account, request sandbox credentials, and send your first test prescription end to end.

Read docs →
Security

Authentication

User identity, care-location context, session handling, and how embedded logins pass through securely.

Read docs →
Reference

Web API (SOAP & REST)

Full SOAP and REST service reference for e-prescribing, benefit and formulary checks, EPCS, and status callbacks.

Read docs →
Embedded

EMR / EHR / MAR Access

Open H2H DigitalRx from a "prescribe" link inside your existing system with no separate login.

Read docs →
Front-end

Digital Rx Widgets

Drop-in embeddable widgets and iframe options to add prescribing UI to your product quickly.

Read docs →
AI endpoints

AI & Agent APIs

Transcribe-to-Prescribe, PrescribeAgent, and MCP tool access for agentic integrations.

Read docs →
Events

Webhooks & Status Events

Subscribe to prescription lifecycle events — sent, filled, cancelled, and pharmacy responses.

Read docs →
Testing

Sandbox & Testing

Test pharmacies, mock Surescripts responses, and rate limits for safe end-to-end validation.

Read docs →

Quick example

// Transcribe-to-Prescribe — submit a visit transcript
POST https://api.h2hdigitalrx.com/v1/ai/transcribe-to-prescribe
Authorization: Bearer <token>
{
"patient_id": "pt_10482",
"transcript": "Start lisinopril 10mg once daily…"
}
// 200 OK — structured prescription returned
{ "rx": { "drug": "lisinopril 10mg", "sig": "1 tab PO daily" } }

Base URL and credentials are issued per environment. See Authentication to get started.

Need a hand from an engineer?

Our integration team reviews architecture, shares sample projects, and helps you go live faster.