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 HubFree
Sales HubSales HubFree
Service HubService HubFree
Content HubContent HubFree

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

200
application/json

successful operation

The response is of type object.