Skip to main content
POST
Needs comments:update and posts:update, and a role in the post’s workspace that can edit posts (a Client’s can’t). See Permissions.
A team comment can carry a suggested edit (suggestion): the words of the post now (from) and what they become (to). Accepting it changes those words in the post’s shared text, in the content item the comment’s anchor names, and saves the post as the composer saves it: a new content_version, with every file and setting kept. Accepting publishes nothing, and it is an edit like any other. On a post a client asked changes on, send it back to them when you’re ready. On a post waiting for approval, its approvers are told it changed once nobody has changed it for 10 minutes. With client sign-off on, a scheduled post it changes waits for the client again before it goes out, as after any edit; a post a publisher sent on without approval doesn’t (Approve a post). Someone who can’t publish can’t change a scheduled post, so their accept on one is refused with 403. When the words appear more than once in the item, the copy the suggestion picked (its occurrence when it was made) is the one that changes. If the post changed so that copy can’t be told apart any more, the answer is 422 and the suggestion stays open. The suggestion becomes accepted and its thread is resolved. Send the content_version you read with Get a post to be refused with 409 (post_changed_elsewhere) if the post changed since. If the words aren’t in the post any more, the answer is 422 and the suggestion stays open: change the post yourself, or dismiss it. While client approvals are off for the workspace, the answer is 403 with the message Client approvals aren't turned on for this workspace yet.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

comment
integer
required

The comment's id.

Body

application/json
content_version
integer | null

The post's content_version you read. Left out, the edit goes in on whatever the post holds now.

Required range: x >= 0

Response

Accepted: the comment, and the post's new version and text.

data
object
required

A comment on a post: from a network (source: SOCIAL), or written in PostSyncer (team, approval and share-link comments). mentions, media, replies and user are left out of a reply's parent_comment.

post
object
required
message
string
required