Experiences

List experiences

Changed on

Lists the experiences in an account, optionally filtered to those attached to one product or powered by one app.

get/experiences

Request

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

Query parameters

after, string

Returns the elements in the list that come after the specified cursor.

before, string

Returns the elements in the list that come before the specified cursor.

first, integer

Returns the first n elements from the list.

Example:42
last, integer

Returns the last n elements from the list.

Example:42
product_id, string

Filter to only experiences attached to this product identifier.

Example:prod_xxxxxxxxxxxxx
app_id, string

Filter to only experiences powered by this app identifier.

Example:app_xxxxxxxxxxxxxx
created_before, string date-time

Only return experiences created before this timestamp.

Example:2023-12-01T05:00:00.401Z
created_after, string date-time

Only return experiences created after this timestamp.

Example:2023-12-01T05:00:00.401Z
account_id, string required

The unique identifier of the company to list experiences for.

Example:biz_xxxxxxxxxxxxxx

Response

A successful response

object required

The connection type for PublicExperience.

data, ExperienceListItem[] required

A list of nodes.

page_info, PageInfo required

Information to aid in pagination.

Example response

{
  "data": [
    {
      "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"
    }
  ]
}

Changes