provider external_data_sources GET
/api/projects/{project_id}/external_data_sources/oauth_accounts/ @utdk/posthog
/api/projects/{project_id}/external_data_sources/oauth_accounts/ external_data_sources_oauth_accounts_retrieve
List the accounts/properties a connected OAuth integration exposes, in the shared
IntegrationAccount shape. The logic lives in each source (via OAuthMixin.get_oauth_accounts);
this endpoint just routes by source type and serializes the result.
- integration_id query required
- The OAuth integration id whose accounts should be listed.
- integer
- 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 required
- The data warehouse source type (e.g. 'BingAds', 'GoogleSearchConsole').
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.externalDataSourcesOauthAccountsRetrieve()