Skip to main content

List Portfolios

GET/v1/business-portfolios

List the Business Portfolios the current API Key can access.

Authentication

Send Authorization: Bearer <API_KEY> in the request headers. Which resources an API Key can reach is determined by its current authorization scope.

Request​

Base URL: https://api.bluehola.com

Parameters​

NameInRequiredType / constraintsDescription
customerEntityIdqueryFor customer KeysstringUse your own cust_... from GET /whoami; optional for other API Keys.

Response​

StatusDescription
200OK
4xxClient error

200 response schema​

{
"type": "array",
"items": {
"$ref": "#/components/schemas/BusinessPortfolio"
}
}

For the common error envelope and how to handle it, see Error Codes.

Notes​

Only returns Business Portfolios within the current API Key's authorization scope. The caller cannot widen visibility through query parameters; resources it cannot access, or that do not exist, are never revealed through this endpoint.

For a customer Key, customerEntityId is required and must equal the value returned by GET /whoami; omitting it or using another customer returns 403. HTTP 200 with [] is normal before the first onboarding. Create a Portfolio with only name, then follow Customer Onboarding.