Zum Hauptinhalt springen
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}?hapikey='
{
  "appId": 123,
  "flagName": "<string>",
  "flagState": "ABSENT",
  "portalId": 123
}

Supported products

Autorisierungen

hapikey
string
query
erforderlich

Pfadparameter

appId
integer<int32>
erforderlich
flagName
string
erforderlich
portalId
integer<int32>
erforderlich

Antwort

successful operation

appId
integer<int32>
erforderlich

The ID of the app

flagName
string
erforderlich

The name of the flag

flagState
enum<string>
erforderlich

The state of the flag for this portal

Verfügbare Optionen:
ABSENT,
OFF,
ON
portalId
integer<int32>
erforderlich

The ID of the portal

Last modified on April 9, 2026