Edit comment
Edit the body of a comment the connected account posted. Supported on Reddit only.
Reddit keeps the same comment id after an edit. Reddit exposes no API to edit a post
title, and a link post has no editable body. To edit a published post's body, use
POST /v1/posts/{postId}/edit.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
The social account ID
Only Reddit supports editing a comment
"reddit"The new comment body
1 <= lengthResponse Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.comments.editInboxComment({ path: { postId: 'post_abc123', commentId: 'comment_abc123', }, body: { accountId: 'account_abc123', platform: 'reddit', content: 'Hello, world!', },});console.log(data);{
"status": "success",
"commentId": "t1_xyz789",
"platform": "reddit"
}{
"error": "Unauthorized"
}Delete comment DELETE
Delete a comment on a post. Supported by Facebook, Instagram, Bluesky, Reddit, YouTube, and LinkedIn. Requires accountId and commentId query parameters.
Hide comment POST
Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.