Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

A company API key, company scoped JWT, app API key, or user OAuth token. You must prepend your key/token with the word 'Bearer', which will look like Bearer ***************************

Path Parameters

id
string
required

The unique identifier of the experience to attach.

Example:

"exp_xxxxxxxxxxxxxx"

Body

application/json

Parameters for AddExperienceToAccessPass

product_id
string
required

The unique identifier of the product to attach the experience to.

Example:

"prod_xxxxxxxxxxxxx"

Response

A successful response

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.

Example:

"2023-12-01T05:00:00.401Z"

id
string
required

The unique identifier for the experience.

Example:

"exp_xxxxxxxxxxxxxx"

image
object | null
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.

Example:

"Trading Signals Chat"

order
string | null
required

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

Example:

"123.45"

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.