Create reaction
Changed onAdd an emoji reaction or poll vote to a message or forum post. In forums, the reaction is always a like.
Required permissions (one of):
- chat:read
- dms:read
- forum:read
- livestream:chat:read
- support_chat:read
Request
- Base URLhttps://api.whop.com/api/v1
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Request body
Parameters for CreateReaction
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.
The unique identifier of a poll option to vote for. Only valid when the target message or post contains a poll.
The unique identifier of the message or forum post to react to.
Response
A successful response
A single reaction left by a user on a feed post, such as a like or emoji.
The emoji used for this reaction in shortcode format. Null if the reaction type is not emoji.
The unique identifier for the entity
The unique identifier of the post this reaction was left on.
The user who left this reaction on the post.
Example response
{
"emoji": ":heart:",
"id": "reac_xxxxxxxxxxxxxxxxxxxxxx",
"user": {
"id": "user_xxxxxxxxxxxxx",
"name": "Marcus Webb",
"username": "marcuswebb"
}
}Changes
- info
the security scope
chat:readwas added to the endpoint's security schemebearerAuth - info
the security scope
support_chat:readwas removed from the endpoint's security schemebearerAuth
- info
- info
the security scope
chat:readwas added to the endpoint's security schemebearerAuth
1 more change in this revision
- info