Skip to content

Add Message Reaction



PUT /admin/message/reaction

Updates the reactions of a message. Can add/remove reactions. All online participants of the conversation will receive the update reaction message in real-time.

{ Admin-Api-Key: {{ HTTP_ADMIN_API_KEY }} }

Content-Type: application/json

{
"senderId": "63480e68f4794709f802a2fa",
"messageReaction": {
"mid": "63077ad836b78c3d82af0812",
"add": "🤐",
"remove": "👍"
}
}
FieldTypeDescription
senderIdstringUser ID of the user who update reaction
messageReaction.midstringMessage ID to update reaction
messageReaction.addstringReaction to add
messageReaction.removestringReaction to remove
{
"success": true
}
{
"message_reactions_update": {
"mid": "63077ad836b78c3d82af0812",
"cid": "63077ad836b78c3d82af0815",
"from": "63480e68f4794709f802a2fa",
"add": "🤐",
"remove": "👍"
}
}