Skip to content

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

  • --projectstring

    Workspace list only: comments on posts in this project

  • --review-statusstring

    Only annotations with this review status: comment, needs_changes, approved, question, or suggestion

  • --authorstring

    Only comments by this user ID, or me

  • --created-viastring

    web, api, slack_bot, discord_bot, ai_aggregation, inbound_webhook, or mobile

  • --sincestring

    Only comments created after this time, as an ISO 8601 time with a timezone or Unix milliseconds

  • --orderstring

    asc or desc

  • --includestring

    attachments adds each comment's files

  • --attachmentstring

    Only annotations on this media item and their replies

  • --statusstring

    open or resolved annotations

  • --annotated / --plainboolean

    Only annotations, or only comments that are not

  • --replies-tostring

    Only replies to this comment

  • --limit / --cursorstring

    Return one page, or continue from nextCursor

Example

Shell
pf comments list 3
pf c ls 3 --status open --attachment att_xyz789
pf comments list --review-status needs_changes --status open --project website
pf 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

  • --sincestring

    Return comments created after this time. Default is now. Use the printed since to continue

  • --timeoutnumber

    Seconds to wait, 0 to 50 (default 25)

  • --attachmentstring

    Only annotations on this media item and their replies

  • --annotatedboolean

    Only annotations

Example

Shell
pf comments wait 3 --timeout 30 --json
pf comments resolve-all <postId>Resolve every open annotation on one media item. The post's author or a workspace admin can run it.

Options

  • --attachmentstringrequired

    Media item whose annotations to resolve

  • --confirmboolean

    Skip confirmation prompt

Example

Shell
pf comments resolve-all 3 --attachment att_xyz789 --confirm
pf comments view <postId> <commentId>Show one comment with its annotation, review status, and linked task

Example

Shell
pf comments view 3 comment123 --json
pf 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

  • --contentstring

    Comment text; required unless --attachment is set

  • --reply-tostring

    Parent comment ID for threading

  • --attachmentstring

    Media item to annotate

  • --x / --ynumber

    Position in percent (0-100) of the media width and height

  • --time-ms / --end-time-msnumber

    Video, audio, Lottie, or Rive time or time range in milliseconds

  • --frame / --end-framenumber

    0-based frame or frame range for sprites, GIFs, and 3D

  • --pagenumber

    1-based page of a PDF or other document

  • --review-statusstring

    comment, needs_changes, approved, question, or suggestion

  • --linesstring

    Line range in a text or code file, such as 12-18

Example

Shell
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-atnumber

    Source updatedAt in Unix milliseconds; fails if the source changed.

  • --contentstring

    New comment text

  • --x / --ynumber

    Position in percent (0-100) of the media width and height

  • --time-ms / --end-time-msnumber

    Video, audio, Lottie, or Rive time or time range in milliseconds

  • --frame / --end-framenumber

    0-based frame or frame range for sprites, GIFs, and 3D

  • --pagenumber

    1-based page of a PDF or other document

  • --review-statusstring

    comment, needs_changes, approved, question, or suggestion

Example

Shell
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 6000
pf comments resolve <postId> <commentId>Mark an annotation as resolved

Example

Shell
pf comments resolve 3 comment123
pf comments reopen <postId> <commentId>Reopen a resolved annotation

Example

Shell
pf comments reopen 3 comment123
pf comments to-task <postId> <commentId>Create a task from an annotation, or link it to an existing task

Options

  • --titlestring

    Title for a new task

  • --taskstring

    Link an existing task instead

  • --priority / --status / --assignee / --due-datestring

    Fields for the new task

Example

Shell
pf comments to-task 3 comment123 --title "Fix the logo crop" --priority high
pf comments delete <postId> <commentId>Delete a comment from a post

alias: pf c rm

Options

  • --expected-updated-atnumber

    Source updatedAt in Unix milliseconds; fails if the source changed.

  • --confirmboolean

    Skip confirmation prompt

  • --dry-runboolean

    Preview without deleting

Example

Shell
pf comments delete 3 comment123 --confirm

Reactions

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

  • --commentstring

    List reactions on this comment or annotation

  • --usersboolean

    Post reactions only: include who reacted

Example

Shell
pf reactions list 3
pf r ls 3 --comment comment123
pf reactions list 3 --users
pf reactions customList the workspace's custom reactions

Options

  • --limitnumber

    Max number of results, 1 to 200

  • --cursorstring

    Cursor for pagination

Example

Shell
pf reactions custom
pf reactions custom-delete <id>Delete a custom reaction. Only workspace owners and admins can delete one.

Options

  • --confirmboolean

    Skip confirmation prompt

Example

Shell
pf reactions custom-delete crx_abc123 --confirm
pf reactions toggle <postId> <emoji>Toggle a reaction on a post or comment. Use standard emoji or custom:name format.

alias: pf r add

Options

  • --commentstring

    React to this comment or annotation instead of the post

Example

Shell
pf reactions toggle 3 🚀
pf r add 3 custom:fire
pf r add 3 👍 --comment comment123

Reply to comments

  • List comments first and use the exact comment ID for edits, deletes, and --reply-to.
  • Run pf comments to-task when someone needs to follow up on an annotation, and pf comments resolve once 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-run and 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.

Next steps

Image preview
100%