Upsert discovered platform accounts for a connection

post/connections/{connection_id}/accounts

Request

  • Base URL: https://api.gravityads.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.gravityads.dev/connections/{connection_id}/accounts
  • Auth: HTTP bearer

Request body

customer_group_idstring
provider_accountsobject[]

Raw provider account discovery records from a supported ad platform. They are normalized server-side before control-plane upsert.

queue_day1_backfillboolean

When true, queues readonly day-1 ETL runs immediately after the discovered accounts are upserted.

backfill_date_range_startstring date
backfill_date_range_endstring date
backfill_run_typestring

Response

Connection accounts upserted

status'connection_accounts_upserted' | 'connection_accounts_upsert_unconfigured' | 'connection_accounts_upsert_failed' | 'connection_accounts_upsert_degraded' required
tenant_idstring required
connection_idstring required
platform_account_countinteger
platform_accountsobject[]
customer_group_countinteger
account_scope_countinteger
day1_backfillobject
provider_accounts_normalizedboolean
database_url_configuredboolean
hosted_auth_contextobject
raw_secrets_returnedfalse required

Changes

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