Skip to main content
GET
/
api
/
2.0
/
message_threads
/
List Message Threads
curl --request GET \
  --url https://sandbox.elationemr.com/api/2.0/message_threads/ \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "chart_date": "2023-11-07T05:31:56Z",
      "document_date": "2023-11-07T05:31:56Z",
      "patient": 123,
      "practice": 123,
      "created_date": "2023-11-07T05:31:56Z",
      "deleted_date": "2023-11-07T05:31:56Z",
      "delivery_date": "2023-11-07T05:31:56Z",
      "id": 123,
      "is_urgent": false,
      "members": [
        {
          "ack_time": "2023-11-07T05:31:56Z",
          "group": 123,
          "id": 123,
          "thread": 123,
          "user": 123
        }
      ],
      "messages": [
        {
          "body": "<string>",
          "send_date": "2023-11-07T05:31:56Z",
          "sender": 123,
          "id": 123,
          "patient": 123,
          "practice": 123,
          "thread": 123,
          "to_document": {
            "authoring_practice": 123,
            "chart_date": "2023-11-07T05:31:56Z",
            "document_date": "2023-11-07T05:31:56Z",
            "id": 123,
            "patient": 123,
            "created_date": "2023-11-07T05:31:56Z",
            "deleted_date": "2023-11-07T05:31:56Z",
            "document_type": 123,
            "last_modified": "2023-11-07T05:31:56Z",
            "sign_date": "2023-11-07T05:31:56Z",
            "signed_by": 123
          }
        }
      ],
      "signed_by": 123,
      "signed_date": "2023-11-07T05:31:56Z"
    }
  ],
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

document_date__gt
string<date-time>
document_date__gte
string<date-time>
document_date__lt
string<date-time>
document_date__lte
string<date-time>
limit
integer

Number of results to return per page.

offset
integer

The initial index from which to return the results.

order_by
string

Which field to use when ordering the results.

patient
integer<int64>[]

Multiple values may be separated by commas.

practice
integer<int64>[]

Multiple values may be separated by commas.

Response

200 - application/json
results
object[]
required
count
integer
Example:

123

next
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=400&limit=100"

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?offset=200&limit=100"