Skip to main content
GET
Retrieve accounts with a set flag state

Supported products

Authorizations

Authorization
string
header
required

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

FlowAuthorization Code
Authorization URL
https://app.hubspot.com/oauth/authorize
Token URL
https://api.hubapi.com/oauth/v1/token
Scopes1
developers-read

Path Parameters

appId
integer<int32>
required
flagName
string
required

Query Parameters

limit
integer<int32>

The maximum number of results to display per page.

startPortalId
integer<int32>

Response

successful operation

portalFlagStates
object[]
required
Last modified on March 30, 2026