Instagram Interactions

Hide, like or pin a comment (multi-platform)

Moderate a comment on one of your own posts. One endpoint, because every action is a verb that carries its own inverse: hide/unhide, like/unlike, pin/unpin. You send the verb, never a boolean, so replaying a request can never flip a comment back. Only tiktok acts on comments today; any other platform answers 400 with error_code platform_not_supported. TikTok requires the comments capability (a reconnected account).

post/uploadposts/comments/action

Request body

platform'tiktok' required

The network to act on. Only tiktok today.

userstring required

Profile username as configured in Upload-Post.

comment_idstring required

The comment to act on.

action'hide' | 'unhide' | 'like' | 'unlike' | 'pin' | 'unpin' required

The verb to apply. Send the inverse verb to undo it.

post_idstring

The post the comment hangs from. Required for hide, unhide, pin and unpin; do not send it for like/unlike, which resolve from the comment alone.

Response

Action applied.

successboolean
platformstring
actionstring
comment_idstring

Example response

{
  "success": true,
  "platform": "tiktok",
  "action": "hide",
  "comment_id": "7401234567890999888"
}

Changes