Basic
Retrieve account flag state
Changed onRetrieve the account-level flag state of a specific HubSpot account.
get/feature-flags/2026-09/{appId}/flags/{flagName}/portals/{portalId}
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/feature-flags/2026-09/{appId}/flags/{flagName}/portals/{portalId}
- AuthAPI key in query parameter hapikey
Path parameters
appIdinteger required
The unique identifier of the app containing the feature flag.
flagNamestring required
The name of the feature flag to retrieve.
portalIdinteger required
The unique identifier of the portal for which the flag state is being retrieved.
Response
successful operation
Changes
- info
the endpoint scheme security
developer_hapikeywas added to the API - info
the endpoint scheme security
oauth2was removed from the API
- info