Sources

List Source Available Accounts

Changed on

List the accounts the SUBMITTED credentials reach (GA4 properties, Meta ad accounts, Google Ads customers).

Pre-save, like the connection test: nothing is persisted and the secret travels in the body only. The form offers the result in the controls whose options name discovered_accounts. On the edit form pass source_id so a masked secret resolves to the stored credential. 400 when the vendor refuses the listing (the detail says why; the IDs can still be typed), when the connector has no discovery (capabilities.discover_accounts false) or for a masked secret without source_id; 404 unknown connector; 502 vendor outage.

post/sources/connectors/{code}/available-accounts

Request

Path parameters

codestring required

Request body

configobject required
source_idstring nullable

On an edit, the source whose stored secrets masked values in config resolve to. Omit on create; a masked secret without it is a 400.

Response

Successful Response

idstring required

The ID as the config field stores it.

namestring nullable

The account's display name at the vendor.

managerboolean

A Google Ads manager account: it syncs nothing itself, but can be the login customer.

Changes