Skip to main content
POST
React to Message

Autorisations

Authorization
string
header
requis

An App API key, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Scopes

dms:read
chat:read
support_chat:read

En-têtes

Idempotency-Key
string

A unique key that makes this request safe to retry. See Idempotent requests.

Maximum string length: 255
Exemple:

"d9105228-4a08-46b1-8b91-42fed586d383"

Api-Version-Date
string

Pins the request to a dated API version.

Exemple:

"2026-11-17"

Paramètres de chemin

id
string
requis

The ID of the message to react to.

Corps

application/json
emoji
string
requis

A single Unicode emoji or a supported shortcode such as :heart:.

Exemple:

"❤️"

Réponse

the message with updated reaction counts

attachments
object[]
requis
author
object | null
requis
author_is_team_member
boolean
requis

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.

Exemple:

false

author_user_id
string | null
requis
Exemple:

"user_xxxxxxxxxxxxxx"

channel_id
string
requis
Exemple:

"feed_xxxxxxxxxxxxxxxxxxxxxx"

content
string | null
requis

Markdown content. null for a deleted message.

Exemple:

"Content 1"

created_at
string
requis

Creation time as an ISO 8601 timestamp.

Exemple:

"2026-01-01T12:00:00.000Z"

custom_author
object | null
requis
deleted_at
string | null
requis

Deletion time, or null for a live message.

Exemple:

null

edited
boolean
requis
Exemple:

false

embeds
object[]
requis
gifs
object[]
requis
id
string
requis

Message ID, prefixed post_. Matches the id sent on create, when one was sent.

Exemple:

"post_xxxxxxxxxxxxxxxxxxxxxx"

mentioned_user_ids
string[]
requis
message_type
enum<string>
requis
Options disponibles:
regular,
system,
automated
Exemple:

"regular"

pinned
boolean
requis
Exemple:

false

plain_content
string | null
requis

Unformatted message text. null when the text is absent or the message is deleted

Exemple:

"Content 1"

poll
object | null
requis
reaction_counts
object[]
requis
replying_to_message_id
string | null
requis
Exemple:

null

replying_to_user_id
string | null
requis

User ID of the replied-to message's author, prefixed user_. null without a reply in this channel, or when either message is deleted.

Exemple:

null

updated_at
string
requis

Last message change as an ISO 8601 timestamp.

Exemple:

"2026-01-01T12:00:00.000Z"

view_count
integer | null
requis

Experience view count. null for DM-backed channels.

Exemple:

null

replying_to_message
any | null

The replied-to message. Omitted unless include_replying_to_message=true. Includes all message fields except replying_to_message. null when this message is deleted or no same-channel target exists.