Comments and reactions
Add comments and reactions to posts with pf. List, edit, or delete comments from a script or terminal.
Comments
Add, edit, and delete comments on posts, reply in threads, and review media with annotations you can resolve or turn into tasks. Alias: pf c
pf comments list [postId]List comments and annotations on a post, or across every post you can read when no post is given. Follows every page unless --limit or --cursor is set.
alias: pf c ls
Options
--projectstringWorkspace list only: comments on posts in this project
--review-statusstringOnly annotations with this review status: comment, needs_changes, approved, question, or suggestion
--authorstringOnly comments by this user ID, or me
--created-viastringweb, api, slack_bot, discord_bot, ai_aggregation, inbound_webhook, or mobile
--sincestringOnly comments created after this time, as an ISO 8601 time with a timezone or Unix milliseconds
--orderstringasc or desc
--includestringattachments adds each comment's files
--attachmentstringOnly annotations on this media item and their replies
--statusstringopen or resolved annotations
--annotated / --plainbooleanOnly annotations, or only comments that are not
--replies-tostringOnly replies to this comment
--limit / --cursorstringReturn one page, or continue from nextCursor
Example
pf comments list 3
pf c ls 3 --status open --attachment att_xyz789
pf comments list --review-status needs_changes --status open --project websitepf comments wait <postId>Hold the request open until a comment or annotation is created on the post, then print it. Run it again with the printed since to keep listening.
Options
--sincestringReturn comments created after this time. Default is now. Use the printed since to continue
--timeoutnumberSeconds to wait, 0 to 50 (default 25)
--attachmentstringOnly annotations on this media item and their replies
--annotatedbooleanOnly annotations
Example
pf comments wait 3 --timeout 30 --jsonpf comments resolve-all <postId>Resolve every open annotation on one media item. The post's author or a workspace admin can run it.
Options
--attachmentstringrequiredMedia item whose annotations to resolve
--confirmbooleanSkip confirmation prompt
Example
pf comments resolve-all 3 --attachment att_xyz789 --confirmpf comments view <postId> <commentId>Show one comment with its annotation, review status, and linked task
Example
pf comments view 3 comment123 --jsonpf comments add <postId>Add a comment or reply, or pin an annotation to one of the post's media items
alias: pf c add
Options
--contentstringComment text; required unless --attachment is set
--reply-tostringParent comment ID for threading
--attachmentstringMedia item to annotate
--x / --ynumberPosition in percent (0-100) of the media width and height
--time-ms / --end-time-msnumberVideo, audio, Lottie, or Rive time or time range in milliseconds
--frame / --end-framenumber0-based frame or frame range for sprites, GIFs, and 3D
--pagenumber1-based page of a PDF or other document
--review-statusstringcomment, needs_changes, approved, question, or suggestion
--linesstringLine range in a text or code file, such as 12-18
Example
pf comments add 3 --content "Great progress!"
pf c add 3 --content "Agreed" --reply-to comment123
pf c add 3 --attachment att_xyz789 --x 42 --y 18 --content "Crop tighter"
pf c add 3 --attachment att_video456 --time-ms 12500 --review-status needs_changes --content "Audio pops"pf comments edit <postId> <commentId>Edit a comment, move an annotation, or change its review status
Options
--expected-updated-atnumberSource updatedAt in Unix milliseconds; fails if the source changed.
--contentstringNew comment text
--x / --ynumberPosition in percent (0-100) of the media width and height
--time-ms / --end-time-msnumberVideo, audio, Lottie, or Rive time or time range in milliseconds
--frame / --end-framenumber0-based frame or frame range for sprites, GIFs, and 3D
--pagenumber1-based page of a PDF or other document
--review-statusstringcomment, needs_changes, approved, question, or suggestion
Example
pf comments edit 3 comment123 --content "Updated feedback"
pf comments edit 3 comment123 --review-status approved
pf comments edit 3 comment123 --time-ms 4000 --end-time-ms 6000pf comments resolve <postId> <commentId>Mark an annotation as resolved
Example
pf comments resolve 3 comment123pf comments reopen <postId> <commentId>Reopen a resolved annotation
Example
pf comments reopen 3 comment123pf comments to-task <postId> <commentId>Create a task from an annotation, or link it to an existing task
Options
--titlestringTitle for a new task
--taskstringLink an existing task instead
--priority / --status / --assignee / --due-datestringFields for the new task
Example
pf comments to-task 3 comment123 --title "Fix the logo crop" --priority highpf comments delete <postId> <commentId>Delete a comment from a post
alias: pf c rm
Options
--expected-updated-atnumberSource updatedAt in Unix milliseconds; fails if the source changed.
--confirmbooleanSkip confirmation prompt
--dry-runbooleanPreview without deleting
Example
pf comments delete 3 comment123 --confirmReactions
Toggle reactions on posts and comments. Alias: pf r
pf reactions list <postId>List reaction counts on a post or one of its comments
alias: pf r ls
Options
--commentstringList reactions on this comment or annotation
--usersbooleanPost reactions only: include who reacted
Example
pf reactions list 3
pf r ls 3 --comment comment123
pf reactions list 3 --userspf reactions customList the workspace's custom reactions
Options
--limitnumberMax number of results, 1 to 200
--cursorstringCursor for pagination
Example
pf reactions custompf reactions custom-delete <id>Delete a custom reaction. Only workspace owners and admins can delete one.
Options
--confirmbooleanSkip confirmation prompt
Example
pf reactions custom-delete crx_abc123 --confirmpf reactions toggle <postId> <emoji>Toggle a reaction on a post or comment. Use standard emoji or custom:name format.
alias: pf r add
Options
--commentstringReact to this comment or annotation instead of the post
Example
pf reactions toggle 3 🚀
pf r add 3 custom:fire
pf r add 3 👍 --comment comment123Reply to comments
- List comments first and use the exact comment ID for edits, deletes, and
--reply-to. - Run
pf comments to-taskwhen someone needs to follow up on an annotation, andpf comments resolveonce the feedback is addressed. - Use reactions for acknowledgment. The toggle command removes your reaction when the same emoji is already present.
- Preview comment deletion with
--dry-runand verify the post and comment IDs before confirmation.
Fix comment problems
- A comment reply starts a new thread
- List comments, copy the parent comment ID, and pass it to --reply-to. A display order or truncated table row is not a stable thread identifier.
- A comment delete targets the wrong comment
- Stop before confirmation, view the post and comment IDs, and rerun with --dry-run.