Skip to content

Posts

Create, list, inspect, edit, version, and remove project posts from the CLI.

Manage progress update posts. Alias: pf po

pf posts listList posts, optionally filtered by project or status

alias: pf po ls

Options

  • --projectstring

    Filter by project ID. A linked or default project applies when omitted.

  • --statusstring

    Filter by status: draft or published (default published)

  • --limitnumber

    Max number of results

  • --cursorstring

    Cursor for pagination

  • --authorstring

    Only posts by this user ID, or me

  • --tagstring

    Only posts with this tag ID. Not allowed with --updated-since or --include-deleted

  • --querystring

    Words to find in the title or text. Not allowed with --updated-since or --include-deleted

  • --created-afterstring

    Only posts created after this time, as an ISO 8601 time with a timezone or Unix milliseconds. Also --created-before, --published-after, and --published-before

  • --updated-sincestring

    Only posts changed after this time, oldest change first. To poll, use the largest updatedAt you have seen minus 5 seconds and skip posts you already have. Lists by updatedAt, so --sort can only be updatedAt

  • --include-deletedboolean

    Include deleted posts. Lists by updatedAt, so --sort can only be updatedAt

  • --has-releasestring

    true for posts with release details, false for posts without

  • --release-typestring

    release, beta, or alpha

  • --created-viastring

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

  • --includestring

    Comma-separated extras: tags, attachments, links, counts

  • --sortstring

    createdAt, updatedAt, or lastPublishedAt sorts every post on the server. Any other field sorts the page you fetched

  • --reverseboolean

    Reverse sort order

Example

Shell
pf posts list --project abc123
pf po ls --status draft --limit 5
pf posts list --author me --sort lastPublishedAt --include tags,counts
pf posts createCreate a new post. In a terminal, missing title, content, or project are prompted for. Without a terminal, the command fails when any is missing.

alias: pf po create

Options

  • --titlestringrequired

    Post title, up to 200 characters

  • --contentstringrequired

    Post content (plain text)

  • --projectstringrequired

    Project ID to post in. Not needed when a linked or default project is set.

  • --statusstring

    Initial status: draft or published (default draft)

  • --publishboolean

    Publish immediately

  • --release-versionstring

    Release version, free text up to 40 characters. Needs --release-type

  • --release-typestring

    release, beta, or alpha

  • --release-compatstring

    Compatibility note, up to 120 characters

  • --download-urlstring

    https download link

  • --download-labelstring

    Download button label, up to 40 characters. Needs --download-url

  • --idempotency-keystring

    Reuse when retrying so only one post is created

  • --filestring

    Attach a file. Repeat for up to 10 files. They upload before the post is created, so it appears with all of them

  • --beforestring

    Before image or GIF of a before/after pair, shown as one image with a divider to drag. Repeat for more pairs; each matches the --after in the same position

  • --afterstring

    After image or GIF of a before/after pair

  • --before-labelstring

    Label for a pair's before side, up to 40 characters (default Before). Repeat in pair order

  • --after-labelstring

    Label for a pair's after side, up to 40 characters (default After). Repeat in pair order

Example

Shell
pf posts create --title "Sprint Update" --content "The canal gate is ready for review." --project abc123 --publish
pf posts create --title "Release notes" --content "What changed." --project abc123 --release-version 2.4.0 --release-type beta --download-url https://example.com/app.dmg
pf posts create --title "New screenshots" --content "Two captures from today." --project abc123 --publish --file day.png --file night.png
pf posts create --title "Lighting pass" --content "Night lighting is in." --project abc123 --publish --before day.png --after night.png --before-label Day --after-label Night
pf posts view [id]View post details. Accepts a post number or full ID.

alias: pf po show

Options

  • --includestring

    Comma-separated extras: tags, attachments, providerFiles, counts, viewer

Example

Shell
pf posts view 3 --include tags,counts
pf po show    # interactive picker
pf posts edit [id]Update a post

alias: pf po update

Options

  • --titlestring

    New title

  • --contentstring

    New content

  • --statusstring

    New status

  • --move-to-projectstring

    Move post to a different project

  • --release-versionstring

    Release version, free text up to 40 characters. Replaces all release details, so pass --release-type too

  • --release-typestring

    release, beta, or alpha

  • --release-compatstring

    Compatibility note, up to 120 characters

  • --download-urlstring

    https download link

  • --download-labelstring

    Download button label, up to 40 characters. Needs --download-url

  • --clear-releaseboolean

    Remove the post's release details

Example

Shell
pf posts edit 3 --title "Updated Sprint Recap"
pf posts edit 3 --release-version 2.4.1 --release-type release
pf posts edit 3 --clear-release
pf posts restore <id>Restore a deleted post along with the comments deleted with it. Accepts a post number or full ID.

Example

Shell
pf posts restore 3
pf posts share-links list [post]List a post's share links. Without a post, workspace owners and admins list every share link in the workspace. The list never shows link URLs or tokens.

alias: pf po shares ls

Options

  • --statusstring

    active, expired, or revoked. Workspace list only

  • --limitnumber

    Max number of results

  • --cursorstring

    Cursor for pagination

Example

Shell
pf posts share-links list 3
pf posts share-links list --status active
pf posts share-links create <post>Create a public share link for a published post you wrote. Prints the link URL once; no other command or request returns it.

Options

  • --labelstring

    Label, up to 100 characters

  • --expires-in-daysnumber

    Days until the link expires, from 1 to 365

  • --no-expiryboolean

    Create a link that never expires, if the workspace allows it

  • --allow-commentsboolean

    Let visitors comment

  • --allow-downloadsboolean

    Let visitors download files

  • --idempotency-keystring

    Reuse when retrying so only one link is created

Example

Shell
pf posts share-links create 3 --label "Client review" --expires-in-days 14 --allow-comments
pf posts share-links revoke <post> <link>Revoke a share link so its URL stops working

Options

  • --confirmboolean

    Skip confirmation prompt

Example

Shell
pf posts share-links revoke 3 shr_abc123 --confirm
pf posts provider-files remove <post> <provider> <externalId>Remove a Figma or Google Drive file from a post. Only the post author can. Take the provider and externalId from the post's providerFiles.

Options

  • --confirmboolean

    Skip confirmation prompt

Example

Shell
pf posts provider-files remove 3 figma 4XyZabc123 --confirm
pf posts activity <id>Show what happened to a post, newest first. Comments are not included.

Options

  • --limitnumber

    Max number of events, 1 to 100 (default 50)

  • --cursorstring

    Cursor for pagination

Example

Shell
pf posts activity 3
pf posts bookmarksList the posts you bookmarked, newest bookmark first

Options

  • --limitnumber

    Max number of bookmarks, 1 to 100 (default 50)

  • --cursorstring

    Cursor for pagination

Example

Shell
pf posts bookmarks
pf posts bookmark <id>Bookmark a post for yourself. Works for every role.

Options

  • --removeboolean

    Remove the bookmark instead

Example

Shell
pf posts bookmark 3
pf posts bookmark 3 --remove
pf posts delete [id]Delete a post

alias: pf po rm

Options

  • --confirmboolean

    Skip confirmation prompt

  • --dry-runboolean

    Preview without deleting

Example

Shell
pf posts delete 3 --confirm
pf posts publish [id]Publish a draft post so it appears in the project feed

Example

Shell
pf posts publish 3
pf posts unpublish [id]Revert a published post back to draft

Example

Shell
pf posts unpublish 3
pf posts follow <id>Follow a post to be notified about its activity, or mute it to stop those notifications

Options

  • --muteboolean

    Mute the post instead of following it

Example

Shell
pf posts follow 3
pf posts follow 3 --mute
pf posts tasks <id>List the tasks linked to a post, newest link first. A page can hold fewer tasks than the limit when some are in projects you cannot open. Needs the posts:read and tasks:read scopes

Options

  • --limitnumber

    Tasks per page, 1 to 100 (default 50)

  • --cursorstring

    Continue from a previous page

  • --pageboolean

    With --json, return the page metadata (hasMore, nextCursor) along with the tasks

Example

Shell
pf posts tasks 3
pf posts tasks 3 --json --page --cursor '<nextCursor>'
pf posts link-attachments <post>List the web links attached to a post, with each link's ID, status, and page title

Example

Shell
pf posts link-attachments 3
pf posts attach-link <post> <url>Attach a web link to a post. Only http and https links work, a post holds up to 20, and attaching a link that is already there changes nothing. Only the post's author can add or remove links

Options

  • --idempotency-keystring

    Retry-safe request key. Running the command again with the same key returns the first result

Example

Shell
pf posts attach-link 3 https://example.com/spec
pf posts detach-link <post> <linkId>Remove a web link from a post. Find the link ID with pf posts link-attachments

Example

Shell
pf posts detach-link 3 <link-id>

Post versions

Publish a new version when the work changes, so reviewers can compare it with earlier ones. Only the post author can publish. Files passed with --file upload into the new version only. Files passed with --replace take the place of a current file, and reviewers can compare them with the file they replace. Earlier versions keep their media. Alias: pf po ver

pf posts versions list <post>List a post's versions, newest first

alias: pf po ver ls

Options

  • --limitnumber

    Max number of results (max 50, default 20)

  • --cursornumber

    Cursor for pagination

Example

Shell
pf posts versions list 3
pf posts versions view <post> <version>View one version by number or ID, with its media

alias: pf po ver show

Example

Shell
pf posts versions view 3 v2
pf posts versions publish <post>Publish a new version of a post you wrote. Title, content, and media carry over unless you change them.

Options

  • --expected-updated-atnumber

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

  • --titlestring

    New title

  • --contentstring

    New content

  • --notestring

    What changed (max 500 chars)

  • --filestring

    Upload a file into the new version. Repeat for more files.

  • --replacestring

    Replace a current file with an upload that takes its position. Repeat for more. Do not also pass the media ID to --media-id.

  • --media-idstring

    Keep this current media, in order. Repeat for more; unlisted media is dropped.

  • --drop-mediaboolean

    Start the new version without the current media

  • --idempotency-keystring

    Reuse when retrying so only one version is created

Example

Shell
pf posts versions publish 3 --file hero-v2.png --note "Recolored the hero"
pf posts versions publish 3 --replace <media-id>=hero-v2.png --note "Recolored the hero"
pf posts versions publish 3 --media-id <media-id> --note "Dropped the old render"

Create and verify a post

  1. 1.

    Create a draft

    Resolve the project and create the post as a draft. In automation, pass title, content, project, and status explicitly.

  2. 2.

    Check it

    View the returned post ID and verify the title, project, author, and draft status before attaching files or adding links. Drafts are not listed in the project feed. pf posts create and pf posts view print a link that opens the draft in Project Feed, where only you can see it.

  3. 3.

    Upload files

    Upload each file with exactly one parent flag. List the post's media and confirm the returned file names and parent IDs.

  4. 4.

    Publish and view again

    Publishing can notify and expose the post to its project audience, so a successful command is not the final verification.

Shell
pf posts create --project <project-id> --title "Sprint review" --content "Review notes are attached below." --status draft --json
pf posts view <post-id> --json
pf media upload review.pdf --post <post-id>
pf media list --post <post-id> --json
pf posts publish <post-id>
pf posts view <post-id> --json

Fix post problems

A post number resolves incorrectly
Pass the project explicitly or use the full post ID. A short post number needs the intended project context when it is not globally unique.
A published post should not be visible
Run pf posts unpublish by exact ID, then view the record and confirm draft status. Check separately published portal versions and share links.
A destructive command targets the wrong content
Stop before confirmation, view the full resource ID, and rerun with --dry-run. Do not depend on an interactive picker in scripts.

Next steps

Image preview
100%