Comments
Unified inbox API for managing comments on posts across all connected accounts. Supports commenting on third-party posts for platforms that allow it (YouTube, Twitter, Reddit, Bluesky, Threads). All endpoints aggregate data from multiple social accounts in a single API call. Requires Inbox addon.
List posts with comments across all accounts
Fetch posts with their comment counts from all connected accounts. Aggregates data from multiple accounts in a single API call.
Supported platforms: Facebook, Instagram, Bluesky, YouTube, LinkedIn, Reddit, TikTok (write-only)
API key authentication - use your Late API key as a Bearer token
In: header
Query Parameters
Filter by profile ID
Filter by platform
"facebook" | "instagram" | "youtube" | "linkedin" | "reddit" | "bluesky" | "tiktok"Minimum comment count
0 <= valuePosts created after this date
date-timeSort field
"date""date" | "comments"Sort order
"desc""asc" | "desc"501 <= value <= 100Filter by specific social account ID
Response Body
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/inbox/comments"{
"data": [
{
"id": "string",
"platform": "string",
"accountId": "string",
"accountUsername": "string",
"content": "string",
"picture": "string",
"permalink": "string",
"createdTime": "2019-08-24T14:15:22Z",
"commentCount": 0,
"likeCount": 0,
"cid": "string",
"subreddit": "string"
}
],
"pagination": {
"hasMore": true,
"nextCursor": "string"
},
"meta": {
"accountsQueried": 0,
"accountsFailed": 0,
"failedAccounts": [
{
"accountId": "string",
"accountUsername": "string",
"platform": "string",
"error": "string",
"code": "string",
"retryAfter": 0
}
],
"lastUpdated": "2019-08-24T14:15:22Z"
}
}{
"error": "Unauthorized"
}Get comments for a post
Fetch comments for a specific post. Requires accountId query parameter.
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
Query Parameters
(Reddit only) Subreddit name
Maximum number of comments to return
251 <= value <= 100Pagination cursor
(Reddit only) Get replies to a specific comment
Response Body
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/inbox/comments/string?accountId=string"{
"status": "string",
"comments": [
{
"id": "string",
"message": "string",
"createdTime": "2019-08-24T14:15:22Z",
"from": {
"id": "string",
"name": "string",
"username": "string",
"picture": "string",
"isOwner": true
},
"likeCount": 0,
"replyCount": 0,
"platform": "string",
"url": "string",
"replies": [
{}
],
"canReply": true,
"canDelete": true,
"canHide": true,
"canLike": true,
"isHidden": true,
"isLiked": true,
"likeUri": "string",
"cid": "string",
"parentId": "string",
"rootUri": "string",
"rootCid": "string"
}
],
"pagination": {
"hasMore": true,
"cursor": "string"
},
"meta": {
"platform": "string",
"postId": "string",
"accountId": "string",
"subreddit": "string",
"lastUpdated": "2019-08-24T14:15:22Z"
}
}{
"error": "Unauthorized"
}Reply to a post or comment
Post a reply to a post or specific comment. Requires accountId in request body.
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
Reply to specific comment (optional)
(Reddit only) Subreddit name for replies
(Bluesky only) Parent content identifier
(Bluesky only) Root post URI
(Bluesky only) Root post CID
Response Body
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/inbox/comments/string" \ -H "Content-Type: application/json" \ -d '{ "accountId": "string", "message": "string" }'{
"success": true,
"data": {
"commentId": "string",
"isReply": true,
"cid": "string"
}
}{
"error": "Unauthorized"
}Delete a comment
Delete a comment on a post. Supported by Facebook, Instagram, Bluesky, Reddit, YouTube, LinkedIn, and TikTok. Requires accountId and commentId query parameters.
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
Query Parameters
Response Body
application/json
application/json
curl -X DELETE "https://getlate.dev/api/v1/inbox/comments/string?accountId=string&commentId=string"{
"success": true,
"data": {
"message": "string"
}
}{
"error": "Unauthorized"
}Hide a comment
Hide a comment on a post. Supported by Facebook, Instagram, and Threads. Hidden comments are only visible to the commenter and page admin.
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
The social account ID
Response Body
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/inbox/comments/string/string/hide" \ -H "Content-Type: application/json" \ -d '{ "accountId": "string" }'{
"status": "string",
"commentId": "string",
"hidden": true,
"platform": "string"
}{
"error": "Unauthorized"
}Unhide a comment
Unhide a previously hidden comment. Supported by Facebook, Instagram, and Threads.
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
Query Parameters
Response Body
application/json
application/json
curl -X DELETE "https://getlate.dev/api/v1/inbox/comments/string/string/hide?accountId=string"{
"status": "string",
"commentId": "string",
"hidden": true,
"platform": "string"
}{
"error": "Unauthorized"
}Like a comment
Like or upvote a comment on a post.
Supported platforms: Facebook, Bluesky, Reddit
For Bluesky, the cid (content identifier) is required in the request body.
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
The social account ID
(Bluesky only) Content identifier for the comment
Response Body
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/inbox/comments/string/string/like" \ -H "Content-Type: application/json" \ -d '{ "accountId": "string" }'{
"status": "string",
"commentId": "string",
"liked": true,
"likeUri": "string",
"platform": "string"
}{
"error": "Unauthorized"
}Unlike a comment
Remove a like from a comment.
Supported platforms: Facebook, Bluesky, Reddit
For Bluesky, the likeUri query parameter is required.
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
Query Parameters
(Bluesky only) The like URI returned when liking
Response Body
application/json
application/json
curl -X DELETE "https://getlate.dev/api/v1/inbox/comments/string/string/like?accountId=string"{
"status": "string",
"commentId": "string",
"liked": true,
"platform": "string"
}{
"error": "Unauthorized"
}Send private reply to comment author
Send a private direct message to the author of a comment on your post. This is useful for handling customer inquiries or sensitive matters privately.
Supported platforms: Instagram only
Limitations:
- Instagram only allows ONE private reply per comment
- Must be sent within 7 days of the comment being posted
- Only works for comments on posts owned by the connected account
- Message goes to the user's Inbox (if they follow you) or Message Requests (if they don't)
- Requires
instagram_business_manage_messagespermission (already included in Late's OAuth)
Note: This does not create a conversation thread until the user replies back.
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
The Instagram media/post ID
The comment ID to send a private reply to
The Instagram social account ID
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.",
"code": "PLATFORM_LIMITATION"
}{
"error": "Unauthorized"
}Messages
Unified inbox API for managing conversations and direct messages across all connected accounts. All endpoints aggregate data from multiple social accounts in a single API call. Requires Inbox addon.
Reviews
Unified inbox API for managing reviews on Facebook Pages and Google Business accounts. All endpoints aggregate data from multiple social accounts in a single API call. Requires Inbox addon.