List Portfolios
/v1/business-portfoliosList the Business Portfolios the current API Key can access.
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
| Name | In | Required | Type / constraints | Description |
|---|---|---|---|---|
customerEntityId | query | For customer Keys | string | Use your own cust_... from GET /whoami; optional for other API Keys. |
Response
| Status | Description |
|---|---|
200 | OK |
4xx | Client 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.