-
Notifications
You must be signed in to change notification settings - Fork 0
Experience
An experience is a piece of functionality a member gains access to through a Whop product — a chat, a course, a forum, a file library, or any installed app. The SDK supports CRUD plus actions to attach/detach experiences to products and to duplicate them.
$client->experiences // Matchable\Whop\Resource\ExperienceResource| HTTP | POST experiences |
| Does | Creates a new experience. |
| Parameters |
$data — experience attributes (e.g. name, app, type). |
| Returns | array |
| HTTP | GET experiences |
| Does | Lists experiences. |
| Parameters |
$query — optional filters / pagination. |
| Returns | array |
| HTTP | GET experiences/{id} |
| Does | Retrieves a single experience by ID. |
| Parameters |
$id — the experience ID (e.g. exp_...). |
| Returns | array |
| HTTP | PATCH experiences/{id} |
| Does | Updates an experience. |
| Parameters |
$id — the experience ID; $data — fields to change. |
| Returns | array |
| HTTP | POST experiences/{id}/attach |
| Does | Attaches the experience to a product (or other target). |
| Parameters |
$id — the experience ID; $data — attach target (e.g. product ID). |
| Returns | array |
| HTTP | POST experiences/{id}/detach |
| Does | Detaches the experience from a product (or other target). |
| Parameters |
$id — the experience ID; $data — detach target (e.g. product ID). |
| Returns | array |
| HTTP | POST experiences/{id}/duplicate |
| Does | Creates a copy of the experience. |
| Parameters |
$id — the experience ID. |
| Returns | array |
| HTTP | DELETE experiences/{id} |
| Does | Deletes an experience. |
| Parameters |
$id — the experience ID. |
| Returns | array |
$client->experiences->attach('exp_...', ['product_id' => 'prod_...']);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