provider custom_property_definitions POST /api/projects/{project_id}/custom_property_definitions/
@utdk/posthog /api/projects/{project_id}/custom_property_definitions/
custom_property_definitions_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
customPropertyDefinitionsCreate
POST/api/projects/{project_id}/custom_property_definitions/

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

Human-readable name of the custom property. Unique within the team.

Optional description of what the property represents.

required

How the property is interpreted and rendered: 'text', 'number', 'currency', 'percent', 'date', 'datetime', 'boolean', or 'select'. * `text` - text * `number` - number * `currency` - currency * `percent` - percent * `date` - date * `datetime` - datetime * `boolean` - boolean * `select` - select

Abbreviate large numbers (e.g. 10,000 → 10K). Only applies to numeric properties.

For select properties: the allowed options. Required (non-empty) when display_type is 'select'; cleared server-side for other types.

required

The data-warehouse view-sync binding feeding this property, or null when values are set manually.

required
required
required
required

Workflows that use this property, resolved by definition id.

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.customPropertyDefinitionsCreate({
  "is_big_number": false
})