provider marketing_analytics GET /api/projects/{project_id}/marketing_analytics/data_sources/
@utdk/posthog /api/projects/{project_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.
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
source_type query
Optional. Restrict to one integration (e.g. 'GoogleAds').
stringnull

Try it

Authentication
Configure credentials for PostHog API
marketingAnalyticsDataSourcesRetrieve
GET/api/projects/{project_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

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

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