Create a portfolio
post
https://api.dogabot.com/api/v1/portfolios Creates a portfolio for the key owner. Requires the listed write scope and feat:api:write on an Institutional account. Send Idempotency-Key.
Scopes
write:automation write Headers
Idempotency-Key string required Unique key per mutation so retries stay safe.
Body parameters
application/json required
name string required initial_capital number max_members integer trading_mode string REST defaults to paper when omitted (unlike bots, which default to live).
members array of object Optional emitter members to attach on create. member_type must be emitter (or empty).
member_type string Must be emitter (or omit). Portfolios cannot be nested.
member_id integer weight number tags array of string Existing catalog lookup_keys (max 5).
Responses
201 Created
401 Unauthorized
403 Forbidden — missing scope or feature gate
404 Not found
429 Rate limited