{
  "added_to_chart_at": "2021-05-05T22:02:09Z",
  "created_at": "2021-05-05T22:02:10Z",
  "deleted_at": "",
  "id": "140754787631195",
  "is_urgent": false,
  "members": [
    {
      "acked_at": "",
      "group_id": "851981",
      "id": "346292316",
      "status": "THREAD_MEMBER_STATUS_ADDRESSED",
      "thread_id": "346226779",
      "user_id": "6"
    }
  ],
  "messages": [
    {
      "associated_document": {
        "added_to_chart_at": "2014-01-24T18:13:48Z",
        "authoring_practice_id": "65540",
        "created_at": "2014-01-24T18:13:48Z",
        "deleted_at": "",
        "document_timestamp": "2014-01-24T18:59:15Z",
        "document_type": 91,
        "id": "64077889627",
        "last_modified_at": "2016-05-02T18:53:12Z",
        "patient_id": "64072843265",
        "signed_at": "2014-01-24T18:13:48Z",
        "signed_by": "4"
      },
      "body": "Patient should have appointment already booked.",
      "id": "346423390",
      "patient_id": "342753281",
      "practice_id": "655364",
      "sender_id": "6",
      "sent_at": "2021-10-19T19:08:48",
      "thread_id": "346226779"
    }
  ],
  "patient_id": "140754786975745",
  "practice_id": "140754817318916",
  "thread_document_created_at": "2021-05-05T22:02:09Z"
}
{
  "added_to_chart_at": "Date and time when the thread was added to the patient's chart.",
  "created_at": "Timestamp when the message thread was created.",
  "deleted_at": "Timestamp when the message thread was deleted, if applicable.",
  "id": "Unique identifier for the message thread.",
  "is_urgent": "Flag indicating whether this thread is marked as urgent.",
  "members": {
    "acked_at": "Timestamp when the member acknowledged the thread, if applicable.",
    "group_id": "ID of the group, if this member represents a group.",
    "id": "Unique identifier for the thread member.",
    "status": "Current status of the member in this thread.",
    "thread_id": "ID of the thread this member belongs to.",
    "user_id": "ID of the user, if this member represents a user."
  },
  "messages": {
    "associated_document": {
      "added_to_chart_at": "Date and time when the document was added to the chart.",
      "authoring_practice_id": "ID of the practice that authored this document.",
      "created_at": "Timestamp when the document was created.",
      "deleted_at": "Timestamp when the document was deleted, if applicable.",
      "document_timestamp": "Date and time of the document.",
      "document_type": "Type identifier for the document.",
      "id": "Unique identifier for the document.",
      "last_modified_at": "Timestamp when the document was last modified.",
      "patient_id": "ID of the patient this document belongs to.",
      "signed_at": "Timestamp when the document was signed.",
      "signed_by": "ID of the user who signed the document."
    },
    "body": "Content of the message. Must not be empty.",
    "id": "Unique identifier for the message.",
    "patient_id": "ID of the patient this message relates to.",
    "practice_id": "ID of the practice this message belongs to.",
    "sender_id": "ID of the user who sent this message.",
    "sent_at": "Timestamp when the message was sent.",
    "thread_id": "ID of the thread this message belongs to."
  },
  "patient_id": "ID of the patient this thread belongs to.",
  "practice_id": "ID of the practice this thread belongs to.",
  "thread_document_created_at": "Date and time when the thread document was created."
}

Events

Triggering Webhook Types

The following event types are associated with the Message Thread event payload from Elation.

  • Elation Message Thread Updated
  • Elation Message Thread Deleted
{
  "added_to_chart_at": "2021-05-05T22:02:09Z",
  "created_at": "2021-05-05T22:02:10Z",
  "deleted_at": "",
  "id": "140754787631195",
  "is_urgent": false,
  "members": [
    {
      "acked_at": "",
      "group_id": "851981",
      "id": "346292316",
      "status": "THREAD_MEMBER_STATUS_ADDRESSED",
      "thread_id": "346226779",
      "user_id": "6"
    }
  ],
  "messages": [
    {
      "associated_document": {
        "added_to_chart_at": "2014-01-24T18:13:48Z",
        "authoring_practice_id": "65540",
        "created_at": "2014-01-24T18:13:48Z",
        "deleted_at": "",
        "document_timestamp": "2014-01-24T18:59:15Z",
        "document_type": 91,
        "id": "64077889627",
        "last_modified_at": "2016-05-02T18:53:12Z",
        "patient_id": "64072843265",
        "signed_at": "2014-01-24T18:13:48Z",
        "signed_by": "4"
      },
      "body": "Patient should have appointment already booked.",
      "id": "346423390",
      "patient_id": "342753281",
      "practice_id": "655364",
      "sender_id": "6",
      "sent_at": "2021-10-19T19:08:48",
      "thread_id": "346226779"
    }
  ],
  "patient_id": "140754786975745",
  "practice_id": "140754817318916",
  "thread_document_created_at": "2021-05-05T22:02:09Z"
}
{
  "added_to_chart_at": "Date and time when the thread was added to the patient's chart.",
  "created_at": "Timestamp when the message thread was created.",
  "deleted_at": "Timestamp when the message thread was deleted, if applicable.",
  "id": "Unique identifier for the message thread.",
  "is_urgent": "Flag indicating whether this thread is marked as urgent.",
  "members": {
    "acked_at": "Timestamp when the member acknowledged the thread, if applicable.",
    "group_id": "ID of the group, if this member represents a group.",
    "id": "Unique identifier for the thread member.",
    "status": "Current status of the member in this thread.",
    "thread_id": "ID of the thread this member belongs to.",
    "user_id": "ID of the user, if this member represents a user."
  },
  "messages": {
    "associated_document": {
      "added_to_chart_at": "Date and time when the document was added to the chart.",
      "authoring_practice_id": "ID of the practice that authored this document.",
      "created_at": "Timestamp when the document was created.",
      "deleted_at": "Timestamp when the document was deleted, if applicable.",
      "document_timestamp": "Date and time of the document.",
      "document_type": "Type identifier for the document.",
      "id": "Unique identifier for the document.",
      "last_modified_at": "Timestamp when the document was last modified.",
      "patient_id": "ID of the patient this document belongs to.",
      "signed_at": "Timestamp when the document was signed.",
      "signed_by": "ID of the user who signed the document."
    },
    "body": "Content of the message. Must not be empty.",
    "id": "Unique identifier for the message.",
    "patient_id": "ID of the patient this message relates to.",
    "practice_id": "ID of the practice this message belongs to.",
    "sender_id": "ID of the user who sent this message.",
    "sent_at": "Timestamp when the message was sent.",
    "thread_id": "ID of the thread this message belongs to."
  },
  "patient_id": "ID of the patient this thread belongs to.",
  "practice_id": "ID of the practice this thread belongs to.",
  "thread_document_created_at": "Date and time when the thread document was created."
}

Payload Field Details

Message Thread
Event Payload