comments
Delete comment
Delete a comment on a post. Supported by Facebook, Instagram, Bluesky, Reddit, YouTube, and LinkedIn. Requires accountId and commentId query parameters.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
postIdstring
Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
Query Parameters
accountIdstring
commentIdstring
Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.comments.deleteInboxComment({ path: { postId: 'post_abc123', }, query: { accountId: 'account_abc123', commentId: 'comment_abc123', },});console.log(data);{
"success": true,
"data": {
"message": "string"
}
}{
"error": "string"
}{
"error": "Unauthorized"
}Empty
Get post comments GET
Fetch comments for a specific post. Requires accountId query parameter.
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.