Create Workflow Bulk Replace Request
create_workflow_bulk_replace_requestReplace assignees across multiple workflow instances in Procore by creating a bulk replace request. Specify old and new assignee IDs, replacement type, and reason.
Instructions
Creates a new workflows bulk replace request to replace assignees across workflow instances. company_id defaults to the value set by procore_set_config when omitted. Creates the workflow bulk replace request and returns it with its new id (HTTP 201); calling it again creates another record. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id, replacement_type, old_assignee_id, new_assignee_ids, modify_project_roles, reason. Procore API (v2.0): Core > Workflows. Endpoint: POST /rest/v2.0/companies/{company_id}/workflows/bulk_replace_requests
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tools | No | JSON request body field — array of tool configurations to limit replacement scope (optional) | |
| reason | Yes | JSON request body field — reason for the replacement | |
| end_date | No | JSON request body field — end date for temporary replacements | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| start_date | No | JSON request body field — start date for temporary replacements | |
| project_ids | No | JSON request body field — array of project IDs to limit replacement scope (optional) | |
| old_assignee_id | Yes | JSON request body field — iD of the assignee to be replaced | |
| new_assignee_ids | Yes | JSON request body field — array of IDs for new assignees | |
| replacement_type | Yes | JSON request body field — type of replacement (temporary or permanent) | |
| modify_project_roles | Yes | JSON request body field — whether to modify project roles during replacement | |
| new_workflow_manager_id | No | JSON request body field — iD of the new workflow manager (optional) |