POST /api/v2/accounts/create-child
Organization administrators can also have an agent create a Buyer child through
the V3 MCP preview. The agent calls review_buyer_child_account for a read-only
review, then request_buyer_child_account, which returns approval_required
with a link. Nothing is created until an organization administrator approves it
on the Apostra site; the agent repeats the call with the same idempotency key to
get the new account’s ID. See Account overview and
Approving agent requests.
The review’s planCoverage says whether the organization’s plan covers a Buyer
Account; when it does not, canRequest is false, blockers includes
plan_does_not_cover_account, and planCoverage.refusal gives the plan it
needs and the next step.
Availability
Creates a new account under your organization. Requires theADMIN role on
the organization. An organization has no limit on how many Buyer or Seller accounts it holds, can
create at most 25 accounts in any 24 hours (the 26th returns 429 RATE_LIMITED
with details.reason account_creation_daily_limit; contact support to raise
it, see Accounts created per day),
and holds one Developer account. If your account is standalone, you must also be its
direct administrator and explicitly confirm creation of a new organization. Present the consequences below and send the confirmation as
exactly true.
Advertiser objects and connected advertising-platform accounts are not
accounts of the organization and do not count toward it.
The organization created by this conversion is a billing and access container,
not a Buyer or Seller account. Your current contract and billing authority
move to it, and you become its first administrator. The existing account keeps
its role, resources, and direct members; organization administrators can manage
both accounts, while direct account members gain no organization authority.
Any account-specific standing remains an override; otherwise the account
inherits organization standing. Detachment is not self-service because it
requires a dedicated contract, billing, standing, and administrator migration.
Only a newly created SELLER account receives a new storefront. A new BUYER
account can enter Buyer Setup immediately. Its demo, real-work, direct-spend,
and Apostra-spend capabilities are derived from Organization proof, Terms,
plan/entitlements, standing, and transaction route; no separate admission flips
the Account live.
The organization’s accepted plan must also cover the new account:
- a Seller Account needs a Listing plan or an Agentic Media Company plan. When
you omit
operatingMode, the account starts on the seller product the plan covers:AGENTIC_MEDIA_COMPANYon an Agentic Media Company plan, otherwiseLISTING_ONLY. AnoperatingModeyou send is kept as given, soLISTING_ONLYon an Agentic Media Company plan is refused, because a Listing-only storefront needs a Listing plan; - a Buyer Account needs a buyer plan when the organization holds only Buyer Accounts, or an Agentic Media Company plan when it also holds Seller Accounts. Holding more than one Buyer Account also needs Business Manager or Enterprise.
idempotencyKey receipt has already committed the organization and
account hierarchy, retrying with that same key resumes required administrator
access, contract transfer, compatibility projections, and account-view repairs even
when confirmOrganizationConversion is omitted or false. The retry cannot
cancel or reverse authority that has already moved. Reusing the key with
incompatible input still returns 409 Conflict.
Request
Standalone conversion example:curl
Seller account
Demo seller account
Parameters
Response
Returns the full user context scoped to the new account.customer.buyerAccessPosture is deprecated and always null. For a Buyer,
customer.accountProducts.core.buyerAccessPosture is deprecated too: it is
derived from the account’s capability verdicts when this response is built,
LIVE_ELIGIBLE when the Buyer can spend live and otherwise SANDBOX_ONLY, and
never stored. Neither
is an authorization source: read Buyer Setup capabilities to see what the account
can do.
Errors
400 VALIDATION_ERROR— missing required field orcustomerDomainfails the hostname pattern.401 UNAUTHORIZED— missing or invalid bearer token.403 ACCESS_DENIED— caller is not an administrator.409 CONFLICTwithdetails.resourcedeveloper_account_limit— the organization already has a Developer account. An organization holds one, and it can hold any number of agents.409 CONFLICT— a fresh standalone conversion omittedconfirmOrganizationConversion: trueor sentfalse, or the request reused an idempotency key with incompatible input. A matching same-key retry after the hierarchy committed resumes instead of returning this confirmation error.409 CONFLICTwithdetails.reasonplan_does_not_cover_account— the organization’s accepted plan does not cover the new account.details.requiredPlanslists the plan families that would (BUYER,LISTING,PARTNER,AGENTIC_MEDIA_COMPANY; empty when no plan you can choose covers it),details.nextStepnames what to do first (switch_seller_product,change_plan,use_agentic_media_company_seller_product, orget_in_touch), and, for members of the organization,details.currentPlannames the plan it is on. On a Listing plan,details.nextPlanisstandard: adding a Buyer Account needs the Standard plan. When the next step is to change the plan,details.planSwitchcarries the typed next step (switch_plan) and, for an administrator of the organization, the Plan & pricing link. A same-key retry of a creation that already committed is not refused.
Related
Account tasks
All account operations
Delete account
Remove an account from your organization
Update account domain
Set the registered domain