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

# post.inline_comment.created

> Fired when an inline comment (text-anchored comment) is added to a post. One event per comment, including replies in a thread.

All webhook payloads follow a consistent top-level structure with event-specific data nested within the `data` object. Inline comments attach to specific text in a post—this event fires for each new comment or reply in a thread.

<ResponseField name="type" type="string" required>
  The event type (e.g. `post.inline_comment.created`).
</ResponseField>

<ResponseField name="data" type="object" required>
  Event-specific payload for this webhook.

  <Expandable title="Data object parameters">
    <ResponseField name="comment" type="object" required>
      The inline comment.

      <Expandable title="Comment object parameters">
        <ResponseField name="thread" type="object" required>
          The inline comment thread. Contains `id`, `channel` (channel the highlighted text is in), `highlightedText` (the anchored text), `resolved`, `createdAt`, and `updatedAt`.
        </ResponseField>

        <ResponseField name="id" type="string" required>
          Comment ID.
        </ResponseField>

        <ResponseField name="message" type="string" required>
          Comment message text.
        </ResponseField>

        <ResponseField name="post" type="object" required>
          Post the comment was added to. Contains `id`, `title`, and `url`.
        </ResponseField>

        <ResponseField name="workspace" type="object" required>
          Workspace the post belongs to. Contains `id`, `slug`, and `name`.
        </ResponseField>

        <ResponseField name="createdBy" type="object" required>
          User who added the comment. Contains `id`, `firstName`, `lastName`, and `email`.
        </ResponseField>

        <ResponseField name="createdAt" type="string" required>
          ISO 8601 timestamp when the comment was created.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="createdAt" type="string" required>
  ISO 8601 timestamp when the webhook event was created.
</ResponseField>

<ResponseExample>
  ```json Example theme={null}
  {
    "type": "post.inline_comment.created",
    "data": {
      "comment": {
        "thread": {
          "id": "550e8400-e29b-41d4-a716-446655440060",
          "channel": "LinkedIn",
          "highlightedText": "coming next week",
          "resolved": false,
          "createdAt": "2025-02-26T16:05:00.000Z",
          "updatedAt": null
        },
        "id": "550e8400-e29b-41d4-a716-446655440051",
        "message": "Can we change this to 'launching soon'?",
        "post": {
          "id": "550e8400-e29b-41d4-a716-446655440001",
          "title": "Q4 Product Launch Announcement",
          "url": "https://app.tryordinal.com/acme/posts/550e8400-e29b-41d4-a716-446655440001"
        },
        "workspace": {
          "id": "550e8400-e29b-41d4-a716-446655440000",
          "slug": "acme",
          "name": "Acme Inc"
        },
        "createdBy": {
          "id": "550e8400-e29b-41d4-a716-446655440010",
          "firstName": "Jane",
          "lastName": "Doe",
          "email": "jane@example.com"
        },
        "createdAt": "2025-02-26T16:05:00.000Z"
      }
    },
    "createdAt": "2025-02-26T16:05:00.000Z"
  }
  ```
</ResponseExample>
