post.comment.created
Fired when a comment is added to a post
All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.
PropType
typestring
The event type (e.g. post.comment.created).
Type
stringdataobject
Event-specific payload for this webhook.
Type
objectdata.commentobject
The comment.
Type
objectdata.comment.idstring
Comment ID.
Type
stringdata.comment.messagestring
Comment message text.
Type
stringdata.comment.postobject
Post the comment was added to. Contains id, title, and url.
Type
objectdata.comment.workspaceobject
Workspace the post belongs to. Contains id, slug, and name.
Type
objectdata.comment.createdByobject
User who added the comment. Contains id, firstName, lastName, and email.
Type
objectdata.comment.createdAtstring
ISO 8601 timestamp when the comment was created.
Type
stringcreatedAtstring
ISO 8601 timestamp when the webhook event was created.
Type
string{
"type": "post.comment.created",
"data": {
"comment": {
"id": "550e8400-e29b-41d4-a716-446655440050",
"message": "Looks good! Let's add a CTA at the end.",
"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:00:00.000Z"
}
},
"createdAt": "2025-02-26T16:00:00.000Z"
}