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.
Facebook, Instagram, and TikTok only let you reply to comments on posts from your own connected account or page. Here, a comment “made outside of Ayrshare” means one left on your own post, for example a comment a follower wrote in the Instagram app. On these platforms you cannot reply to comments on other users’ posts, even with the Social Comment ID.On LinkedIn and X, Ayrshare does not check who owns the post. Whether a reply on another user’s post succeeds depends on that network’s rules and the post’s reply settings. See Commenting on Other Users’ Social Posts.
Supported platforms: Bluesky, Facebook, Instagram, LinkedIn, TikTok, X, and YouTube.
YouTube comments older than 28 days. Ayrshare keeps the record of a YouTube comment it sent for 28 days, to stay within the 30-day limit in YouTube’s API policies. After that, the Ayrshare ID no longer finds the comment. To reply to it, use its Social Comment ID (the YouTube comment commentId) with "searchPlatformId": true.

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 LinkedIn comment with a Social Comment ID, you must also provide the full LinkedIn comment URN, which you get from the POST /comment endpoint or GET /comment endpoint as commentUrn — not the bare commentId. The URN has the form urn:li:comment:(urn:li:activity:<postId>,<commentId>). Only required for LinkedIn and "searchPlatformId": true.
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.