Skip to main content
GET
/
feature-flags
/
v3
/
{appId}
/
flags
/
{flagName}
/
portals
/
{portalId}
Retrieve account flag state
curl --request GET \
  --url https://api.hubapi.com/feature-flags/v3/{appId}/flags/{flagName}/portals/{portalId}
{
  "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.

portalId
integer
required

The ID of the account that installed the app.

appId
integer
required

The ID of the app.

Response

successful operation

appId
integer
required
portalId
integer
required
flagName
string
required
flagState
enum<string>
required
Available options:
OFF,
ON,
ABSENT