comments
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, text only.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
postIdstring
The media/post ID (Instagram media ID or Facebook post ID)
commentIdstring
The comment ID to send a private reply to
accountIdstring
The social account ID (Instagram or Facebook)
messagestring
The message text to send as a private DM
Response Body
application/json
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/inbox/comments/string/string/private-reply" \ -H "Content-Type: application/json" \ -d '{ "accountId": "507f1f77bcf86cd799439011", "message": "Hi! Thanks for your comment. I wanted to reach out privately to help with your question." }'{
"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"
}Empty
Empty