> ## Documentation Index
> Fetch the complete documentation index at: https://help.elationhealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The Message Thread Object

Message Thread is the heart of all messaging-related events inside Elation.

Every time a new message is sent in a chart, a Message Thread is created with its respective Thread Members (the sender and receiver(s)) and Thread Messages (beginning with the initial message itself).

Every time a reply is sent, a new Thread Message is created inside the Message Thread, and its new receivers (if any) are added as Thread Members as well.

## Object Definition

```json theme={null}
{
    "created_date": "2021-05-05T22:02:10Z",
    "deleted_date": null,
    "document_date": "2021-05-05T22:02:09Z",
    "chart_date": "2021-05-05T22:02:09Z",
    "patient": 140754786975745,
    "practice": 140754817318916,
    "is_urgent": false,
    "id": 140754787631195,
    "members": [
        {
            "id": 346292316,
            "thread": 346226779,
            "user": 6,
            "group": null,
            "status": "Addressed",
            "ack_time": null
        },
        {
            "id": 346357852,
            "thread": 346226779,
            "user": null,
            "group": 851981,
            "status": "Addressed",
            "ack_time": null
        }
    ],
    "messages": [
        {
            "body": "Patient should have appointment already booked.",
            "id": 346423390,
            "patient": 342753281,
            "practice": 655364,
            "thread": 346226779,
            "sender": 6,
            "send_date": "2021-10-19T19:08:48",
            "to_document": {
                "authoring_practice": 65540,
                "chart_date": "2014-01-24T18:13:48Z",
                "created_date": "2014-01-24T18:13:48Z",
                "deleted_date": null,
                "document_date": "2014-01-24T18:59:15Z",
                "document_type": 91,
                "id": 64077889627,
                "last_modified": "2016-05-02T18:53:12Z",
                "patient": 64072843265,
                "sign_date": "2014-01-24T18:13:48Z",
                "signed_by": 4
            }
        },
        {
            "body": "Appt. 10/21/10",
            "id": 346488926,
            "patient": 342753281,
            "practice": 655364,
            "thread": 346226779,
            "sender": 8,
            "send_date": "2021-10-20T08:52:37",
            "to_document": {
                "authoring_practice": 65540,
                "chart_date": "2014-01-24T18:13:48Z",
                "created_date": "2014-01-24T18:13:48Z",
                "deleted_date": null,
                "document_date": "2014-01-24T18:59:15Z",
                "document_type": 91,
                "id": 64077889627,
                "last_modified": "2016-05-02T18:53:12Z",
                "patient": 64072843265,
                "sign_date": "2014-01-24T18:13:48Z",
                "signed_by": 4
            }
        }
    ],
    "signed_by": 1334566,
    "signed_date": "2021-05-05T22:02:10Z"
}
```

| Attribute      | Type           | Allowed values | Description                                         |
| :------------- | :------------- | :------------- | :-------------------------------------------------- |
| created\_date  | datetime       |                | When the message thread was created                 |
| deleted\_date  | datetime       |                | When the message thread was deleted                 |
| document\_date | datetime       |                | When the message thread's document was created      |
| chart\_date    | datetime       |                | When the message thread's patient chart was created |
| patient        | int            |                | The patient id                                      |
| practice       | int            |                | The practice id                                     |
| is\_urgent     | bool           |                | Is the message thread urgent?                       |
| id             | int            |                | The message thread id                               |
| members        | list\[Member]  |                | The list of thread member objects                   |
| messages       | list\[Message] |                | The list of thread message objects                  |
| signed\_by     | int            |                | The id of the physician or office\_staff signer     |
| signed\_date   | datetime       |                | The timestamp when the message thread was signed    |
