provider custom_property_sources POST /api/projects/{project_id}/custom_property_sources/
@utdk/posthog /api/projects/{project_id}/custom_property_sources/
custom_property_sources_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
customPropertySourcesCreate
POST/api/projects/{project_id}/custom_property_sources/

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

UUID of the custom property definition this source feeds. One source per definition.

required

UUID of the data-warehouse saved query (materialized view) to read values from.

required

Column in the view whose value is written to the property.

required

Column in the view whose value matches an account's external_id.

Whether the source syncs. Auto-disabled after repeated failures or a missing view; re-enabling resets the failure count.

required

Consecutive failed sync runs; the source auto-disables at the cap.

required

When the most recent sync run finished.

required

Error summary from the last run, or null if it succeeded.

required
required
required

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.customPropertySourcesCreate({
  "is_enabled": true
})