Skip to navigation

React to Message

Toggle an emoji reaction on a message for the current user.

Authentication: Required — Bearer token. Allowed for admins or participants.

Path parameters:

  • conversation_id (required) — Conversation ID
  • id (required) — Message ID

Request body:

  • emoji (required) — The emoji to toggle

Response: data — The message with updated reactions.

Side effects: Adds/removes the user’s ID under the emoji and broadcasts reaction_updated.

Errors:

  • 404 — Message not found
  • 422 — emoji is required

Authentication

AuthorizationBearer

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

Path parameters

conversation_idstringRequired
idstringRequired

Request

This endpoint expects an object.
emojistringOptional

Response

OK