Skip to main content
Sync governance agent endpoints to specific accounts. The seller persists these agents and calls them via check_governance during media buy lifecycle events. Each account entry pairs an account reference with the governance agents for that account, supporting both explicit accounts (account_id) and implicit accounts (brand + operator). This uses replace semantics — each call replaces any previously registered agents on the specified accounts. Accounts not included in the request keep their existing configuration. Response Time: ~1s. Request Schema: /schemas/3.0.19/account/sync-governance-request.json Response Schema: /schemas/3.0.19/account/sync-governance-response.json

Quick Start

Sync a budget governance agent to an explicit account:

Request Parameters

Each account entry: Each governance agent:

Response

Success response: Returns an accounts array with per-account results. Individual entries may fail even when the operation succeeds. Error response: errors array with operation-level errors (auth failure, service unavailable). No accounts array is present.

Authorization

The seller MUST verify that the authenticated agent has authority over each referenced account before persisting governance agents. Requests referencing accounts the agent does not own MUST return a failed status with an error for those entries.

Common Scenarios

Different governance agents per account

Implicit accounts (brand + operator)

Rotate governance agent credentials

Call sync_governance again with updated authentication. Replace semantics means the new credentials overwrite the previous configuration.

Error Handling

Next Steps