comment.reply is sent when a new nested comment directly replies to a comment written by a profile selected on the endpoint.
Delivery target
The envelope’sprofile_id is the author of the parent comment. The profile does not need to own the original post.
No event is sent when a profile replies to its own comment.
Data object
data contains exactly one field:
The reply is represented by the normal comment entity. Its
parent_comment_id identifies the selected profile’s comment that received the reply.
data.comment fields
Example delivery
Retrieve related resources
The new reply is already available asdata.comment. Retrieve the post and comment list when you need the parent comment, its author profile, or the rest of the discussion:
data.comment.parent_comment_id.
Respond as the parent-comment author
Reply to the new comment, not the original parent:profile_id and grant comments:write, comments:all, all:write, or all:all.
If the selected profile also owns the post, the same action is not duplicated as comment.created for that profile.