Publish a comment
Create a reply (comment) on a post that was published through Outstand. You can target a specific social account by providing either the platform_post_id (the native post ID on the social network) or the account_username of the connected account. Replies can be made to the root post or to another account's reply/comment under your own post. Note: We currently do not support interacting with posts that were not published through Outstand. The post must have been published (not just scheduled) to the target account.
POST
/v1/posts/{id}/repliesPath Parameters
idstring
contentstring
The content of the reply
platform_post_id?string
The platform-specific post ID to reply to (e.g., X post ID, Threads post ID, etc.)
account_username?string
The username or nickname of the social account to reply from
Response Body
const body = JSON.stringify({ "content": "Great post! I agree with you."})fetch("https://api.outstand.so/v1/posts/string/replies", { method: "POST", headers: { "Content-Type": "application/json" }, body}){
"success": true,
"reply_id": "123456789"
}