GET
/
comments
/
:id
Available on Premium, Business, Enterprise plans.

Get comments on a post that was not published via Ayrshare. If the post was published via Ayrshare, use this endpoint.

A social id, which is the original post ID from the social network, is required to retrieve the comments. The social id can be retrieved via the Get All Post History endpoint.

  • Comment data is refreshed every 10 minutes.
  • Facebook replies to replies have the same parent id regardless of nesting.

Header Parameters

Authorization
string
required
API Key of the Primary Profile.

Format: Authorization: Bearer API_KEY
Profile-Key
string
Profile Key of a User Profile.

Format: Profile-Key: PROFILE_KEY

Path Parameters

id
string

The social id of the post

Query Parameters

platform
string
required

Values: facebook, instagram, linkedin, tiktok, twitter, youtube

searchPlatformId
boolean
required

Always equals true