Skip to main content
POST
/
accounts
/
{id}
/
interactions
/
{iid}
/
moderate
Moderate a comment
curl --request POST \
  --url https://api.social-api.ai/v1/accounts/{id}/interactions/{iid}/moderate \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": "hide"
}
'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer soc_live_...

Path Parameters

id
string
required

Connected account ID

iid
string
required

Interaction ID (socapi_cmt_...)

Body

application/json

Moderation action

action
enum<string>

Action must be one of: hide, unhide, delete.

Available options:
hide,
unhide,
delete
Example:

"hide"

Response

Action applied successfully

ok
boolean
Example:

true