Skip to content
Ordinal
Esc
↑↓navigate↵open⌘Jpreview

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.

SENDpost.inline_comment.created
Message
application/json
typestring

The event type (e.g. post.inline_comment.created).

dataobject

Event-specific payload for this webhook.

Show properties
commentobject

The inline comment.

Show properties
threadInlineCommentThread

The inline comment thread. Contains id, channel (channel the highlighted text is in), highlightedText (the anchored text), resolved, createdAt, and updatedAt.

Show properties
idstring<uuid>

Thread ID.

channelstring

Channel the highlighted text is in.

highlightedTextstring

The anchored text.

resolvedboolean

Whether the thread is resolved.

createdAtstring<date-time>

When the thread was created.

updatedAtstring<date-time> | null

When the thread was last updated. Null when it has not been updated.

idstring

Comment ID.

messagestring

Comment message text.

postPostSummary

Post the comment was added to. Contains id, title, and url.

Show properties
idstring<uuid>

Post ID.

titlestring

Post title.

urlstring<uri>

Ordinal post URL.

workspaceWorkspace

Workspace the post belongs to. Contains id, slug, and name.

Show properties
idstring<uuid>

Workspace ID.

slugstring

Workspace slug.

namestring

Workspace name.

createdByUser

User who added the comment. Contains id, firstName, lastName, and email.

Show properties
idstring<uuid>

User ID.

firstNamestring | null

First name. Can be null.

lastNamestring | null

Last name. Can be null.

emailstring<email>

Email address.

createdAtstring<date-time>

ISO 8601 timestamp when the comment was created.

createdAtstring<date-time>

ISO 8601 timestamp when the webhook event was created.

Message
{
  "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"
}