drchrono · Schema

DoctorMessageThread

Electronic Health RecordsHealthcareMedical RecordsPractice ManagementHIPAAAppointmentsBillingPrescriptionsLab IntegrationFHIRSMART on FHIRUSCDIInteroperabilityWebhookAuthenticationONC CertifiedTelehealthRevenue Cycle Management

Properties

Name Type Description
assigned_groups array Array of user group IDs assigned to this thread
archived boolean Whether the thread is archived
first_message integer ID of the first message in the thread
patient integer ID of the patient associated with this thread (if patient-facing)
doctor integer ID of the doctor who owns this thread
last_message integer ID of the most recent message in the thread
practice_group integer ID of the practice group for access control
created_at string Timestamp when the thread was created
updated_at string Timestamp when the thread was last updated
assigned_user_profiles array Array of user profile IDs assigned to this thread
message_count integer Total number of messages in this thread
unread_count integer Number of unread messages in this thread
last_message_at string Timestamp of the last message - used for sorting
owners array Array of user profile IDs who own this thread
starred boolean Whether the thread is starred
message_type string Type of messages in this thread. See `/api/messages` for message type descriptions
id integer Unique identifier for the message thread
subject string Thread subject - locked to first message subject
View JSON Schema on GitHub

JSON Schema

drchrono-doctor-message-thread-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/drchrono/main/json-schema/drchrono-doctor-message-thread-schema.json",
  "title": "DoctorMessageThread",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/drchrono-practice-management-api-openapi.yml#/components/schemas/DoctorMessageThread",
  "type": "object",
  "properties": {
    "assigned_groups": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "description": "Array of user group IDs assigned to this thread",
      "title": "Assigned groups"
    },
    "archived": {
      "type": "boolean",
      "description": "Whether the thread is archived",
      "title": "Archived"
    },
    "first_message": {
      "readOnly": true,
      "type": "integer",
      "description": "ID of the first message in the thread",
      "title": "First message"
    },
    "patient": {
      "readOnly": true,
      "type": "integer",
      "description": "ID of the patient associated with this thread (if patient-facing)",
      "title": "Patient"
    },
    "doctor": {
      "readOnly": true,
      "type": "integer",
      "description": "ID of the doctor who owns this thread",
      "title": "Doctor"
    },
    "last_message": {
      "readOnly": true,
      "type": "integer",
      "description": "ID of the most recent message in the thread",
      "title": "Last message"
    },
    "practice_group": {
      "readOnly": true,
      "type": "integer",
      "description": "ID of the practice group for access control",
      "title": "Practice group"
    },
    "created_at": {
      "readOnly": true,
      "title": "Created at",
      "type": "string",
      "description": "Timestamp when the thread was created",
      "format": "date-time"
    },
    "updated_at": {
      "readOnly": true,
      "title": "Updated at",
      "type": "string",
      "description": "Timestamp when the thread was last updated",
      "format": "date-time"
    },
    "assigned_user_profiles": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "description": "Array of user profile IDs assigned to this thread",
      "title": "Assigned user profiles"
    },
    "message_count": {
      "readOnly": true,
      "type": "integer",
      "description": "Total number of messages in this thread",
      "title": "Message count"
    },
    "unread_count": {
      "readOnly": true,
      "type": "integer",
      "description": "Number of unread messages in this thread",
      "title": "Unread count"
    },
    "last_message_at": {
      "readOnly": true,
      "title": "Last message at",
      "type": "string",
      "description": "Timestamp of the last message - used for sorting",
      "format": "date-time"
    },
    "owners": {
      "items": {
        "type": "integer"
      },
      "readOnly": true,
      "type": "array",
      "description": "Array of user profile IDs who own this thread",
      "title": "Owners"
    },
    "starred": {
      "type": "boolean",
      "description": "Whether the thread is starred",
      "title": "Starred"
    },
    "message_type": {
      "readOnly": true,
      "type": "string",
      "description": "Type of messages in this thread. See `/api/messages` for message type descriptions",
      "title": "Message type"
    },
    "id": {
      "readOnly": true,
      "type": "integer",
      "description": "Unique identifier for the message thread",
      "title": "ID"
    },
    "subject": {
      "readOnly": true,
      "type": "string",
      "description": "Thread subject - locked to first message subject",
      "title": "Subject"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/drchrono-doctor-message-thread"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.