provider elements POST /api/environments/{environment_id}/elements/
@utdk/posthog /api/environments/{environment_id}/elements/
environments_elements_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsElementsCreate
POST/api/environments/{environment_id}/elements/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

Input

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.environmentsElementsCreate()