v1

latestOpenAPI 3.1.02026-07-24318141.2 MB

Create a user reaction

post/user-reactions/

Request body

reaction_idstring required

The ID of the reaction type from the reaction pack

reaction_space_idstring required
target_idstring required

The ID of the entity being reacted to, e.g. a chat message ID, or a custom ID from your system

custom_datastring

Response

201

reaction_space_idstring
target_idstring
reaction_idstring
idstring
client_idstring
reacted_by_idstring
created_atstring
urlstring
{"stackTrail":"paths:/user-reactions/:post:responses:201:content:application/json:schema:properties:custom_data","oasType":"schema","type":"unknown"}

Example response

{
  "reaction_space_id": "7b7a229a-f34f-46df-9933-7d1f7a0b7d2f",
  "target_id": "86io",
  "reaction_id": "b08ce04d-6fbd-40e4-b20d-879471f91daa",
  "id": "53d3a78c-d88d-4f78-b1c5-2353e3e2ace5",
  "client_id": "pnODbVXg0UI80s0l2aH5Y7FOuGbftoAdSNqpdvo6",
  "reacted_by_id": "e0a92904-2c6c-400e-93ba-d379142f06cc",
  "created_at": "2022-08-24T13:29:40+0000",
  "url": "https://cf-blast.livelikecdn.com/api/v1/user-reactions/53d3a78c-d88d-4f78-b1c5-2353e3e2ace5/"
}