provider early_access_feature POST /api/projects/{project_id}/early_access_feature/
@utdk/posthog /api/projects/{project_id}/early_access_feature/
early_access_feature_create
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
earlyAccessFeatureCreate
POST/api/projects/{project_id}/early_access_feature/

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Input

required
required

The name of the early access feature.

A longer description of what this early access feature does, shown to users in the opt-in UI.

required

Lifecycle stage. Valid values: draft, concept, alpha, beta, general-availability, archived. Moving to an active stage (alpha/beta/general-availability) enables the feature flag for opted-in users. * `draft` - draft * `concept` - concept * `alpha` - alpha * `beta` - beta * `general-availability` - general availability * `archived` - archived

URL to external documentation for this feature. Shown to users in the opt-in UI.

Arbitrary JSON metadata associated with this feature.

required

Optional ID of an existing feature flag to link. If omitted, a new flag is auto-created from the feature name. The flag must not already be linked to another feature, must not be group-based, and must not be multivariate.

required
required

The effective access level the user has for this object

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.earlyAccessFeatureCreate()