provider marketing_analytics GET /api/environments/{environment_id}/marketing_analytics/data_sources/
@utdk/posthog /api/environments/{environment_id}/marketing_analytics/data_sources/
List marketing data sources
Check the platform → data-warehouse side of every native marketing integration: connection state, sync recency, row counts, required-table status, and schema-mapping coverage. Read-only.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
source_type query
Optional. Restrict to one integration (e.g. 'GoogleAds').
stringnull

Try it

Authentication
Configure credentials for PostHog API
environmentsMarketingAnalyticsDataSourcesRetrieve
GET/api/environments/{environment_id}/marketing_analytics/data_sources/
Check the platform → data-warehouse side of every native marketing integration: connection state, sync recency, row counts, required-table status, and schema-mapping coverage. Read-only.

Parameters

required

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

Optional. Restrict to one integration (e.g. 'GoogleAds').

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