Skip to content

Experience

Bakhtarian edited this page May 14, 2026 · 1 revision

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.

SDK access

$client->experiences // Matchable\Whop\Resource\ExperienceResource

Endpoints

create(array $data): array

HTTP POST experiences
Does Creates a new experience.
Parameters $data — experience attributes (e.g. name, app, type).
Returns array

list(array $query = []): array

HTTP GET experiences
Does Lists experiences.
Parameters $query — optional filters / pagination.
Returns array

get(string $id): array

HTTP GET experiences/{id}
Does Retrieves a single experience by ID.
Parameters $id — the experience ID (e.g. exp_...).
Returns array

update(string $id, array $data): array

HTTP PATCH experiences/{id}
Does Updates an experience.
Parameters $id — the experience ID; $data — fields to change.
Returns array

attach(string $id, array $data): 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

detach(string $id, array $data): 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

duplicate(string $id): array

HTTP POST experiences/{id}/duplicate
Does Creates a copy of the experience.
Parameters $id — the experience ID.
Returns array

delete(string $id): array

HTTP DELETE experiences/{id}
Does Deletes an experience.
Parameters $id — the experience ID.
Returns array

Example

$client->experiences->attach('exp_...', ['product_id' => 'prod_...']);

Reference

Official Whop documentation: https://docs.whop.com

Clone this wiki locally