POST
/
api
/
v2
/
reactions
add reaction to any document.
curl --request POST \
  --url https://apix.us.amity.co/api/v2/reactions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "referenceId": "<string>",
  "referenceType": "message",
  "reactionName": "<string>",
  "referenceVersion": 123
}'
{
  "addedId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

reference ID and type with reaction name

The body is of type object.

Response

200
application/json

Returns a reaction id is added

The response is of type object.