Social API reference

Social API · Comment-Reactions

delete/v1/communities/{community_id}/posts/{post_id}/comments/{comment_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. Must belong to the PAK's workspace.

post_id*string

Parent post UUID.

comment_id*string

Comment UUID.

src_actor_id*string

Reactor actor UUID.

type*string

Reaction type label (matches the value passed at create time).

Response · 200 Reaction removed (or already absent); response carries live `reaction_counts`.

reaction_counts*object

Live denormalised counts after the delete (or current counts if the reaction was already absent).

Example: {"like":3}

Example

Request

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

Response

{
  "reaction_counts": {
    "like": 3
  }
}