Skip to main content

Remove Reaction from Content

Remove a previously added emoji reaction from a content item (post).

Endpoint​

DELETE /api/content/:id/react

Authentication​

Required. The request must include a valid authentication token.

Path Parameters​

ParameterTypeDescription
idintegerThe content item ID

Request Body​

ParameterTypeRequiredDescription
emojistringYesThe emoji identifier (see supported emoji)

Response​

Success Response​

Status Code: 200 OK

{
"success": true
}

Error Responses​

Status CodeBody
400{ "error": "Emoji is required" }
401Unauthorized
403Forbidden — no access to content
404Content not found

Example​

Request​

curl -X DELETE "https://api.tribesocial.io/api/content/4212/react" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_AUTH_TOKEN" \
-d '{ "emoji": "heart" }'

Response​

{
"success": true
}