Inbox

Delete a comment

Changed on

Deletes a comment someone left on one of your posts, on the platform and from the inbox. Facebook, Instagram and TikTok comments only: YouTube's API does not let a channel delete other people's comments, hide those instead (POST /inbox/messages/{id}/hide). Replies under the deleted comment go with it (the platforms cascade the delete and the inbox mirrors that); their ids are returned. A comment that is already gone on the platform is still removed from the inbox. This cannot be undone. Requires the inbox:write scope (API keys) or the access_social_inbox permission (OAuth/MCP).

delete/inbox/messages/{id}

Request

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

Path parameters

idstring required
Example:88231

The inbox message id (from the conversation messages list or GET /inbox/next).

Response

Comment deleted

Example response

{
  "data": {
    "id": "88231",
    "conversation_id": "instagram_comment_17912345678901234",
    "removed_reply_ids": [
      "88240"
    ]
  }
}

Changes