Skip to main content
POST
Reply to a comment, i.e. comment on a comment, on either an Ayrshare made comment, using the Ayrshare Comment ID, or a comment made outside of Ayrshare, using the Social Comment ID. Most often, you will reply to a comment made through Ayrshare, but when you want to reply to a comment made outside of Ayrshare, you can use the Social Comment ID, which you get GET /comment endpoint. Supported platforms: Bluesky, Facebook, Instagram, LinkedIn, TikTok, X, and YouTube.

Header Parameters

Path Parameters

string
required
If replying to a comment made through Ayrshare, use the Ayrshare Comment ID commentId returned from the POST comment endpoint.For example, the Ayrshare comment ID commentId returned from the POST comment endpoint is:
Ayrshare Comment ID Returned from POST /comment
If replying to a comment made outside of Ayrshare, use the Social Comment ID commentId from the social network.For example, the social comment ID commentId returned from a Facebook POST /comment or GET /comment endpoint is:
Social Comment ID Returned from POST /comment

Body Parameters

array
required
If replying to a comment made through Ayrshare using the Ayrshare Comment ID, specify the platforms to post the reply. Supported platforms: bluesky, facebook, instagram, linkedin, tiktok, twitter, youtube.If replying to a comment made outside of Ayrshare using the Social Comment ID, specify the one platform to post the reply. Supported platforms: facebook, instagram, linkedin, tiktok, twitter.
string
required
The reply to add to the comment.
array
Attach an image by providing the image URL. Only one image is supported. Facebook and LinkedIn only.
boolean
default:false
Set to true if replying to a comment using the Social Comment ID, which is the post commentId from the social networks.
string
If replying to a TikTok comment with a Social Comment ID, you must also provide the TikTok video ID, which you get from the POST /comment endpoint or GET /comment endpoint. Only required for TikTok and "searchPlatformId": true.
boolean
default:true
Response as Object, otherwise as an Array. Default to true.

@Mentions in Comments

You can include @mentions directly in the comment text string. There is no separate parameter for mentions. Simply add @handle in your comment text.
Reply with @Mention
LinkedIn Mentions: LinkedIn mentions are resolved server-side by Ayrshare. Use the LinkedIn Search endpoint to look up the correct vanity name or member name. For organizations, use @handle. For members, use @vanity_name or @[Full Name].
For detailed mention syntax and limitations per platform, see: Reply to comment is not supported on Reddit. See Post Verification for the platform-by-platform mention rules and recommendations.