// app/experiences/[experienceId]/page.tsx

import { whopApi } from "@/lib/whop-api";
import { headers } from "next/headers";

const headersList = await headers();

// Extract the user ID (this will extract the user ID from the headers for you)
const { userId } = await verifyUserToken(headersList);

// Load the user's public profile information
const user = (await whopApi.retrieveUser({userId: userId})).publicUser;

console.log(user);

Not using the Whop TS SDK?