Create user reaction

Changed on
post/user-reactions/

Request

  • Base URL
    https://cf-blast.livelikecdn.com/api/v1
  • URL
    https://cf-blast.livelikecdn.com/api/v1/user-reactions/
  • Auth
    none required

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
target_type'comment' | 'chat-message' | 'rich-post'

Specifies the type of entity the user is reacting to. When provided, it must be one of "comment", "chat-message", or "rich-post".

Response

201

reaction_space_idstring
target_idstring
reaction_idstring
idstring
client_idstring
reacted_by_idstring
created_atstring
urlstring
custom_dataunknown

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/"
}

Changes