Publish a comment

Create a reply to a post or another reply. A reply is a comment on a post that you have published through Outstand. We currently do not support interacting with posts that were not published through Outstand. You can either reply to a post by providing the platform post ID or the account username. You can reply to either your own post directly (root post) or to another account's reply/comment under your own post.

POST/v1/posts/{id}/replies

Path 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"
}