Skip to main content
DELETE
/
reactions
/
{id}
JavaScript
import Whop from '@whop/sdk';

const client = new Whop({
  apiKey: process.env['WHOP_API_KEY'], // This is the default and can be omitted
});

const reaction = await client.reactions.delete('reac_xxxxxxxxxxxxxxxxxxxxxx');

console.log(reaction);
true

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 ***************************

Path Parameters

id
string
required

The unique identifier of the reaction to remove, or the identifier of the message or forum post to remove a reaction from. When passing a message or post ID, you must also provide the emoji argument.

Example:

"reac_xxxxxxxxxxxxxxxxxxxxxx"

Query Parameters

emoji
string | null

The emoji to remove, in shortcode or unicode format. For example, ':heart:' or a unicode emoji. Required when the id refers to a message or post instead of a reaction.

Response

A successful response

Represents true or false values.