---
title: "Toggle chat reaction"
method: POST
path: "/api/events/{gameId}/chat/{messageId}/react"
tags: ["Events"]
---

# Toggle chat reaction

`POST /api/events/{gameId}/chat/{messageId}/react`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/events/{gameId}/chat/{messageId}/react`
- Auth: HTTP bearer

Body: { emoji }. Toggles the viewer's reaction on a game-thread message in this gameId. New pills must be one emoji grapheme (RGI, or a text-style / emoji-presentation variant), at most 64 UTF-16 units, stored exactly as sent (no FE0F folding). At most 20 distinct pills per message; joining an existing pill is allowed. Legacy stored values can still be toggled off. Codes: 400 VALIDATION_ERROR (blank), 400 INVALID_EMOJI, 404 NOT_FOUND (missing or wrong game), 409 MESSAGE_REMOVED, 409 REACTION_EMOJI_LIMIT, 429 RATE_LIMITED (20/10s burst and 120/10min sustained per user), 503 RATE_LIMITER_UNAVAILABLE. Each new unique user+message+emoji credits +1 Fan Rep once.

## Path parameters

- `gameId` string, required
- `messageId` string, required

## Response `200`

{ success, data }

## Changes

- **2026-09-12** `c191eafc1801`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/events/:gameId/chat/:messageId/react/post.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
