Portfolio

/api/portfolio/create

Creates a new portfolio. Uses multipart/form-data to support optional image upload.

This is the first step towards creating a portfolio on Avo. This endpoint creates a portfolio with a DRAFT status (not live or visible to users) and an empty positions array. Target positions should be added later via the Update Portfolio endpoint.

post/api/portfolio/create

Request

  • Base URL
    https://api.avo.so
  • Auth
    HTTP bearer

Request body multipart/form-data

namestring required

Name for the managed portfolio (1-30 characters). Example: My Index Portfolio

type'PORTFOLIO' | 'INDEX_PORTFOLIO' required

PORTFOLIO or INDEX_PORTFOLIO

beneficiary_walletstring

The wallet that will receive deployer fees. Must have some initial SOL (minimum rent exemption amount). 32-44 characters. Example: 7xkXtg2Cw87d97TXJ3DpbD5jBkheTqA83TZRuJosgAsU

descriptionstring

Optional description for the portfolio (max 500 characters). Example: A curated index of top tokens

imagestring binary

Optional image file (JPEG or PNG, max 10MB)

Example request

{
  "name": "My Index Portfolio",
  "type": "INDEX_PORTFOLIO"
}

Response

OK

Changes

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