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
Format: Authorization: Bearer API_KEY. See API overview for more information.
Profile-Key
string
Profile Key of a user profile.

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