---
title: "linkedin.monitoring.comment.edited"
description: "Fired when a comment or reply on a connected LinkedIn company page post is edited"
sidebar:
  label: "linkedin.monitoring.comment.edited"
---

All webhook payloads follow a consistent top-level structure with event-specific data nested within the `data` object.

| Prop | Type | Default | Description |
| - | - | - | - |
| `type` | `string` | - | The event type (e.g. linkedin.monitoring.comment.edited). |
| `data` | `object` | - | Event-specific payload for this webhook. |
| `data.comment` | `object` | - | The edited comment. |
| `data.comment.id` | `string` | - | Comment ID. |
| `data.comment.urn` | `string` | - | LinkedIn comment URN. |
| `data.comment.commentary?` | `string \| null` | - | Updated comment text. |
| `data.comment.imageUrl?` | `string \| null` | - | Image attached to the comment, if any. |
| `data.comment.commentUrl?` | `string \| null` | - | LinkedIn URL that opens the comment on the post. |
| `data.comment.publishedAt` | `string` | - | ISO 8601 timestamp when the comment was first published. |
| `data.comment.lastModifiedAt` | `string` | - | ISO 8601 timestamp from LinkedIn for this edit notification. |
| `data.comment.parentCommentId?` | `string \| null` | - | Parent comment ID when this comment is a reply. Null for a comment on the post. |
| `data.comment.isCompanyAuthor` | `boolean` | - | Whether the company page that owns the post authored the comment. |
| `data.comment.author` | `object` | - | Comment author. Contains urn, name, profileImageUrl, and type (User or Organization). name, profileImageUrl, and type can be null. |
| `data.comment.post` | `object` | - | Company page post that was commented on. Contains id, commentary, url (Ordinal monitoring inbox), postUrl (LinkedIn), and publishedAt. |
| `data.comment.companyPage` | `object` | - | Company page that owns the post. Contains id, name, and profileImageUrl. |
| `data.comment.workspace` | `object` | - | Workspace the company page is connected to. Contains id, slug, and name. |
| `createdAt` | `string` | - | ISO 8601 timestamp when the webhook event was created. |

```json Example
{
  "type": "linkedin.monitoring.comment.edited",
  "data": {
    "comment": {
      "id": "550e8400-e29b-41d4-a716-446655440070",
      "urn": "urn:li:comment:(activity:7123456789012345678,9001)",
      "commentary": "Nice post — updated",
      "imageUrl": null,
      "commentUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7123456789012345678?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7123456789012345678%2C9001%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%289001%2Curn%3Ali%3Aactivity%3A7123456789012345678%29",
      "publishedAt": "2026-10-28T20:03:26.911Z",
      "lastModifiedAt": "2026-10-28T20:10:00.000Z",
      "parentCommentId": null,
      "isCompanyAuthor": false,
      "author": {
        "urn": "urn:li:person:abc",
        "name": "Jane Doe",
        "profileImageUrl": "https://example.com/jane.png",
        "type": "User"
      },
      "post": {
        "id": "550e8400-e29b-41d4-a716-446655440071",
        "commentary": "Company post",
        "url": "https://app.tryordinal.com/acme/monitoring?tab=comments&postId=550e8400-e29b-41d4-a716-446655440071",
        "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7123456789012345678",
        "publishedAt": "2026-10-01T12:00:00.000Z"
      },
      "companyPage": {
        "id": "550e8400-e29b-41d4-a716-446655440061",
        "name": "Acme Inc",
        "profileImageUrl": "https://example.com/acme.png"
      },
      "workspace": {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "slug": "acme",
        "name": "Acme Inc"
      }
    }
  },
  "createdAt": "2026-10-28T20:10:04.000Z"
}
```
