---
title: "React to Message"
method: POST
path: "/messages/{id}/react"
tags: ["Messages"]
---

# React to Message

`POST /messages/{id}/react`

## Request

- Base URL: `https://api.whop.com/api/v1`
- URL: `https://api.whop.com/api/v1/messages/{id}/react`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Add your emoji reaction to a message. Reacting again with the same emoji changes nothing.

## Path parameters

- `id` string, required

## Headers

- `Api-Version-Date` string
- `Idempotency-Key` string

## Request body

- object
  - `emoji` string, required: A single Unicode emoji or a supported shortcode such as `:heart:`.

## Response `200`

the message with updated reaction counts

- ChatMessage
  - `attachments` File[], required
    - `blurhash` string, nullable, required: BlurHash placeholder for an image or video. Null when unavailable or removed by moderation.
    - `content_type` string, nullable, required: The original file's MIME type, for example `application/pdf`. It is kept when moderation removes the file.
    - `created_at` string, required: When the file was created, as an ISO 8601 timestamp.
    - `duration_seconds` number, nullable, required: Audio or video duration in seconds. Null when unavailable or removed by moderation.
    - `filename` string, nullable, required: The original filename, including its extension.
    - `height` integer, nullable, required: Image or video height in pixels. Null when unavailable or removed by moderation.
    - `id` string, required: The file's ID, prefixed `file_`.
    - `multipart_chunk_size` integer, nullable: The byte size each part (except the last) must be. Present only on create, and only for multipart uploads.
    - `multipart_upload_id` string, nullable: The ID of the multipart upload, passed back to `complete`. Present only on create, and only for multipart uploads.
    - `multipart_upload_urls` FileMultipartUrl[], nullable
      - `part_number` integer, required: The 1-based index of this part within the multipart upload.
      - `url` string, required: The presigned URL to PUT this part's bytes to.
    - `object` string, required: The type of this object, always `file`.
    - `optimized_url` string, nullable, required: URL to the optimized file. `null` when no optimized version is available.
    - `removed_by_moderation` boolean, required: Whether moderation removed the file. When `true`, `url` serves a replacement image. `filename`, `size` and `content_type` still describe the original file.
    - `size` integer, nullable, required: The file size in bytes. `null` until the upload has finished.
    - `upload_headers` object: Headers to send with the upload PUT. Present only on create.
    - `upload_status` 'pending' | 'processing' | 'ready' | 'failed', required: Where the file is in its upload lifecycle.
    - `upload_url` string, nullable: Presigned URL to PUT the file's bytes to. Present only on create, and only for single-part uploads.
    - `url` string, nullable, required: A URL to download the file. Public files get a permanent CDN URL, and private files get a signed URL that expires. `null` until the upload has finished. When moderation removes the file, a replacement image URL.
    - `visibility` 'public' | 'private', required: `public` files are served from an unsigned CDN URL. `private` files are served from a signed URL that expires.
    - `waveform_url` string, nullable, required: Audio waveform URL. Null when unavailable or removed by moderation.
    - `width` integer, nullable, required: Image or video width in pixels. Null when unavailable or removed by moderation.
  - `author` UserSummary, nullable, required
    - `badges` UserBadge[], required
      - `type` 'whop_team' | 'verified_partner', required: Badge category. `whop_team` identifies a Whop team member. `verified_partner` identifies a verified member of the Whop Partners program.
    - `id` string, required: User ID, prefixed `user_`.
    - `name` string, nullable, required: Display name.
    - `profile_picture` UserProfilePicture, required: Avatar wrapper. Its `url` is always present, and is a generated placeholder when the user set no picture.
      - `url` string, required: Avatar image URL. Always present. It is a generated placeholder when the user set no picture.
    - `username` string, required: Public username.
  - `author_is_team_member` boolean, required: `true` if the author is a team member of the account that owns this community channel. `false` for partners, private and support channels, and deleted messages.
  - `author_user_id` string, nullable, required
  - `automation` MessageAutomation, nullable, required
    - `id` string, required: Automation ID, prefixed `ato_`.
    - `name` string, required: The automation's name.
  - `channel_id` string, required
  - `content` string, nullable, required: Markdown content. `null` for a deleted message.
  - `created_at` string, required: Creation time as an ISO 8601 timestamp.
  - `custom_author` MessageCustomAuthor, nullable, required
    - `display_name` string, nullable, required: Webhook display name, or null to use the user's name.
    - `profile_picture` File, nullable, required
      - `blurhash` string, nullable, required: BlurHash placeholder for an image or video. Null when unavailable or removed by moderation.
      - `content_type` string, nullable, required: The original file's MIME type, for example `application/pdf`. It is kept when moderation removes the file.
      - `created_at` string, required: When the file was created, as an ISO 8601 timestamp.
      - `duration_seconds` number, nullable, required: Audio or video duration in seconds. Null when unavailable or removed by moderation.
      - `filename` string, nullable, required: The original filename, including its extension.
      - `height` integer, nullable, required: Image or video height in pixels. Null when unavailable or removed by moderation.
      - `id` string, required: The file's ID, prefixed `file_`.
      - `multipart_chunk_size` integer, nullable: The byte size each part (except the last) must be. Present only on create, and only for multipart uploads.
      - `multipart_upload_id` string, nullable: The ID of the multipart upload, passed back to `complete`. Present only on create, and only for multipart uploads.
      - `multipart_upload_urls` FileMultipartUrl[], nullable
        - `part_number` integer, required: The 1-based index of this part within the multipart upload.
        - `url` string, required: The presigned URL to PUT this part's bytes to.
      - `object` string, required: The type of this object, always `file`.
      - `optimized_url` string, nullable, required: URL to the optimized file. `null` when no optimized version is available.
      - `removed_by_moderation` boolean, required: Whether moderation removed the file. When `true`, `url` serves a replacement image. `filename`, `size` and `content_type` still describe the original file.
      - `size` integer, nullable, required: The file size in bytes. `null` until the upload has finished.
      - `upload_headers` object: Headers to send with the upload PUT. Present only on create.
      - `upload_status` 'pending' | 'processing' | 'ready' | 'failed', required: Where the file is in its upload lifecycle.
      - `upload_url` string, nullable: Presigned URL to PUT the file's bytes to. Present only on create, and only for single-part uploads.
      - `url` string, nullable, required: A URL to download the file. Public files get a permanent CDN URL, and private files get a signed URL that expires. `null` until the upload has finished. When moderation removes the file, a replacement image URL.
      - `visibility` 'public' | 'private', required: `public` files are served from an unsigned CDN URL. `private` files are served from a signed URL that expires.
      - `waveform_url` string, nullable, required: Audio waveform URL. Null when unavailable or removed by moderation.
      - `width` integer, nullable, required: Image or video width in pixels. Null when unavailable or removed by moderation.
  - `deleted_at` string, nullable, required: Deletion time, or null for a live message.
  - `edited` boolean, required
  - `embeds` Embed[], required
    - `color` integer, nullable, required
    - `description` string, nullable, required
    - `fields` EmbedField[], required
      - `inline` boolean, required
      - `name` string, required
      - `value` string, required
    - `footer` EmbedFooter, nullable, required
      - `icon` EmbedImage, nullable, required
        - `blurhash` string, nullable, required
        - `height` integer, nullable, required
        - `url` string, required
        - `width` integer, nullable, required
      - `text` string, required
    - `image` EmbedImage, nullable, required
      - `blurhash` string, nullable, required
      - `height` integer, nullable, required
      - `url` string, required
      - `width` integer, nullable, required
    - `thumbnail` EmbedImage, nullable, required
      - `blurhash` string, nullable, required
      - `height` integer, nullable, required
      - `url` string, required
      - `width` integer, nullable, required
    - `timestamp_at` string, nullable, required: Time supplied by the embed author, as an ISO 8601 timestamp in UTC. Null when missing or invalid.
    - `title` string, nullable, required
    - `url` string, nullable, required
  - `external_message` ExternalMessageEmail, nullable, required
    - `from_address` string, nullable, required: The address the email was sent from.
    - `id` string, required: The email's ID, prefixed `emsg_`.
    - `object` 'email_message', required: Always `email_message`.
    - `status` 'received' | 'spam' | 'virus' | 'queued' | 'sent' | 'delivered' | 'bounced' | 'complained' | 'failed' | 'refused_unsubscribed' | 'refused_rate_limited' | 'refused_spam' | 'delayed', required: The delivery status for this email.
    - `subject` string, nullable, required: The email's subject.
    - `to_address` string, nullable, required: The address of the recipient this message is for.
  - `gifs` Gif[], required
    - `height` integer, required: Height of `original_url`, in pixels.
    - `original_url` string, required: Full-size GIF. HTTPS on a Klipy media host.
    - `preview_url` string, required: Smaller version for previews and placeholders. HTTPS on a Klipy media host.
    - `slug` string, required: Identifier for the GIF.
    - `title` string, required: GIF title.
    - `url` string, required: URL the message renders the GIF from. HTTPS on a Klipy media host.
    - `width` integer, required: Width of `original_url`, in pixels.
  - `id` string, required: Message ID, prefixed `post_`. Matches the `id` sent on create, when one was sent.
  - `link_previews` MessageLinkPreview[], required
    - `description` string, nullable, required: Page description, or null while unavailable.
    - `favicon_url` string, nullable, required: Site icon URL, or null when unavailable.
    - `footer` MessageLinkFooter, nullable, required
      - `description` string, nullable, required
      - `icon_url` string, required
      - `title` string, required
    - `image_url` string, nullable, required: Preview image URL, or null when unavailable.
    - `processing` boolean, required: Whether the server is still generating this preview.
    - `title` string, nullable, required: Page title, or null while unavailable.
    - `url` string, required: URL being previewed.
  - `mentioned_user_ids` string[], required
  - `message_type` 'regular' | 'system' | 'automated', required
  - `pinned` boolean, required
  - `plain_content` string, nullable, required: Unformatted message text. null when the text is absent or the message is deleted
  - `poll` ChatMessagePoll, nullable, required
    - `options` ChatMessagePollOption[], required
      - `id` string, required: Option identifier within the poll.
      - `text` string, required
      - `vote_count` integer, required
      - `voted` boolean, required: Whether you voted for this option.
  - `reaction_counts` MessageReactionCount[], required
    - `kind` 'like' | 'view' | 'emoji', required
    - `reacted` boolean, required: Whether you reacted with this value.
    - `total_score` integer, required
    - `user_count` integer, required
    - `value` string, nullable, required: The Unicode emoji for an emoji reaction. For other reaction kinds, the reaction's value.
  - `replying_to_message` ChatMessage (recursive)
  - `replying_to_message_id` string, nullable, required
  - `replying_to_user_id` string, nullable, required: User ID of the replied-to message's author, prefixed `user_`. `null` without a reply in this channel, or when either message is deleted.
  - `updated_at` string, required: Last message change as an ISO 8601 timestamp.
  - `view_count` integer, nullable, required: Experience view count. `null` for DM-backed channels.

## Other responses

- `401`: Unauthorized
- `409`: Conflict

## Changes

- **2026-12-01** `b10d1ab093e8`: 2 info
  - the security scope `dms:read` was added to the endpoint's security scheme `bearerAuth`
  - the security scope `support_chat:read` was removed from the endpoint's security scheme `bearerAuth`
- **2026-12-01** `0b014d58cbe4`: 2 info
  - the security scope `dms:read` was added to the endpoint's security scheme `bearerAuth`
  - the security scope `support_chat:read` was removed from the endpoint's security scheme `bearerAuth`
- **2026-12-01** `c6a4b64f4c92`: 2 info
  - the security scope `dms:read` was added to the endpoint's security scheme `bearerAuth`
  - the security scope `support_chat:read` was removed from the endpoint's security scheme `bearerAuth`
- **2026-12-01** `09b51f08837d`: 2 info
  - the security scope `dms:read` was added to the endpoint's security scheme `bearerAuth`
  - the security scope `support_chat:read` was removed from the endpoint's security scheme `bearerAuth`
- **2026-12-01** `c05bd55c400b`: 2 info
  - the security scope `dms:read` was added to the endpoint's security scheme `bearerAuth`
  - the security scope `support_chat:read` was removed from the endpoint's security scheme `bearerAuth`

[Operation history](https://skmtc.dev/whop/apis/whop-api/changes/messages/:id/react/post.md)

---

[API](https://skmtc.dev/whop/apis/whop-api.md) - [All operations](https://skmtc.dev/whop/apis/whop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/whop/apis/whop-api/revisions/b10d1ab093e8?raw)
