Inbox

Hide or unhide a comment

Changed on

Hides (or unhides) a comment someone left on one of your posts, on the platform, as the post owner. Facebook, Instagram, TikTok, YouTube and Threads comments (Threads: incoming top-level replies only; Threads does not allow hiding nested replies). On YouTube "hide" sets the comment's moderation status to rejected, which removes it and its replies from public view; unhide publishes it again. The message keeps its place in the conversation and hidden flips on the returned message. A hidden comment no longer counts as unanswered. The account must have been connected with the moderation permission (Facebook pages_manage_engagement, Instagram instagram_business_manage_comments); 403 reconnect_required otherwise. Requires the inbox:write scope (API keys) or the access_social_inbox permission (OAuth/MCP).

post/inbox/messages/{id}/hide

Request

  • Base URL
    https://api.omnisocials.com/v1
  • URL
    https://api.omnisocials.com/v1/inbox/messages/{id}/hide
  • Auth
    HTTP bearer

Path parameters

idstring required
Example:88231

The inbox message id (from the conversation messages list).

Request body

hideboolean

true to hide, false to unhide

Response

Reply hidden or unhidden. On Facebook/Instagram, if the platform reports the comment no longer exists (its author deleted it, or it was already removed another way), this still returns 200 (there is nothing left to hide, and it stops counting as unanswered), but the response carries a note explaining that instead of silently implying the call hid something.

notestring nullable

Present only when the comment was already gone on the platform; explains that nothing was left to hide/unhide.

Example response

{
  "data": {
    "id": "88231",
    "conversation_id": "instagram_comment_17912345678901234",
    "platform": "instagram",
    "type": "comment",
    "text": "What size is this?",
    "timestamp": "2026-10-21T09:00:00.000Z",
    "attachment": {
      "url": "https://example.com/photo.jpg"
    },
    "sender": {
      "name": "Jamie Rivera",
      "username": "jamierivera",
      "profile_picture": "https://example.com/avatar.jpg"
    },
    "post": {
      "id": "17912345678901234",
      "caption": "Our autumn menu is here. #autumnmenu",
      "thumbnail": "https://example.com/photo.jpg",
      "url": "https://www.instagram.com/p/Cxyz123ABC/",
      "media_type": "IMAGE"
    }
  }
}

Changes