LateLate API
Core

Comments


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)

GET
/v1/inbox/comments
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" | "youtube" | "linkedin" | "reddit" | "bluesky" | "tiktok"
minComments?integer

Minimum comment count

Range0 <= value
since?string

Posts created after this date

Formatdate-time
sortBy?string

Sort field

Default"date"
Value in"date" | "comments"
sortOrder?string

Sort order

Default"desc"
Value in"asc" | "desc"
limit?integer
Default50
Range1 <= value <= 100
cursor?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

Get comments for a post

Fetch comments for a specific post. Requires accountId query parameter.

GET
/v1/inbox/comments/{postId}
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

postIdstring

Query Parameters

accountIdstring
subreddit?string

(Reddit only) Subreddit name

limit?integer

Maximum number of comments to return

Default25
Range1 <= value <= 100
cursor?string

Pagination cursor

commentId?string

(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"
}
Empty

Reply to a post or comment

Post a reply to a post or specific comment. Requires accountId in request body.

POST
/v1/inbox/comments/{postId}
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

postIdstring
accountIdstring
messagestring
commentId?string

Reply to specific comment (optional)

subreddit?string

(Reddit only) Subreddit name for replies

parentCid?string

(Bluesky only) Parent content identifier

rootUri?string

(Bluesky only) Root post URI

rootCid?string

(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"
}
Empty

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.

DELETE
/v1/inbox/comments/{postId}
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

postIdstring

Query Parameters

accountIdstring
commentIdstring

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"
}
Empty

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.

POST
/v1/inbox/comments/{postId}/{commentId}/hide
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

postIdstring
commentIdstring
accountIdstring

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"
}
Empty
{
  "error": "Unauthorized"
}
Empty

Unhide a comment

Unhide a previously hidden comment. Supported by Facebook, Instagram, and Threads.

DELETE
/v1/inbox/comments/{postId}/{commentId}/hide
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

postIdstring
commentIdstring

Query Parameters

accountIdstring

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"
}
Empty
{
  "error": "Unauthorized"
}
Empty

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.

POST
/v1/inbox/comments/{postId}/{commentId}/like
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

postIdstring
commentIdstring
accountIdstring

The social account ID

cid?string

(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"
}
Empty
{
  "error": "Unauthorized"
}
Empty

Unlike a comment

Remove a like from a comment.

Supported platforms: Facebook, Bluesky, Reddit

For Bluesky, the likeUri query parameter is required.

DELETE
/v1/inbox/comments/{postId}/{commentId}/like
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

postIdstring
commentIdstring

Query Parameters

accountIdstring
likeUri?string

(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"
}
Empty
{
  "error": "Unauthorized"
}
Empty

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_messages permission (already included in Late's OAuth)

Note: This does not create a conversation thread until the user replies back.

POST
/v1/inbox/comments/{postId}/{commentId}/private-reply
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

postIdstring

The Instagram media/post ID

commentIdstring

The comment ID to send a private reply to

accountIdstring

The Instagram social account ID

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.",
  "code": "PLATFORM_LIMITATION"
}

{
  "error": "Unauthorized"
}
Empty
Empty