-
Notifications
You must be signed in to change notification settings - Fork 0
Reaction
A reaction is an emoji response a user adds to a piece of content on Whop — such as a forum post, chat message, or DM.
$client->reactions // Matchable\Whop\Resource\ReactionResource| HTTP | POST reactions |
| Does | Adds a reaction to a piece of content. |
| Parameters |
$data — reaction attributes (e.g. target content ID, emoji). |
| Returns | array |
| HTTP | GET reactions |
| Does | Lists reactions. |
| Parameters |
$query — optional filters / pagination. |
| Returns | array |
| HTTP | GET reactions/{id} |
| Does | Retrieves a single reaction by ID. |
| Parameters |
$id — the reaction ID. |
| Returns | array |
| HTTP | DELETE reactions/{id} |
| Does | Removes a reaction. |
| Parameters |
$id — the reaction ID. |
| Returns | array |
$reaction = $client->reactions->create([
'target_id' => 'post_...',
'emoji' => '🔥',
]);
$client->reactions->delete($reaction['id']);Official Whop documentation: https://docs.whop.com
Core Company · AccountLink · File · AccessToken · AuthorizedUser · User · Member · Webhook
Payments & Billing Payment · Checkout · Plan · Product · Membership · Refund · Invoice · PromoCode · PaymentMethod · SetupIntent
Platform & Finance Transfer · FeeMarkup · Topup · Withdrawal · LedgerAccount · PayoutAccount · PayoutMethod
Disputes Dispute · DisputeAlert · ResolutionCenter
Commerce Shipment · Lead · Entry · Review · Affiliate · Stats
Experiences & Courses Experience · Course · CourseChapter · CourseLesson · CourseLessonInteraction · CourseStudent
Communication ChatChannel · DmChannel · DmMember · Message · Reaction · Forum · ForumPost · SupportChannel · Notification
Advertising AdCampaign · AdGroup · Ad
Apps & AI App · AppBuild · AiChat · CompanyTokenTransaction
Verifications Verification