account_id values for use in protocol operations.
list_accounts works across all vendor protocols — media buy agents, signals agents, governance agents, and creative agents all return accounts through this same task.
Response Time: ~1s.
Request Schema: /schemas/v3/account/list-accounts-request.json
Response Schema: /schemas/v3/account/list-accounts-response.json
Quick Start
List all accounts this agent can operate:Request Parameters
All parameters are optional. An empty request returns all accounts.| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | No | Filter by account status: active, pending_approval, rejected, payment_required, suspended, or closed. |
sandbox | boolean | No | When true, return only sandbox accounts. When false or omitted, return only production accounts. Primarily used with explicit accounts (require_operator_auth: true) where sandbox accounts are pre-existing test accounts on the platform. |
pagination | object | No | Pagination cursor for large account sets. |
Response
| Field | Description |
|---|---|
accounts | Array of account objects (see below) |
errors | Array of errors, if the request failed |
pagination | Pagination cursor for the next page, if more results exist |
| Field | Description |
|---|---|
account_id | Vendor agent’s identifier. Pass this to protocol tasks: create_media_buy, get_signals, activate_signal, report_usage, and other operations. May be absent when status: "rejected". |
name | Vendor agent’s display name for the account |
brand | Brand reference object: domain (the brand registry house domain) and optional brand_id (sub-brand within the house) |
operator | Operator domain. Always present — when the brand operates directly, operator equals the brand’s domain. |
status | Current account state: active, pending_approval, rejected, payment_required, suspended, or closed |
billing | Billing model in effect: operator or agent |
account_scope | How the seller scoped this account: operator, brand, operator_brand, or agent. See account scope. |
payment_terms | Payment terms agreed for this account: net_15, net_30, net_45, net_60, net_90, or prepay. Binding for all invoices when the account is active. |
governance_agents | Governance agent endpoints registered on this account. Present when governance agents have been configured via sync_governance. |
setup | Present when status: "pending_approval". Contains url for completing setup and message explaining what’s needed. |
Common Scenarios
Poll until account becomes active
Aftersync_accounts returns pending_approval, poll until the account is ready:
Filter active accounts only
Error Handling
| Error Code | Description | Resolution |
|---|---|---|
ACCOUNT_NOT_FOUND | No accounts found for this agent | Run sync_accounts first to establish a buying relationship |
Next Steps
- sync_accounts — Sync advertiser accounts with a seller
- sync_governance — Sync governance agents to accounts
- Accounts and agents — Billing models, trust models, and authorized operators
- Brand protocol — How vendor agents resolve brand identity from the brand’s
domain