Skip to content
Bakhtarian edited this page May 14, 2026 · 1 revision

Course

A course is a structured learning product on Whop, made up of chapters and lessons that members work through. The SDK supports full CRUD on courses.

SDK access

$client->courses // Matchable\Whop\Resource\CourseResource

Endpoints

create(array $data): array

HTTP POST courses
Does Creates a new course.
Parameters $data — course attributes (e.g. title, description, experience ID).
Returns array

list(array $query = []): array

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

get(string $id): array

HTTP GET courses/{id}
Does Retrieves a single course by ID.
Parameters $id — the course ID.
Returns array

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

HTTP PATCH courses/{id}
Does Updates a course.
Parameters $id — the course ID; $data — fields to change.
Returns array

delete(string $id): array

HTTP DELETE courses/{id}
Does Deletes a course.
Parameters $id — the course ID.
Returns array

Example

$course = $client->courses->get('course_...');

Related resources

Reference

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

Clone this wiki locally