> ## Documentation Index
> Fetch the complete documentation index at: https://docs.captureflow.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Comments

> Read and add review comments on posts, and get a message when a client comments.

People review a post in CaptureFlow by leaving comments on its text: on one platform's text, of the post itself or of one of its versions, optionally about a few selected words. An AI assistant can read them, add its own, resolve threads, and check for new ones.

## Read and add

* `GET /v1/posts/{id}/comments` (`list_post_comments`, scope `posts:read`): the threads (a first comment and its replies) for every platform and version, or one `platform` / `version_id`. `author.is_client` tells the client's comments from the agency's. Comment text comes back as [untrusted content](https://docs.captureflow.ai/guides/conventions.md).
* `POST /v1/posts/{id}/comments` (`create_post_comment`, scope `posts:write`): a comment on one `platform`'s text, or a reply (`parent_id` = the thread's first comment). It is written as you, the signed-in person, never as the client you work for.
* `PATCH /v1/posts/{id}/comments/{comment_id}` (`update_post_comment`): change the text (your own comments only) or `resolved: true | false` (anyone but a viewer, on a thread's first comment).
* `DELETE /v1/posts/{id}/comments/{comment_id}` (`delete_post_comment`): your own comments only. The thread keeps its place.

Owners, admins and viewers reach every post in the workspace (an agency doesn't need `as_user` for a client's post); members reach their own posts.

## Get a message when a client comments

`GET /v1/comments` (`list_new_comments`) returns the comments added since your last check, across **every workspace where you are an owner or admin** (an agency and all its clients), or one `workspace_id`. It gives where and who (workspace, post, its status and link, author), never the text: read that with `list_post_comments`, or open the link.

**1. First check**

Call it with `author=client` and no `since`: it starts from now and returns `next_since`. Keep it.

**2. Every next check**

Pass the kept value as `since`. You get only what is new, oldest first, each comment once. While `has_more` is true, call again at once. Keep the new `next_since` each time, even when nothing came back.

**3. Tell your team**

For each item, send a message with the workspace name, the post title and `post.app_url`.

A scheduled task in Claude (or any assistant that runs on a schedule, with CaptureFlow and your team chat connected) can do this, for example every hour:

```text theme={null}
Check CaptureFlow for new client comments: call list_new_comments with author=client and
since = the value saved in "captureflow-comments-since" (none the first time). For each new
comment, send one ClickUp message to the channel "Client comments": "<client> commented on
"<post title>": <app_url>". Then save next_since as "captureflow-comments-since".
```

`since` can also be an ISO time (at most 30 days back), e.g. to catch up after a pause. Comments younger than a few seconds wait for the next check, so none is missed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.