Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

A company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************

Body

application/json

Parameters for CreateReaction

resource_id
string
required

The unique identifier of the message or forum post to react to.

emoji
string | null

The emoji to react with, in shortcode or unicode format. For example, ':heart:' or a unicode emoji. Ignored in forums where reactions are always likes.

poll_option_id
string | null

The unique identifier of a poll option to vote for. Only valid when the target message or post contains a poll.

Response

A successful response

A single reaction left by a user on a feed post, such as a like or emoji.

emoji
string | null
required

The emoji used for this reaction in shortcode format. Null if the reaction type is not emoji.

Example:

":heart:"

id
string
required

The unique identifier for the entity

Example:

"reac_xxxxxxxxxxxxxxxxxxxxxx"

resource_id
string
required

The unique identifier of the post this reaction was left on.

user
object
required

The user who left this reaction on the post.