> ## 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 Thread Message Object

A Thread Message represents an actual message inside a Message Thread.

Every time a Message Thread is created, a Thread Message with the actual message is created inside of it.

Every time a reply is sent, a new Thread Message is created inside the Message Thread.

## Object Definition

```json theme={null}
{
  	"body" : "Test",
    "id" : 140754851856478,
    "patient" : 140754851266561,
    "practice" : 140754847006724,
    "thread" : 140754851725403,
    "to_document" : {
      "chart_date" : "2021-05-06T16:22:00",
      "created_date" : "2021-05-06T16:22:00",
      "deleted_date" : null,
      "document_date" : "2021-05-06T16:22:00",
      "signed_by" : null,
      "signed_date" : null
    },
    "sender" : 383,
    "send_date" : "2021-05-06T16:22:00"
}
```

| Attribute | Type | Allowed values | Description |
| :- | :- | :- | :- |
| body | string | | The actual message body |
| id | int | | The id of the thread message |
| patient | int | | The patient id |
| practice | int | | The practice id |
| thread | int | | The message thread id |
| to\_document.chart\_date | date | | The creation date of the to\_document's patient chart |
| to\_document.created\_date | date | | The creation date of the to\_document |
| to\_document.deleted\_date | date | | The deleted date of the to\_document |
| to\_document.document\_date | date | | The creation date of the to\_document |
| to\_document.signed\_by | int | | The id of whoever signed the to\_document (if signed) |
| to\_document.signed\_date | date | | The date of when the to\_document was signed (if signed) |
| sender | int | | The id of who sent the message |
| send\_date | date | | The date of when the message was sent |
