# thread.replied

Source: https://developer.nylas.com/docs/reference/notifications/message-tracking/thread-replied/

Sent when a participant replies to a tracked email thread.

## data.object fields

- `object` (string) (thread) - Always `thread`.
- `grant_id` (string) - The grant ID that owns the tracked thread.
- `message_id` (string) **(required)** - The ID of the reply message.
- `root_message_id` (string) **(required)** - The ID of the original tracked message that was replied to.
- `label` (string) - The tracking label you assigned when sending the original message.
- `reply_data` (object) - Aggregate reply data.
  - `count` (integer) - Total number of replies to the tracked thread.
- `sender_app_id` (string) - The Nylas application ID that sent the tracked message.
- `thread_id` (string) - The thread ID containing the reply.
- `timestamp` (integer) - Unix timestamp of the reply.
- `reply_to_message_id` (string) - The message ID that was replied to.
- `from_self` (boolean) - Whether the reply was sent by the tracked message sender.

## Example payload

```json
{
  "specversion": "1.0",
  "type": "thread.replied",
  "source": "/com/nylas/tracking",
  "id": "<WEBHOOK_ID>",
  "time": 1696007157,
  "data": {
    "application_id": "<NYLAS_APPLICATION_ID>",
    "grant_id": "<NYLAS_GRANT_ID>",
    "object": {
      "object": "thread",
      "grant_id": "<NYLAS_GRANT_ID>",
      "message_id": "<message-id-of-reply>",
      "root_message_id": "<message-id-of-original-tracked-message>",
      "label": "some-client-label",
      "reply_data": {
        "count": 1
      },
      "reply_to_message_id": "<message-id-of-original-tracked-message>",
      "from_self": false,
      "sender_app_id": "<app-id>",
      "thread_id": "<thread-id-of-sent-message>",
      "timestamp": 1696007157
    }
  },
  "webhook_delivery_attempt": 1
}
```
