Chat Message Reactions

Toggles the authenciated user’s reaction to the provided message.

URL Requires Auth HTTP Method
/api/v1/chat.react yes POST


Argument Example Required Description
emoji smile Required The emoji to react with.
messageId 7aDSXtjMA3KPLxLjt Required The message id to react to.

The emoji does not have to contain the :’s. The emoji doesn’t have to exist either, but if you send one that doesn’t exist it might not render.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -H "Content-type:application/json" \
     http://localhost:3000/api/v1/chat.react \
     -d '{ "messageId": "7aDSXtjMA3KPLxLjt", "emoji": "smile" }'

Example Result

    "success": true

Change Log

Version Description
TBD Added