Get a portfolio
Fetches one portfolio with every property inside it, active and deactivated alike.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Path parameters
portfolioIdstringrequiredSnowflake id of the portfolio, as a decimal string.
example: 1830472847398404096
Response
200 · The portfolio.
idstringSnowflake id of the portfolio.
activebooleanfalse once the portfolio has been deactivated.
namestringThe portfolio's name, 1 to 150 characters.
propertyCountintegerHow many properties the portfolio holds, active and deactivated together. Maintained by MagicDoor; you cannot set it.
iconsstring[]Icon keys pinned to the portfolio. Free-form strings; they are added and removed through the icons endpoints, not here.
activePropertyCountintegerComputed: how many of properties are still active.
propertiesobject[]Every property in the portfolio, active and deactivated alike, each with a count of its active units.