Skip to main content
GET
/
feature-flags
/
v3
/
{appId}
/
flags
/
{flagName}
/
portals
Retrieve accounts with a set flag state
curl --request GET \
  --url https://api.hubapi.com/feature-flags/v3/{appId}/flags/{flagName}/portals
{
  "portalFlagStates": [
    {
      "appId": 123,
      "portalId": 123,
      "flagName": "<string>",
      "flagState": "OFF"
    }
  ]
}

Supported products

Requires one of the following products or higher.
Marketing HubMarketing Hub -Free
Sales HubSales Hub -Free
Service HubService Hub -Free
Content HubContent Hub -Free

Authorizations

hapikey
string
query
required

Path Parameters

flagName
string
required

The name of the flag, either hs-release-app-cards or hs-hide-crm-cards.

appId
integer
required

The ID of the app.

Query Parameters

startPortalId
integer

The initial account ID for listing, enabling pagination.

limit
integer

The maximum number of results to return in a single request.

Response

successful operation

portalFlagStates
object[]
required