Social API reference

Social API · Post-Reactions

delete/v1/communities/{community_id}/posts/{post_id}/reactions/{src_actor_id}/{type}Auth

Unreact. Idempotent: returns 200 with current `reaction_counts` even if there was nothing to remove.

Path parameters

community_id*string

Social community UUID.

post_id*string

Social post UUID.

src_actor_id*string

Reactor actor UUID.

type*string

Reaction type label.

Response · 200 Reaction removed (or already absent).

reaction_counts*object

Denormalised reaction counts after the write.

Example: {"like":12}

Example

Request

DELETE https://social.productcraft.co/v1/communities/{community_id}/posts/{post_id}/reactions/{src_actor_id}/{type}
Authorization: Bearer YOUR_TOKEN

Response

{
  "reaction_counts": {
    "like": 12
  }
}