Inbox

Hide a comment

Hides a comment so only its author still sees it. Requires a read-write API key and the account's comment-management scope. canHide on the comment says whether the platform allows it: Facebook reports it per comment, and Threads only supports hiding top-level replies on the connected account's own posts — hiding one there also hides the replies beneath it.

post/v1/inbox/comments/{postId}/{commentId}/hide

Request

  • Base URL: https://api.postzen.dev
  • URL: https://api.postzen.dev/v1/inbox/comments/{postId}/{commentId}/hide
  • Auth: HTTP bearer

Request body

accountIdstring required

PostZen account id of the connected Instagram, Facebook, or Threads account that owns the post.

Response

Comment hidden.

status'success' required
commentIdstring required

Platform id of the comment.

hiddenboolean required

The comment's hidden state after the call.

platform'instagram' | 'facebook' | 'threads' required

Platform the comment lives on.

Changes

No recorded changes to this operation across all 1 revision of this API.