Batch

Batch set account flag state

Changed on

Set the portal flag state for multiple HubSpot accounts at once. Use this endpoint to manage flag exposure for groups of HubSpot accounts.

post/feature-flags/2026-03/{appId}/flags/{flagName}/portals/batch/upsert

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/feature-flags/2026-03/{appId}/flags/{flagName}/portals/batch/upsert
  • Auth
    • HTTP bearer
    • or API key in query parameter hapikey
    • or none

Path parameters

appIdinteger required
flagNamestring required

Request body

Response

successful operation

Changes

Some revisions have not been checked yet.