Add a reaction to a message

POST {{baseUrl}}/v3/:channel_type/:channel_url/messages/:message_id/reactions

Add a reaction to a message

Adds a specific reaction to a message.

Note: Currently, this action is only available in group channels.

https://sendbird.com/docs/chat/v3/platform-api/guides/messages#2-add-a-reaction-to-a-message

Request Body

{"channel_type"=>"<string>", "channel_url"=>"<string>", "message_id"=>"<integer>", "user_id"=>"<string>", "reaction"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Api-Tokenstring(Required)
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;user_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;operation&quot;:&quot;\u003cstring\u003e&quot;,&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;reaction&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cnumber\u003e&quot;,&quot;msg_id&quot;:&quot;\u003cnumber\u003e&quot;}