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

Get a comment

One comment with the replies under it

GET
/comments/{id}

One comment with the replies under it

Authorization

apiKey
headerAuthorizationBearer <token>

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

Path Parameters

id*string
Formatuuid

Response Body

OK

application/json
  1. response
comment*
Example Request
curl -X GET 'https://socmed.growpaces.com/api/v1/comments/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response200
{  "comment": {    "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"      }    ]  }}