Skip to Content
ReferenceAPIMessagesList messages

Messages API

List messages

List messages in a patient's channel.

GET/v1/messages
capability messages.list · v1health dataserver-scoped workspace

Request

Path, query, and JSON body fields accepted by this operation.

  • patientIdstring<uuid>
    query
  • channel"patient_app"
    querydefault "patient_app"
  • limitinteger
    querydefault 100min 1max 200

Response

Successful responses use Dawn's data envelope.

  • dataMessageListrequired
    • idstring<uuid>required
    • workspaceIdstring<uuid>required
    • patientIdstring<uuid>required
    • channel"patient_app"required
    • senderone of 2 shapesrequired
      • kind"member"required
      • idstring<uuid>required
    • bodystringrequired
      min length 1max length 4000
    • createdAtstring<date-time>required
  • metaobject

Errors

Error responses use the shared error envelope.

  • 403Messaging is disabled or the requested patient is unavailable.
  • 422The message query is invalid.
  • 503Messages are temporarily unavailable.

Patient sessions are always scoped to their own thread. Workspace members can provide patientId for one thread or omit it to list messages across the workspace inbox.

Last updated on