Developer Platform

Build healthcare automations
in hours, not months.

Two APIs. Any healthcare system. Any workflow. The Sarva developer platform gives you everything you need to integrate PM software and deploy intelligent automations without building from scratch.

Connector Library

EHR, PM, billing & communication systems

One authenticated API to read and write data across major EHR, practice management, eligibility, billing, and patient communication platforms in healthcare. Compatibility for each named system is confirmed during evaluation.

What you get

Single authentication
Authenticate once — no per-system OAuth flows, credential rotation, or token management. Sarva handles every system's auth on your behalf.
Unified data model
All connected systems return data in a consistent FHIR-compatible schema. Same field names, same data types, regardless of source system.
Real-time webhooks
Subscribe to events from any connected system — claim submissions, eligibility results, appointment changes — delivered to your endpoint instantly.
Sandbox environments
Every connector has a full sandbox environment with test data. Build and test integrations without touching a live system.
Automatic expansion
New connectors are added continuously. When a new PM system is supported, your integration gains access automatically.
javascript — connector.ts
import Sarva from '@sarva/sdk';

const client = new Sarva({ apiKey: process.env.SARVA_API_KEY });

// Connect to any PM or EHR system in one call
const connection = await client.connectors.connect({
  connector: 'athenahealth',
  credentials: {
    clientId: 'your_client_id',
    clientSecret: 'your_client_secret',
    practiceId: '123456',
  },
});

// Read normalized data — same schema regardless of source
const claims = await client.claims.list({
  connectionId: connection.id,
  status: 'denied',
  since: '2026-01-01',
});

// Subscribe to real-time events
await client.webhooks.create({
  url: 'https://your-app.com/webhooks/sarva',
  events: ['claim.denied', 'eligibility.completed'],
});
EHR / EMR12 available
AT
athenahealthathenahealth
EC
eClinicalWorkseclinicalworks
MO
ModMedmodmed
DR
DrChronodrchrono
OP
OpenEMRopenemr
+7 more —

Automation Designer

Deploy in hours

Describe what you want to automate in plain English. The Designer interprets your prompt, maps it to your connected systems, and generates a structured multi-step workflow — ready to review, customize, and deploy.

How it works

1
Write a prompt
Describe your automation in plain English — trigger, conditions, actions, escalations. No special syntax. Just explain what you want to happen.
2
Review the generated workflow
The Designer returns a structured step-by-step workflow with explicit connector assignments, branching logic, and error handling. Inspect and edit before deploying.
3
Deploy to production
One API call to deploy to sandbox or production. Monitor runs, view logs, and update the automation via API or the web interface.

Example automations

javascript — designer.ts
// Describe your automation in plain English
const automation = await client.designer.create({
  prompt: `When a claim is denied in eClinicalWorks,
  re-verify eligibility with Availity.
  If still invalid, notify billing via Twilio
  and create a follow-up task.`,
  connectors: ['eclinicalworks', 'availity', 'twilio'],
});

// Review the generated steps before deploying
console.log(automation.steps);
// [
//   { type: 'trigger',   connector: 'eclinicalworks', event: 'claim.denied' },
//   { type: 'action',    connector: 'availity',       action: 'eligibility.check' },
//   { type: 'condition', expression: 'eligibility.active === false' },
//   { type: 'action',    connector: 'twilio',          action: 'sms.send' },
//   { type: 'action',    connector: 'internal',        action: 'task.create' },
// ]

// Deploy when ready — production in minutes
await automation.deploy({ environment: 'production' });
console.log('Automation live:', automation.id);
Generated Workflow
4 steps
"When a new appointment is scheduled, automatically verify insurance eligibility with Availity and fl..."
1
appointment.createdTrigger
2
eligibility.checkAction
3
coverage gap?Branch
4
task.create (front-desk)Action
Ready to build?

Start building on Sarva today

Get API access, sandbox credentials, and documentation. Our team helps you go live fast.