Get post replies/comments

Fetch all comments and replies for a specific published post from a particular social media account.

Fetch all comments and replies for a specific published post from a particular social media account. Specify the target account using network (required) and optionally username. If the post was published to only one account on that network, username can be omitted. When the post was published to multiple accounts on the same network, omitting username returns a 400 with the available usernames to disambiguate. Returns the full thread of replies including author information, content, and timestamps. Comments are not supported on every network - TikTok, Pinterest, and Google Business Profile do not expose a comments API and will return an error.

GET/v1/posts/{id}/replies

Path Parameters

idstring

Query Parameters

networkstring

Social network name (e.g., 'x', 'threads')

Length1 <= length
username?string

Username or nickname of the social account that published the post. Optional when the post was published to only one account on the given network.

Length1 <= length

Response Body

fetch("https://api.outstand.so/v1/posts/string/replies?network=x&username=mycompany", {  method: "GET"})
{
  "success": true,
  "replies": [
    {
      "id": "x_123456789_1704067200000",
      "author": "johndoe",
      "text": "Great post!",
      "created_at": "2025-01-15T10:30:00Z",
      "platform_specific": {}
    }
  ]
}
{
  "success": false,
  "error": "Invalid payload",
  "details": {
    "content": {
      "_errors": [
        "Required"
      ]
    }
  }
}
{
  "success": false,
  "error": "Invalid payload",
  "details": {
    "content": {
      "_errors": [
        "Required"
      ]
    }
  }
}
{
  "success": false,
  "error": "Invalid payload",
  "details": {
    "content": {
      "_errors": [
        "Required"
      ]
    }
  }
}
{
  "success": false,
  "error": "Internal server error",
  "message": "Database connection failed"
}