---
title: "FeatureFlagPortalsByFlagName (HubSpot)"
description: "Feature Flag Accounts by Flag Name"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/hubspot/PublicAppFeatureFlags.Basic.FeatureFlagPortalsByFlagName
original: https://documentation.invantive.eu/en/datamodels/hubspot/PublicAppFeatureFlags.Basic.FeatureFlagPortalsByFlagName
updated: 2026-05-19T15:51:43Z
license: https://documentation.invantive.eu/en/
---

# FeatureFlagPortalsByFlagName: HubSpot Feature Flag Accounts by Flag Name

`read only` `REST`

- Catalog: `PublicAppFeatureFlags`
- Schema: `Basic`
- Label: Feature Flag Accounts by Flag Name

Retrieve accounts with a set flag state
Retrieve a list of HubSpot accounts with an account-level flag setting for the specified app. No request body is included.

Can only retrieve data.

## API Source

- Endpoint: `/feature-flags/v3/{appId}/flags/{flagName}/portals`
- Operation: `get /feature-flags/v3/{appId}/flags/{flagName}/portals`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `appId` | `` | [x] |  |  |
| `flagName` | `` | [x] |  |  |
| `startPortalId` | `` | [ ] |  |  |

## Table Columns

The columns of the table `FeatureFlagPortalsByFlagName` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `appId` | `int32` | App ID | [ ] |  | The ID of the app |
| `flagName` | `varchar2` | itgen_hubspot_flagname | [ ] |  | The name of the flag |
| `flagState` | `varchar2` | itgen_hubspot_flagstate | [ ] |  | The state of the flag for this portal |
| `portalId` | `int32` | Portal ID | [ ] |  | The ID of the portal |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [HubSpot](/en/release-notes/drivers/hubspot)

