Inbox comments

Send private reply

Send a direct 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). Chips do not render in the Instagram Message Requests folder. Instagram can refuse buttons, cards and attachments to commenters who do not follow the account (Meta code 2, subcode 1545133, returned here as a non-retryable 400 that says so). The refusal is uneven: most accounts do not get it, an affected account gets it on many of its non-followers, and only that account's own past refusals show whether it is affected. The failed call still consumes the comment's single private reply. On an affected account, send plain text to reach non-followers and add buttons once they reply. quickReplies and buttons are mutually exclusive. When the comment's single private reply is spent (by this call or an earlier one) the 400 carries details.privateReplyConsumed: true; never retry it. A 502 means Meta answered a server error after receiving the reply; it carries details.privateReplyOutcome: "unknown", the reply is usually delivered and the comment's private reply spent, so check the conversation before retrying.

Billing: Request; paid actions are priced in credits (see GET /v1/messaging/prices) · Rate limit: 60/min

post/v1/messaging/inbox/comments/{postId}/{commentId}/private-reply

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/inbox/comments/{postId}/{commentId}/private-reply
  • Auth: HTTP bearer

Path parameters

postIdstring required

The media/post ID (Instagram media ID or Facebook post ID)

commentIdstring required

The comment ID to send a private reply to

Headers

Idempotency-Keystring

Replay-safe: the same execution is returned instead of charging twice

X-Tagstring

Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…

Request body

messagestring required

The message text to send as a private DM

accountIdstring required

The account ID (Instagram or Facebook)

Response

Completed

idstring

Execution id — stable across internal retries; use it with GET /v1/executions/{id}

status'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
operationstring
tagstring nullable

Your X-Tag, if sent

created_atstring date-time
completed_atstring date-time nullable
errorstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.