Social Community

POST /v2/social/reactions

Adds or removes the viewer's emoji reaction on any supported target in one command. Replaces the per-kind PUT/DELETE .../reactions/{emoji} paths. Adding requires an unrestricted account and a target visible to the viewer with no block either way; removing is always allowed for the viewer's own reaction. Returns the updated summary.

Request

  • Base URL
    https://api.arbital.xyz (the document declares no server; this is the origin it was published from)
  • URL
    https://api.arbital.xyz/v2/social/reactions
  • Auth
    HTTP bearer

Query parameters

contract'2'

Explicit v2 negotiation. Omission preserves the strict legacy contract.

Headers

Idempotency-Keystring uuid

Required with contract=2 for post and asset_comment targets. Stable UUID scoped to the authenticated actor.

If-Matchstring

Required with contract=2. Quoted per-emoji revision including absent tombstones.

Request body

emojistring required

One emoji: a pictograph with optional skin tone, presentation selector or ZWJ sequence, a flag pair, or a keycap.

presentboolean required

true adds the reaction, false removes it.

Response

Reaction summary for the target

OR

Changes

No recorded changes to this operation across all 1 revision of this API.