external_data_sources

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, applies the optional search filter, and serializes.

get/api/projects/{project_id}/external_data_sources/oauth_accounts/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/external_data_sources/oauth_accounts/
  • Auth: HTTP bearer

Path parameters

project_idstring required

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

Query parameters

integration_idinteger required

The OAuth integration id whose accounts should be listed.

searchstring

Optional case-insensitive filter over account name/value, for sources whose resource list is large (e.g. GitHub repositories).

source_typestring required

The data warehouse source type (e.g. 'BingAds', 'GoogleSearchConsole').

Response

Changes

No recorded changes to this operation across all 1 revision of this API.