Engine API
Every engine endpoint, generated from the engine's OpenAPI spec: parameters, request and response schemas, and a curl example for each.
On this page
Authentication
Every route needs a bearer token unless it says “public route”. Get a token from POST /api/auth/token and send it as Authorization: Bearer $TOKEN. The examples use $ENGINE_URL for your engine's address. See Authentication for API clients and token lifetimes.
Generated from the engine's OpenAPI spec (MedHook Engine API 1.0.0). The engine serves the same spec at /api/openapi.json.
496 operations
Authentication
Token issuance. Tokens are valid for 2 hours.
- post
/api/auth/tokenObtain a JWT access token - get
/api/auth/smart/launchStart a SMART on FHIR launch - get
/api/auth/smart/callbackSMART on FHIR callback - get
/api/api-clientsList API clients - post
/api/api-clientsCreate an API client - patch
/api/api-clients/{id}Rotate an API client's key or change its expiry - delete
/api/api-clients/{id}Revoke an API client
System
Health and Prometheus metrics endpoints.
- get
/api/healthHealth check - get
/api/liveLiveness probe - get
/api/readyReadiness probe - get
/api/versionBuild version and feature surface - get
/api/metricsPrometheus metrics - post
/api/batchRun several API calls in one request - get
/api/graphqlGraphQL over GET - post
/api/graphqlGraphQL query - get
/api/openapi.jsonThis API description - get
/api/diagnosticsRun the self-checks - post
/api/diagnostics/bundleDownload the support bundle - get
/api/me/dashboard-layoutMy dashboard layout - put
/api/me/dashboard-layoutSave my dashboard layout - delete
/api/me/dashboard-layoutReset my dashboard layout - put
/api/dashboard/default-layoutSet the workspace default dashboard layout - delete
/api/dashboard/default-layoutClear the workspace default dashboard layout - get
/api/dashboard/briefAgent summary - get
/api/dashboard/share-linksThe read-only dashboard link - post
/api/dashboard/share-linksMake a read-only dashboard link - delete
/api/dashboard/share-links/{id}Revoke the read-only dashboard link - get
/api/share/dashboard/{token}A shared dashboard (public) - get
/api/dashboard/servicesEngine services - get
/api/attentionWhat needs attention - get
/api/dashboard/summaryDashboard summary - get
/api/eventsList event log entries - get
/api/events/exportExport the event log as OCEL 2.0 - post
/api/welcome/demo-workspaceSet up the Demo Health sandbox - get
/api/dashboard/changesRecent changes - get
/api/dashboard/mapStatus map
Workflows
Create, read, update, delete, and execute DAG-based workflows.
- get
/api/workflowsList workflows - post
/api/workflowsCreate workflow - get
/api/workflows/templatesList workflow templates - get
/api/workflows/{id}Get workflow - put
/api/workflows/{id}Update workflow - patch
/api/workflows/{id}Turn a workflow on or off, or change its settings - delete
/api/workflows/{id}Delete workflow - post
/api/workflows/{id}/executeExecute workflow - get
/api/workflows/{id}/publishGet workflow publish history - post
/api/workflows/{id}/publishPublish workflow to marketplace - post
/api/workflows/{id}/rollbackRestore a prior version as the draft - get
/api/workflows/{id}/sampleRead the saved sample message - put
/api/workflows/{id}/sampleSave the sample message - delete
/api/workflows/{id}/sampleDelete the sample message - post
/api/workflows/{id}/dry-runDry run a workflow on a message - post
/api/workflows/{id}/sample/fetchFetch a sample from the workflow's source - post
/api/workflows/{id}/deidentify-previewPreview a De-identify step on the saved sample - post
/api/workflows/{id}/webhook-secretGenerate the webhook trigger's signing secret - get
/api/workflows/{id}/export/mirthExport as a Mirth Connect channel - post
/api/workflows/export/mirthExport several workflows as a Mirth server configuration or a .zip - get
/api/workflows/{id}/exportExport a workflow as MedHook JSON - post
/api/workflows/importImport a MedHook JSON bundle - post
/api/workflows/{id}/promotePromote a workflow to another workspace, with a diff - get
/api/workflows/{id}/deploymentsDeployment history per environment - post
/api/workflows/{id}/deploymentsRoll back to the previous deployed version - get
/api/workflows/{id}/sendersA workflow's sender settings - put
/api/workflows/{id}/sendersReplace a workflow's sender settings - get
/api/workflows/template-updatesLinked template status and update preview - post
/api/workflows/template-updatesUpdate all linked workflows - get
/api/workflows/{id}/releasesA workflow's releases - post
/api/workflows/{id}/releasesRelease the deployed version - get
/api/workflows/callableWorkflows a Call workflow step can call - get
/api/componentsComponents - post
/api/componentsSave steps as a component - get
/api/components/{id}A component - delete
/api/components/{id}Delete a component - post
/api/components/{id}/releasesRelease a component - get
/api/workflows/release-updatesA release's impact - post
/api/workflows/release-updatesRun tests, or update selected/all consumers to a release - get
/api/templatesList templates made of components - post
/api/templatesSave a workflow as a template - get
/api/templates/{id}A template made of components - delete
/api/templates/{id}Delete a template - post
/api/templates/{id}/releasesPublish a template release - post
/api/templates/{id}/renderFill in a template (New from template) - post
/api/templates/{id}/update-instancesUpdate the workflows made from a template - get
/api/workflows/{id}/test-stepsList the sample library - post
/api/workflows/{id}/test-stepsRun steps with a sample - post
/api/workflows/{id}/replay-batchReplay an HL7 export or batch file - get
/api/workflows/{id}/deployDeploy state - post
/api/workflows/{id}/deployDeploy (now, as a canary or later), approve, roll back or dry-run recent messages - get
/api/workflows/{id}/versionsList workflow versions - get
/api/workflows/{id}/versions/{version}Get one workflow version - post
/api/workflows/{id}/versions/{version}/rollbackRestore a workflow version - post
/api/workflows/{id}/replayRun a workflow with a sample message - get
/api/workflows/{id}/message-encryptionStored message encryption for a workflow - put
/api/workflows/{id}/message-encryptionTurn stored message encryption on or off for a workflow - get
/api/workflows/{id}/retentionExecution retention for a workflow - put
/api/workflows/{id}/retentionSet a workflow's execution retention - get
/api/workflows/{id}/poll-cursorA polling trigger's cursor state - delete
/api/workflows/{id}/poll-cursorPoll from the beginning - get
/api/workflows/{id}/pollsA polling workflow's recent polls - get
/api/workflows/{id}/test-casesList saved test cases - post
/api/workflows/{id}/test-casesSave a test case - get
/api/workflows/{id}/test-cases/{caseId}Get a test case - put
/api/workflows/{id}/test-cases/{caseId}Change a test case - delete
/api/workflows/{id}/test-cases/{caseId}Delete a test case - post
/api/workflows/{id}/test-cases/runRun the saved test cases - get
/api/workflows/{id}/field-valuesCount the values of one HL7 field - get
/api/workflows/{id}/last-runPer-step results of the latest run - get
/api/workflows/{id}/slow-stepsStep latency percentiles - get
/api/workflows/slow-steps-summarySlowest step of each workflow - post
/api/workflows/import-marketplaceImport a community template - post
/api/transforms/previewPreview a transform pipeline - post
/api/users/me/onboarding/practiceMake or find the checklist's practice workflow - get
/api/users/me/onboardingFirst-run checklist - put
/api/users/me/onboardingHide, reopen or mark the first-run checklist - post
/api/specs/importRead an API description (New workflow) - post
/api/captureMint a capture URL (New workflow) - get
/api/capture/{id}/streamWait for the captured request (SSE) - post
/api/capture-intake/{id}Send the request to capture - get
/api/workflows/{id}/overviewWorkflow overview - get
/api/workflows/{id}/runsWorkflow runs - get
/api/workflows/{id}/runs/{runId}Workflow run detail - get
/api/workflows/{id}/step-errorsA step's errors in the last 24 hours - get
/api/workflows/{id}/step-recent-inputThe last real input at a step - get
/api/workflows/{id}/recent-runsA workflow's newest runs, for the builder's Input picker - get
/api/workflows/{id}/node-statsPer-step traffic over the last 24 hours - get
/api/workflows/{id}/environmentThe workflow's environment - put
/api/workflows/{id}/environmentSet the workflow's environment - get
/api/workflows/{id}/listenerA draft's MLLP listener - post
/api/workflows/{id}/listenerOpen an MLLP listener for a draft - delete
/api/workflows/{id}/listenerClose a draft's MLLP listener
Executions
Inspect, stream, replay, and cancel workflow executions.
- get
/api/executionsList executions - get
/api/executions/{id}Get execution - post
/api/executions/{id}/replayReplay execution - post
/api/executions/{id}/cancelCancel execution - get
/api/executions/{id}/logsGet execution logs - get
/api/executions/{id}/streamStream execution events (SSE) - get
/api/batch-runsList batch reads - post
/api/batch-runsStart a batch read - get
/api/batch-runs/{id}Get a batch read - post
/api/batch-runs/{id}/{action}Pause, resume or cancel a batch read - get
/api/execution-archiveList the execution archive - get
/api/execution-archive/{id}Read one archived execution
Adapters
Adapter type catalog (read-only).
Adapter Profiles
Saved, encrypted adapter credential sets.
- get
/api/adapter-profilesList adapter profiles - post
/api/adapter-profilesCreate adapter profile - get
/api/adapter-profiles/{id}Get adapter profile - put
/api/adapter-profiles/{id}Update adapter profile - delete
/api/adapter-profiles/{id}Delete adapter profile - post
/api/adapter-profiles/{id}/testTest adapter connection - post
/api/adapter-profiles/{id}/signing-secretGenerate or rotate the request signing secret - get
/api/adapter-profiles/{id}/fieldsRead a profile's fields - patch
/api/adapter-profiles/{id}/fieldsChange a profile's fields - get
/api/adapter-profiles/overviewAdapter profile cards - post
/api/adapter-profiles/test-draftTest an unsaved connection - get
/api/adapter-profiles/{id}/healthA profile's health - get
/api/adapter-profiles/{id}/linksWhat a profile is linked to - get
/api/adapter-profiles/{id}/limitsA profile's limits, live - get
/api/adapter-profiles/{id}/callsA profile's call history - get
/api/adapter-profiles/{id}/ehr-setupEHR setup state - put
/api/adapter-profiles/{id}/ehr-setupSave scopes or the client ID - post
/api/adapter-profiles/{id}/capabilitiesCheck what the server supports - post
/api/adapter-profiles/{id}/sandbox-testTest with a sandbox patient - post
/api/signing-key/rotateRotate the engine signing key - get
/.well-known/jwks.jsonEngine public signing keys (JWKS) - get
/api/adapter-profiles/{id}/environments/{env}One environment's fields - post
/api/adapter-profiles/{id}/environments/{env}Add an environment - patch
/api/adapter-profiles/{id}/environments/{env}Edit one environment - post
/api/adapter-profiles/{id}/environments/{env}/testTest one environment
AI
Claude-powered field mapping and condition suggestions.
- get
/api/ai/mapping-suggestCheck AI mapping availability - post
/api/ai/mapping-suggestSuggest field mappings - get
/api/ai/condition-suggestCondition suggestion availability - post
/api/ai/condition-suggestSuggest condition expression - post
/api/ai/chat/attachmentsAttach an API document to the assistant chat - get
/api/ai/chatAssistant status - post
/api/ai/chatAssistant turn (streaming) - get
/api/ai/mapping-feedbackRead mapping feedback - post
/api/ai/mapping-feedbackRecord accept or reject for a mapping suggestion - get
/api/analytics/ai-usageAI usage - get
/api/ai/watchesThe caller's Agent watches, by id - post
/api/ai/watchesWatch a tunnel's one-time PSK link after Not now - get
/api/ai/conversationsList your Agent conversations - put
/api/ai/conversations/{id}Keep an Agent conversation - delete
/api/ai/conversations/{id}Delete an Agent conversation - get
/api/ai/proposals/{id}An Agent approval card's status - post
/api/ai/proposals/{id}Not now on an Agent approval card - get
/api/ai/chat/mentionsThings to @mention in the Agent composer - get
/api/ai/activityThe Agent's calls for you - get
/api/ai/capabilitiesWhat the Agent can do - put
/api/ai/capabilities/{action}Choose whether the Agent does an action alone - get
/api/ai/postmortem/shareWhere the Agent's postmortem would be posted - post
/api/ai/postmortem/sharePost the Agent's postmortem to the Slack channel - post
/api/ai/access-requestsAsk the engine's admins to turn on AI features
Code Tables
Lookup tables for field mappings. Workspace-scoped; names are unique across all workspaces.
- get
/api/code-tables/{id}/versionsList a code table's versions - get
/api/code-tables/{id}/versions/{version}What a code table version changed - post
/api/code-tables/{id}/versions/{version}/restoreRestore a code table version - get
/api/code-tablesList code tables - post
/api/code-tablesCreate a code table - get
/api/code-tables/{id}Get a code table - put
/api/code-tables/{id}Update a code table - delete
/api/code-tables/{id}Delete a code table - get
/api/message-definitionsMessage definitions - post
/api/message-definitionsCreate a message definition - get
/api/message-definitions/{id}A message definition - put
/api/message-definitions/{id}Replace a message definition - delete
/api/message-definitions/{id}Delete a message definition - get
/api/code-tables/usageHow many other workflows use a code table
Topics
Typed publish/subscribe between workflows: a Publish step writes an event, every workflow with a topic trigger on it gets it (durable, at least once, deduplicated by event id). Workspace-scoped.
VPN Tunnels
Site-to-site IPsec tunnels (GKE / GCP Classic VPN). Workspace-scoped.
- get
/api/vpn-tunnelsList VPN tunnels - post
/api/vpn-tunnelsCreate VPN tunnel - get
/api/vpn-tunnels/{id}Get VPN tunnel, peer config or vendor config file - patch
/api/vpn-tunnels/{id}Update VPN tunnel - delete
/api/vpn-tunnels/{id}Delete VPN tunnel - post
/api/vpn-tunnels/{id}/backupAdd a backup tunnel (failover pair) - post
/api/vpn-tunnels/{id}/promoteMake a paired tunnel carry traffic - post
/api/vpn-tunnels/{id}/watchResume the tunnel watcher - post
/api/vpn-tunnels/{id}/testTest connectivity through a tunnel - get
/api/fortigate/connections/{id}/provisionList tunnel requests on a FortiGate - post
/api/fortigate/connections/{id}/provisionAsk to create a tunnel on a FortiGate - post
/api/fortigate/connections/{id}/provision/previewPreview a FortiGate tunnel request - get
/api/fortigate/provision/{id}Get a FortiGate tunnel request - patch
/api/fortigate/provision/{id}Change a FortiGate tunnel request - delete
/api/fortigate/provision/{id}Cancel a FortiGate tunnel request - post
/api/fortigate/provision/{id}/decisionApprove or reject a FortiGate tunnel request - post
/api/fortigate/provision/{id}/applyApply an approved FortiGate tunnel request - get
/api/fortigate/connectionsList FortiGate connections - post
/api/fortigate/connectionsAdd a FortiGate connection - post
/api/fortigate/connections/testTest a FortiGate connection - get
/api/fortigate/connections/{id}Get a FortiGate connection - patch
/api/fortigate/connections/{id}Change a FortiGate connection - delete
/api/fortigate/connections/{id}Delete a FortiGate connection - get
/api/fortigate/connections/{id}/tunnelsList the FortiGate's IPsec tunnels - post
/api/fortigate/connections/{id}/tunnelsTrack FortiGate tunnels - get
/api/fortigate/tunnelsList tracked FortiGate tunnels - patch
/api/fortigate/tunnels/{id}Rename a tracked tunnel or set its NATed subnets - delete
/api/fortigate/tunnels/{id}Stop tracking a FortiGate tunnel - post
/api/fortigate/tunnels/{id}/testTest reachability through a FortiGate tunnel - post
/api/fortigate/tunnels/{id}/diagnoseDiagnose a FortiGate tunnel - post
/api/fortigate/tunnels/{id}/bring-upBring a FortiGate tunnel up - get
/api/ipsecIPsec sidecar configuration - get
/api/ipsec/statusIPsec sidecar status - get
/api/vpn-tunnels/{id}/packetHandoff packet - post
/api/vpn-tunnels/{id}/test-mllpSend a test HL7 message through a tunnel - post
/api/vpn-tunnels/{id}/subnet-checkCheck a tunnel's subnets before changing them - get
/api/vpn-tunnels/externalVPN tunnels created outside MedHook - get
/api/vpn-tunnels/quotaVPN quota preflight - get
/api/vpn-tunnels/{id}/used-byWorkflows using a tunnel - get
/api/vpn-tunnels/{id}/eventsTunnel audit trail - get
/api/vpn-tunnels/{id}/trafficTunnel traffic - post
/api/vpn-tunnels/{id}/diagnoseDiagnose a tunnel - get
/api/vpn-tunnels/{id}/ike-logRead a tunnel's IKE log excerpt - get
/api/vpn-tunnels/{id}/shareRead the tunnel's shared link - post
/api/vpn-tunnels/{id}/shareMake a new shared link - post
/api/vpn-tunnels/{id}/share/copyCopy the shared link - get
/api/connect/{token}Open the engineer page - get
/api/connect/{token}/configDownload a firewall config - post
/api/connect/{token}/revealReveal the pre-shared key once - post
/api/connect/{token}/test-mllpSend a test message through the tunnel - get
/api/connect/{token}/logoThe brand's logo - get
/api/connect/{token}/statusRefresh the live status strip - get
/api/vpn-tunnels/{id}/share/previewPreview the engineer page - get
/api/vpn-tunnels/{id}/settingsRead the tunnel's settings - put
/api/vpn-tunnels/{id}/settingsChange the tunnel's settings - post
/api/vpn-tunnels/{id}/failover-testRun a failover test - post
/api/vpn-tunnels/{id}/psk-linkCreate a one-time key link - post
/api/vpn-tunnels/{id}/psk-rollbackRoll back to the previous pre-shared key for 24 h - post
/api/vpn-tunnels/{id}/psk-rotationRotate the pre-shared key (staged) - post
/api/vpn-tunnels/{id}/psk-rotation/cancelCancel a staged PSK rotation - post
/api/vpn-tunnels/{id}/psk-rotation/applyApply a staged PSK now - get
/api/vpn-tunnels/{id}/labRead the tunnel's lab link - put
/api/vpn-tunnels/{id}/labSet the tunnel's lab link - delete
/api/vpn-tunnels/{id}/labClear the tunnel's lab link - get
/api/vpn-tunnels/{id}/lab/{op}Read from the tunnel's lab - post
/api/vpn-tunnels/{id}/lab/{op}Act on the tunnel's lab
Migration
Preview and import Mirth Connect channels and firewall IPsec configs.
- get
/api/migration/rewriteList the steps an AI rewrite is offered for - post
/api/migration/rewrite/suggestSuggest an AI rewrite of an imported step - post
/api/migration/rewrite/acceptAccept an AI rewrite - post
/api/migration/mirth/previewPreview a Mirth Connect or Rhapsody import - post
/api/migration/mirth/applyImport Mirth channels or Rhapsody routes as draft workflows - post
/api/migration/ipsec/previewPreview an IPsec / firewall config import - post
/api/migration/ipsec/applyCreate VPN tunnels from an IPsec config - get
/api/migration/interfacesMigration board - post
/api/migration/sessions/{id}/workflowsCreate draft workflows from an onboarding scan - get
/api/migration/interfaces/{id}Migration review of one interface - post
/api/migration/interfaces/{id}/reviewedMark an interface reviewed - post
/api/migration/sourcesConnect to a Mirth or Rhapsody server and list it - post
/api/migration/sources/{id}/pullPull channels or lockers and dry run them - post
/api/migration/sources/{id}/applyPull channels or lockers and create draft workflows - get
/api/migration/import-capturesList captured Rhapsody imports - get
/api/migration/import-captures/{id}Download a capture's fingerprint (JSON) - delete
/api/migration/import-captures/{id}Delete a capture - post
/api/migration/import-captures/{id}/shareSend the export MedHook couldn't read - get
/api/migration/import-captures/{id}/fileDownload a shared export - delete
/api/migration/import-captures/{id}/fileDelete a shared export now
Triggers
Inbound routes: webhooks, X12, FHIR subscription callbacks, cron schedules and the MLLP listener's internal ingest.
- get
/api/triggers/webhook-schemasThe workspace's webhooks as OpenAPI, for senders - post
/api/triggers/webhook/{webhookId}Send a webhook to a trigger - get
/api/webhooks/{path}Receive a webhook on a path (GET) - post
/api/webhooks/{path}Receive a webhook on a path - put
/api/webhooks/{path}Receive a webhook on a path (PUT) - patch
/api/webhooks/{path}Receive a webhook on a path (PATCH) - delete
/api/webhooks/{path}Receive a webhook on a path (DELETE) - post
/api/triggers/mllpMLLP listener ingest (internal) - get
/api/triggers/soap/{listenerId}WSDL of a Web Service Listener trigger - post
/api/triggers/soap/{listenerId}Send a SOAP request to a Web Service Listener trigger - post
/api/triggers/pubsub/{pushId}Receive a Pub/Sub push delivery - post
/api/triggers/dicomDICOM listener ingest (internal) - post
/api/triggers/x12Send an X12 document to triggers - post
/api/triggers/fhir-subscription/{triggerId}FHIR subscription callback - get
/api/triggers/cronList scheduled cron jobs - post
/api/triggers/cronValidate and preview a cron schedule - put
/api/triggers/cronValidate and preview a cron schedule (PUT) - patch
/api/triggers/cronReload cron schedules - delete
/api/triggers/cronDelete a cron schedule
Mapping Sets
Saved field mappings for a workflow.
Messages
Inbound messages, as the Messages screen reads them.
- get
/api/messagesList messages - get
/api/messages/{id}Get one message - post
/api/messages/reprocessReprocess a message search - get
/api/messages/streamStream messages - get
/api/messages/statsMessage totals and rate - post
/api/messages/searchSearch messages - get
/api/messages/saved-searchesList your saved searches - post
/api/messages/saved-searchesSave a search - delete
/api/messages/saved-searchesDelete a saved search - get
/api/phi/reveal-grantYour PHI reveal window - post
/api/phi/reveal-grantShow PHI for the next few minutes - delete
/api/phi/reveal-grantHide PHI now - post
/api/messages/exportExport messages as CSV - get
/api/messages/replayVersions a replay can run on - post
/api/messages/replayDry-run or replay messages - post
/api/messages/replay-approvalsAsk a second admin to approve a replay - get
/api/messages/replay-approvals/{id}A replay approval request - post
/api/messages/replay-approvals/{id}/approveApprove a replay over 1,000 messages - get
/api/messages/groupsNeeds action, grouped by cause - get
/api/messages/{id}/diagnosisWhy a message failed (Agent · cause and fix) - get
/api/mllp/connectionsLive MLLP connections
ACK Queue
Messages that got AE or AR, or never reached a destination.
- get
/api/ack-queueList messages that need attention - post
/api/ack-queue/discardDiscard ACK queue items - post
/api/ack-queue/replayReplay ACK queue items - get
/api/destination-queuesList destination queues - get
/api/destination-queues/{lane}/detailDestination queue depth history and stuck messages - post
/api/destination-queues/{lane}/{action}Pause, resume or retry a destination queue
Alert Rules
Rules that notify someone when messages fail.
- get
/api/alert-rulesList alert rules - post
/api/alert-rulesCreate an alert rule - put
/api/alert-rules/{id}Update an alert rule - delete
/api/alert-rules/{id}Delete an alert rule - get
/api/alert-rules/sendersList recent senders - post
/api/alert-rules/{id}/testSend a test message - post
/api/alert-rules/dry-runTest an alert rule against history - post
/api/workflows/{id}/alert-rulesAdd one of the workflow's Settings alerts
Audit
The audit log and its hash chain.
- get
/api/audit/phi-accessPHI access: today's figures and the latest views - post
/api/audit/phi-accessWho viewed a patient's PHI - post
/api/audit/phi-access/reportPHI access report for one patient (PDF) - get
/api/audit-logQuery the audit log - get
/api/audit-log/verifyVerify the audit log hash chain - get
/api/audit/peoplePeople of the workspace - get
/api/audit/people/{id}One person's audit figures - get
/api/audit/flagsFlags of the workspace - get
/api/audit/flags/{id}One flag with its rule, context and related events - post
/api/audit/flags/{id}/reviewMark a flag reviewed - post
/api/audit/flags/{id}/assignAssign a flag to an admin - post
/api/audit/flags/{id}/incidentOpen an incident from a flag - get
/api/audit/legal-holdsLegal holds - post
/api/audit/legal-holdsAdd a legal hold (a draft) - put
/api/audit/legal-holds/{id}Edit or start a draft legal hold - delete
/api/audit/legal-holds/{id}Release a legal hold, or discard a draft - get
/api/audit/retentionHow long records are kept - get
/api/audit/reports/hipaaWho the HIPAA access report goes to, and when - post
/api/audit/reports/hipaaHIPAA access report for a month (PDF) - post
/api/audit/reports/hipaa/sendSend the HIPAA access report to the privacy officer now - get
/api/audit/summaryThe Audit log header: retention and the log exporter - get
/api/audit-log/anchorThe latest daily audit anchor - post
/api/audit/askAsk the audit log - get
/api/audit-log/{id}/attachmentOpen the document an audit event holds
Workspaces
Per-environment workspaces.
- get
/api/workspacesList workspaces - post
/api/workspacesCreate a workspace - get
/api/workspaces/{id}Get a workspace - patch
/api/workspaces/{id}Rename or recolour a workspace - delete
/api/workspaces/{id}Delete a workspace - get
/api/workspaces/{id}/membersList workspace members - put
/api/workspaces/{id}/membersAdd a member or change their role - delete
/api/workspaces/{id}/membersRemove a member - get
/api/usersList engine users - get
/api/workspaces/{id}/peopleList the people who may work in a workspace - patch
/api/users/{id}Change an engine user's role - post
/api/users/{id}/unlockUnlock a paused password sign-in - get
/api/users/{id}/devicesList someone's remembered devices - delete
/api/users/{id}/devicesForget someone's remembered devices - post
/api/users/inviteInvite someone to sign in
Settings
IP allowlist, log export and support access.
- get
/api/settings/ip-allowlistList IP allowlist entries - post
/api/settings/ip-allowlistAdd an IP allowlist entry - delete
/api/settings/ip-allowlist/{id}Remove an IP allowlist entry - get
/api/settings/log-exportRead the log export settings - post
/api/settings/log-exportChange the log export settings - delete
/api/settings/log-exportClear the saved log export settings - get
/api/settings/config-bundleExport the engine configuration - post
/api/settings/config-bundle/importImport an engine configuration - get
/api/settings/ssoList identity providers - put
/api/settings/ssoCreate or update an identity provider - delete
/api/settings/ssoDelete an identity provider - get
/api/auth/sso/{provider}/metadataSAML service provider metadata - get
/api/settings/brandingRead the engineer link's branding - put
/api/settings/brandingChange the engineer link's branding - get
/api/settings/branding/logoRead the logo - post
/api/settings/branding/logoUpload the logo - delete
/api/settings/branding/logoRemove the logo - get
/api/settings/privacy-officerRead the workspace's privacy officer - put
/api/settings/privacy-officerSet the workspace's privacy officer - get
/api/settings/timestampingRead the timestamping service the daily audit anchor goes to - put
/api/settings/timestampingSet the timestamping service the daily audit anchor goes to - get
/api/settings/healthSetup health for this workspace - get
/api/settings/environmentsSandbox rules and each workspace's environment - put
/api/settings/environmentsChange the sandbox rules or a workspace's environment - get
/api/settings/sso/policyRead the single sign-on policy - put
/api/settings/sso/policyChange the single sign-on policy - get
/api/settings/sso/groupsRead the Google groups → roles table - put
/api/settings/sso/groupsReplace the Google groups → roles table - get
/api/settings/sso/testRead a Test sign-in report - post
/api/settings/sso/testStart a Test sign-in with Google Workspace - get
/api/settings/support-accessRead support access - post
/api/settings/support-access/commandGenerate a support access command - post
/api/settings/support-access/approveApprove a support access grant - post
/api/settings/support-access/revokeRevoke support access now - get
/api/settings/support-access/rulesRead the rules for support access grants - put
/api/settings/support-access/rulesChange the rules for support access grants - get
/api/settings/support-access/grantsList support grants - post
/api/settings/support-access/grantsGrant a MedHook support person time-boxed access - post
/api/settings/support-access/grants/{id}/approveApprove a support grant (second admin) - post
/api/settings/support-access/grants/{id}/revokeRevoke a support grant now - get
/api/settings/workspace-keyRead the workspace encryption key status - post
/api/settings/workspace-key/rotateRe-encrypt every secret under the current key - get
/api/settings/aiRead AI features & BAA - put
/api/settings/aiConfirm the BAA, or change the AI feature switches and budget - get
/api/settings/ai/baaOpen the signed BAA copy - post
/api/settings/ai/baaConfirm the BAA with its signed copy - get
/api/notifications/channelsList notification channels - post
/api/notifications/channelsConnect a notification channel - delete
/api/notifications/channels/{kind}Disconnect a notification channel - post
/api/notifications/slack/actionsSlack's Diagnose and Acknowledge buttons - post
/api/notifications/testSend a test to me - get
/api/notifications/routesWho hears about what - put
/api/notifications/routesTurn routing dots on or off - get
/api/notifications/prefsMy notification preferences - put
/api/notifications/prefsChange my notification preferences - post
/api/notifications/prefs/phoneVerify my phone number - post
/api/notifications/prefs/remindersRemind people to verify their phone number - get
/api/alert-rules/on-callOn-call routing - put
/api/alert-rules/on-callChange on-call quiet hours - post
/api/alert-rules/on-call/testSend an on-call test - get
/api/settings/backupsBackups - post
/api/settings/backupsBack up now - post
/api/settings/backups/restoreAsk for a point-in-time restore - post
/api/settings/backups/restore/approveApprove a point-in-time restore - get
/api/settings/workspaceThis workspace's own settings - put
/api/settings/workspaceChange this workspace's time zone, secret reminder, privacy officer or tunnel reach - get
/api/settings/resourcesResources MedHook created in the GCP project
Workspace Variables
Key/value settings per workspace (Mirth configuration map): {{env.NAME}} in step config, env.NAME in JavaScript. A secret's value is encrypted at rest and never returned.
Shared Libraries
Versioned JavaScript shared by sandboxed steps (Mirth code template libraries), reached as libs.NAME. A step pins the version it was tested with.
Workflow Global Map
A workflow's global map (globals in JavaScript steps): scalars only, not for PHI or secrets.
Parallel runs
Run MedHook beside a Mirth Connect or Rhapsody engine before a cutover: read the incumbent's channel status, run a workflow in shadow mode on the same traffic, and compare the outputs.
- get
/api/incumbentsList incumbent API connections - post
/api/incumbentsAdd an incumbent API connection - get
/api/incumbents/{id}Get an incumbent API connection - patch
/api/incumbents/{id}Change an incumbent connection's certificate trust - delete
/api/incumbents/{id}Delete an incumbent API connection - get
/api/incumbents/{id}/channelsChannel status view - get
/api/parallel-runsList parallel runs - post
/api/parallel-runsStart a parallel run - get
/api/parallel-runs/{id}Get a parallel run and its report summary - patch
/api/parallel-runs/{id}Change a parallel run's ignore rules or close it - delete
/api/parallel-runs/{id}Delete a parallel run and its stored messages - post
/api/parallel-runs/{id}/capture-tokenRotate a run's capture token - delete
/api/parallel-runs/{id}/capture-tokenRevoke a run's capture token - post
/api/parallel-run-intake/{id}/inboundSend a copy of an inbound message (shadow run) - post
/api/parallel-run-intake/{id}/incumbent-outputCapture the incumbent's output for a message - post
/api/parallel-runs/{id}/syncPull a Mirth channel's processed messages into the run - get
/api/parallel-runs/{id}/reportCutover diff report with per-message detail - post
/api/parallel-runs/{id}/cutoverCut over: start delivering from MedHook - get
/api/parallel-runs/{id}/differencesA parallel run's differences per field