Skip to content

ScribeMD API

Build ScribeMD into your product

Send visit recordings, read back finished notes and export your organization's encounters from your own systems, with a REST API, a mobile SDK and an MCP server.

What you can build

One API for the whole visit

  • Create visits

    Upload a recording on behalf of a clinician; ScribeMD transcribes it and writes the note with their template.

  • Read and edit notes

    Poll a visit until its note is ready, then read it as Markdown or structured JSON, or update it.

  • Export encounters

    List your organization's encounters by date range and department, page by page.

  • Embed in your EHR

    Start a recording from your EHR with its own fields and read the finished note back.

Authentication

Two kinds of credentials

Each endpoint takes one of them. The reference below says which.

  • Organization API key

    For server-to-server calls on behalf of your organization. Send it in the X-Api-Key header, or as Authorization: Bearer.

    Organization admins, or members an admin gave Developer access, create keys in Settings > API Keys. A key is shown once: keep it on your server, never in a browser or an app.

  • User access token

    For calls on behalf of one signed-in clinician, as the ScribeMD apps and the mobile SDK make them. Send it as Authorization: Bearer, or as the access_token parameter.

  • OAuth access token

    For the MCP server: an OAuth 2.1 access token, sent as Authorization: Bearer.

Quick start

From a recording to a note

  1. Send the recording

    Request
    curl -X POST https://api.scribemd.ai/api/v1/visits \
      -H "X-Api-Key: $SCRIBEMD_API_KEY" \
      -F "audio_file=@visit.m4a" \
      -F "user_email=dr.rivera@example.com" \
      -F "language=en-US"
    Response
    HTTP/1.1 201 Created
    {
      "encounter_uuid": "1bc91eb0-ca16-40a5-87c5-ccc7b6cb4f14"
    }
  2. Fetch the note when it is ready

    Request
    curl "https://api.scribemd.ai/api/v1/encounters/retrieve?uuid=1bc91eb0-ca16-40a5-87c5-ccc7b6cb4f14" \
      -H "Authorization: Bearer $SCRIBEMD_USER_TOKEN"
    Response
    {
      "success": true,
      "uuid": "1bc91eb0-ca16-40a5-87c5-ccc7b6cb4f14",
      "summary_status": "running",
      "transcript_status": "finished",
      "ready": false,
      "duration": 642
    }

Reference

Endpoints

The public partner endpoints, their credentials and parameters.

POST/api/v1/visits

Create a visit from an audio recording for one of your clinicians (by user_email; without it, the key's creator).

Authentication
API key
Parameters
  • audio_filefilerequired
  • user_emailstringoptional
  • template_idintegeroptional
  • patient_first_namestringoptional
  • patient_last_namestringoptional
  • languagestringoptional
  • timestampstringoptional
  • patient_idstringoptional
  • medical_recordstringoptional
  • contextstringoptional
  • webhook_urlstringoptional
Request
curl -X POST https://api.scribemd.ai/api/v1/visits \
  -H "X-Api-Key: $SCRIBEMD_API_KEY" \
  -F "audio_file=@visit.m4a" \
  -F "user_email=dr.rivera@example.com" \
  -F "language=en-US"
Response
HTTP/1.1 201 Created
{
  "encounter_uuid": "1bc91eb0-ca16-40a5-87c5-ccc7b6cb4f14"
}

GET/api/v1/organization_encounters

List your organization's encounters, newest first, 20 per page, filtered by dates and departments.

Authentication
API key
Parameters
  • start_datedateoptional
  • end_datedateoptional
  • department_idsstringoptional
  • pageintegeroptional
Request
curl "https://api.scribemd.ai/api/v1/organization_encounters?start_date=2026-01-01&end_date=2026-01-31&page=1" \
  -H "X-Api-Key: $SCRIBEMD_API_KEY"
Response
{
  "encounters": [
    {
      "id": 12345,
      "uuid": "1bc91eb0-ca16-40a5-87c5-ccc7b6cb4f14",
      "title": "Follow-up visit",
      "status": "finished",
      "summary_status": "finished",
      "note_format": "markdown",
      "markdown_content": "#### Chief Complaint\n..."
    }
  ],
  "pagination": { "count": 1, "page": 1, "limit": 20 }
}

POST/api/v1/integrations/recordings

Start an EHR integration recording for a clinician; returns a short-lived token for the recording widget.

Authentication
API key
Parameters
  • user_emailstringrequired
  • settingsobjectoptional
Request
curl -X POST https://api.scribemd.ai/api/v1/integrations/recordings \
  -H "Authorization: Bearer $SCRIBEMD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "user_email": "dr.rivera@example.com", "settings": { "defaultLanguage": "en-US" } }'
Response
HTTP/1.1 201 Created
{
  "uuid": "1bc91eb0-ca16-40a5-87c5-ccc7b6cb4f14",
  "recordId": null,
  "token": "fake-short-lived-token",
  "expiresAt": "2026-01-15T10:30:00Z",
  "settings": { "defaultLanguage": "en-US" }
}

GET/api/v1/integrations/recordings/:uuid

Read an integration recording back: its status and, once finished, its note fields and transcript.

Authentication
API key
Parameters
  • uuidstringrequired
Request
curl https://api.scribemd.ai/api/v1/integrations/recordings/1bc91eb0-ca16-40a5-87c5-ccc7b6cb4f14 \
  -H "X-Api-Key: $SCRIBEMD_API_KEY"
Response
{
  "uuid": "1bc91eb0-ca16-40a5-87c5-ccc7b6cb4f14",
  "recordId": null,
  "patientId": null,
  "status": "waiting",
  "reviewedAt": null,
  "settings": {}
}

GET/api/v1/encounters/retrieve

Read one of the signed-in clinician's visits by uuid, EHR encounter id or appointment id; the note once ready is true.

Authentication
User token
Parameters
  • uuidstringoptional
  • ehr_encounter_idstringoptional
  • ehr_appointment_idstringoptional
Request
curl "https://api.scribemd.ai/api/v1/encounters/retrieve?uuid=1bc91eb0-ca16-40a5-87c5-ccc7b6cb4f14" \
  -H "Authorization: Bearer $SCRIBEMD_USER_TOKEN"
Response
{
  "success": true,
  "uuid": "1bc91eb0-ca16-40a5-87c5-ccc7b6cb4f14",
  "summary_status": "running",
  "transcript_status": "finished",
  "ready": false,
  "duration": 642
}

POST/api/v1/encounters/:id/resume_visit

Continue recording a visit as a new linked visit.

Authentication
User token
Parameters
  • idintegerrequired

POST/api/v1/encounters/:id/update_notes

Replace a visit's note (JSON notes, or Markdown for Markdown-format notes).

Authentication
User token
Parameters
  • idintegerrequired
  • prompt[json_notes]objectoptional
  • prompt[markdown_content]stringoptional

PATCH/api/v1/encounters/:id/update_markdown

Replace the Markdown of a Markdown-format note; its JSON notes are synced on save.

Authentication
User token
Parameters
  • idintegerrequired
  • prompt[markdown_content]stringrequired
Request
curl -X PATCH https://api.scribemd.ai/api/v1/encounters/12345/update_markdown \
  -H "Authorization: Bearer $SCRIBEMD_USER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "prompt": { "markdown_content": "#### Chief Complaint\nCough for 3 days." } }'
Response
{
  "data": {
    "id": 12345,
    "uuid": "1bc91eb0-ca16-40a5-87c5-ccc7b6cb4f14",
    "note_format": "markdown",
    "markdown_content": "#### Chief Complaint\nCough for 3 days.",
    "json_notes": { "...": "..." }
  }
}

POST/mcp

The read-only Model Context Protocol server for AI assistants.

Authentication
OAuth

SDK and MCP

Beyond REST

  • Mobile SDK

    Add ScribeMD's recording and notes to your iOS or Android app.

    Read the SDK guide
  • MCP server

    Connect an AI assistant to ScribeMD through the Model Context Protocol, signed in with OAuth.

Limits and errors

Rate limits and errors

The MCP server and the OAuth endpoints are rate limited per IP address. Over the limit, they answer 429 Too Many Requests.

Errors

Errors come back as JSON with an error message and an HTTP status:

400
A required parameter is missing or invalid.
401
API key or token missing or invalid.
403
The organization is locked.
404
No such visit for this key or user.
422
The request could not be saved, e.g. an invalid language or timestamp.

Security

Built for clinical data

  • HIPAA compliant, with Business Associate Agreements (BAAs) in place.
  • HTTPS/TLS encrypts every connection, client to server and service to service.
  • Databases, object storage and backups are encrypted at rest.
Read about our security

Get started

Request API Access

Tell us about your product and how you would use the API. We will get back to you by email.