comments
List commented posts
Returns posts with comment counts from all connected accounts. Aggregates data across multiple accounts.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Query Parameters
profileId?string
Filter by profile ID
platform?string
Filter by platform
Value in
"facebook" | "instagram" | "twitter" | "bluesky" | "threads" | "youtube" | "linkedin" | "reddit" | "tiktok"minComments?integer
Minimum comment count
Range
0 <= valuesince?string
Posts created after this date
Format
date-timesortBy?string
Sort field
Default
"date"Value in
"date" | "comments"sortOrder?string
Sort order
Default
"desc"Value in
"asc" | "desc"limit?integer
Default
50Range
1 <= value <= 100cursor?string
accountId?string
Filter 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"
}Empty