Skip to main content

Run Area Assignment

POST 

/area/assign

Triggers an assignment run for one or more areas. This is an asynchronous operation — it returns immediately with a success response while the assignment processes in the background.

Run types:

  • assign — assigns accounts within each area's polygon and filters to the area's configured team/user
  • unassign — removes team/user assignments from accounts in the area and sets the area to draft
  • reassign — re-runs assignment, potentially changing account ownership

Set preserveDownlineAssignments to keep accounts already assigned to a subteam of the target team with their current team and owner. It defaults to false, so reassignment and reset flows continue to replace the current assignment.

Pass areas to run specific areas, or areaListInput to run all areas matching an area list filter set. Filter-based assignment is limited to 10,000 matching areas. If an overlapping area is already running an assignment, the request will be rejected with an error identifying the conflicting area.

Use /area/get to check the jobInfo field for assignment progress (preparing, queued, running, completed).

Requires the area:add permission.

Request

Responses

Success