Saltar al contenido principal
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 \
  --header 'Authorization: Bearer <token>'
{
  "portalFlagStates": [
    {
      "appId": 123,
      "flagName": "<string>",
      "portalId": 123
    }
  ]
}

Supported products

Autorizaciones

Authorization
string
header
requerido

The access token received from the authorization server in the OAuth 2.0 flow.

Parámetros de ruta

appId
integer<int32>
requerido
flagName
string
requerido

Parámetros de consulta

limit
integer<int32>

The maximum number of results to display per page.

startPortalId
integer<int32>

Respuesta

successful operation

portalFlagStates
object[]
requerido
Last modified on June 5, 2026