Experiences

Create experience

Changed on

Creates an experience for an account, powered by an app such as courses, forums, or chat. Attach it to a product with POST /experiences/:id/attach to give that product's customers access.

Required permissions:

  • experience:create
post/experiences

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Request body

object required

Parameters for CreateExperience

account_id, string required

The unique identifier of the company to create this experience for.

app_id, string required

The unique identifier of the app that powers this experience.

is_public, boolean nullable

Whether the experience is publicly accessible without a membership.

logo, object nullable

A logo image displayed alongside the experience name.

name, string nullable

The display name of the experience. Defaults to the app's name if not provided.

notifications_enabled, boolean nullable

Whether Whop app notifications are enabled for this experience. Webhooks still fire.

section_id, string nullable

The unique identifier of the section to place the experience in.

Example request

{
  "account_id": "biz_xxxxxxxxxxxxxx",
  "app_id": "app_xxxxxxxxxxxxxx"
}

Response

A successful response

Experience required

An experience is a feature or content module within a product, such as a chat, course, or custom app.

app, object required

The app that powers this experience, defining its interface and behavior.

company, object required

The company that owns this experience.

created_at, string date-time required

The datetime the experience was created.

id, string required

The unique identifier for the experience.

image, object nullable required

The custom logo image for this experience. Null if no custom logo has been uploaded.

is_public, boolean required

Whether this experience is publicly visible to all users, including those without a membership.

name, string required

The display name of this experience shown to users in the product navigation. Maximum 255 characters.

order, string nullable required

The sort position of this experience within its section. Lower values appear first. Null if no position has been set.

products, object[] required

The list of products this experience is attached to, which determines which customers have access. Empty if the experience is only visible to authorized company team members.

Example response

{
  "app": {
    "icon": {
      "url": "https://media.whop.com/abc123/optimized.jpg"
    },
    "id": "app_xxxxxxxxxxxxxx",
    "name": "Courses"
  },
  "company": {
    "id": "biz_xxxxxxxxxxxxxx",
    "route": "shine-time-auto-detailing",
    "title": "Shine Time Auto Detailing"
  },
  "created_at": "2023-12-01T05:00:00.401Z",
  "id": "exp_xxxxxxxxxxxxxx",
  "image": {
    "url": "https://media.whop.com/abc123/optimized.jpg"
  },
  "name": "Detailing Tips Chat",
  "order": "123.45",
  "products": [
    {
      "id": "prod_xxxxxxxxxxxxx",
      "route": "ceramic-coating-package",
      "title": "Ceramic Coating Package"
    }
  ]
}

Changes