# List Portfolios

Canonical: https://docs.bluehola.com/docs/assets-phone-numbers/get-v1-business-portfolios
OpenAPI: https://docs.bluehola.com/openapi.yaml

<div class="endpoint"><span class="endpoint-method endpoint-method--get">GET</span><code class="endpoint-path">/v1/business-portfolios</code></div>

List the Business Portfolios the current API Key can access.

:::note[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

| 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

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

For the common error envelope and how to handle it, see [Error Codes](../guides/error-codes.md).

## 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](post-v1-business-portfolios.md) with only `name`, then follow [Customer Onboarding](../guides/customer-onboarding.md).
