跳到正文
GrowSocmed文档Social media command center
API 参考Comments

List comments

Comments from people (not the account's own replies), newest first, with the replies under them

GET
/comments

Comments from people (not the account's own replies), newest first, with the replies under them

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Query Parameters

status?string
Default"unreplied"
Value in"unreplied""replied""ignored""all"
account_id?string
Formatuuid
sort?string
Default"recent"
Value in"recent""likes"
limit?integer
Range1 <= value <= 100
Default30
cursor?string

Response Body

OK

application/json
  1. response
data*array<>
next_cursor*string|null
Example Request
curl -X GET 'https://socmed.growpaces.com/api/v1/comments'
Example Response200
{  "data": [    {      "id": "string",      "account": {        "id": "string",        "platform": "string",        "username": "string",        "display_name": "string"      },      "post": {        "platform_post_id": "string",        "text": "string",        "permalink": "string"      },      "author": {        "id": "string",        "username": "string",        "name": "string"      },      "text": "string",      "is_hidden": true,      "is_liked": true,      "like_count": 0,      "reply_status": "unreplied",      "commented_at": "string",      "replies": [        {          "id": "string",          "text": "string",          "is_own": true,          "author": "string",          "commented_at": "string"        }      ]    }  ],  "next_cursor": "string"}