Skip to main content

Area

Areas define geographic territories used for account assignment and canvassing.

📄️ List Areas

Lists areas visible to the current user. Pass `version: 2` (CLI: `--version 2`) to use filters, sorting, statistics, and pagination; omit `version` only for legacy v1 behavior. Set `size` to limit each v2 page, then pass the returned `sortTimestamp` to retrieve the next page. Filter by a specific user, team, or set of downline team IDs. When no filter is provided, returns all areas the caller has permission to view — company admins and users with company-level `area:add` see all areas; other users see areas for their managed teams plus any unassigned areas. Requires the `area:list` permission. Use `/area/get` instead when you already have the `areaId`.

📄️ Update Area

Updates an existing area and returns the updated object. Pass the full area object including its `areaId`. All mutable fields (coordinates, assignment type, team, users, filters, schedule, etc.) can be changed. The server re-validates and cleans coordinates on every update. Fields omitted from the request, such as `note`, `color`, or `filters`, are cleared, so start from the area returned by `/area/get`. Updating an area does not reassign accounts; call `/area/assign` to apply the changes.