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

Hide or show a comment

Hide or show a comment on the platform (Telegram: deletes it, under 48 hours old)

POST
/comments/{id}/hide

Hide or show a comment on the platform (Telegram: deletes it, under 48 hours old)

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

Request Body

application/json
  1. body
hidden*boolean

Response Body

OK

application/json
  1. response
ok*boolean
Example Request
curl -X POST 'https://socmed.growpaces.com/api/v1/comments/497f6eca-6276-4993-bfeb-53cbbbba6f08/hide' \  -H 'Content-Type: application/json' \  -d '{  "hidden": true}'
Example Response200
{  "ok": true}