Hide or unhide a comment
Changed onHides (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).
Request
- Base URLhttps://api.omnisocials.com/v1
- URLhttps://api.omnisocials.com/v1/inbox/messages/{id}/hide
- AuthHTTP bearer
Path parameters
The inbox message id (from the conversation messages list).
Request body
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.
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
- info
added the optional property
/to the response with the status
- info
- info
added the non-success response with the status
- info