Basic
Retrieve accounts with a set flag state
Changed onRetrieve a list of HubSpot accounts with an account-level flag setting for the specified app. No request body is included.
get/feature-flags/2026-09/{appId}/flags/{flagName}/portals
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/feature-flags/2026-09/{appId}/flags/{flagName}/portals
- AuthAPI key in query parameter hapikey
Path parameters
appIdinteger required
The unique identifier of the app associated with the feature flag.
flagNamestring required
The name of the feature flag to retrieve portal information for.
Query parameters
limitinteger
The maximum number of results to display per page.
startPortalIdinteger
The ID of the portal to start the list from. Useful for pagination.
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