Get post replies/comments
Fetch all comments and replies for a specific published post from a particular social media account. You must specify the target account using network and username query parameters. The post must have been published to the specified account. Returns the full thread of replies including author information, content, and timestamps. Useful for monitoring engagement and responding to audience interactions.
GET
/v1/posts/{id}/repliesPath Parameters
idstring
Query Parameters
networkstring
Social network name (e.g., 'x', 'threads')
Length
1 <= lengthusername?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.
Length
1 <= lengthResponse 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"
}