Send private reply
Send a private message to the author of a comment. Supported on Instagram and Facebook only. One reply per comment, must be sent within 7 days. Optionally attach interactive elements: `quickReplies` (chips above the keyboard, max 13) or `buttons` (1-3 inline postback/url buttons rendered in the same bubble via Meta's button_template). Buttons are recommended for cold reach since chips do not render in the Instagram Message Requests folder. `quickReplies` and `buttons` are mutually exclusive.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
The media/post ID (Instagram media ID or Facebook post ID)
The comment ID to send a private reply to
The social account ID (Instagram or Facebook)
The message text to send as a private DM
Optional quick-reply chips appended to the message. Visible only in the
Instagram and Messenger apps (not on web). Maximum 13 entries. Mutually
exclusive with buttons. Note: chips do NOT render in the Instagram
Message Requests folder where DMs from non-followers land — use buttons
instead for cold reach.
items <= 13Optional 1-3 inline buttons rendered as part of the same message bubble
via Meta's button_template. Visible in the Instagram Message Requests
folder (unlike quick replies). Mutually exclusive with quickReplies.
1 <= items <= 3Response 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.sendPrivateReplyToComment({ path: { postId: 'post_abc123', commentId: 'comment_abc123', }, body: { accountId: 'account_abc123', message: 'Hello, world!', },});console.log(data);{
"status": "success",
"messageId": "string",
"commentId": "string",
"platform": "instagram"
}{
"error": "Private replies to comments are only supported on Instagram and Facebook.",
"code": "PLATFORM_LIMITATION"
}{
"error": "Unauthorized"
}