Applies the selected operation to each project and returns successful and failed results. Supported operations include changing status or type, linking workflows, updating clients, leads, dates, teams, and tags, and deleting projects. All operations support both products, including workflow linking and its project and task status changes.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
operationstringRequiredBatch operation route key.
Request body Required
Validated request body for the selected operation.
application/json
projectIdsarray of stringRequired1000 Project ids affected by the batch operation. The submitted count includes duplicate ids and is limited to 1000.
projectStatusIdstring or nullOptionalTarget project status for changeprojectstatus.
projectTypeIdstring or nullOptionalTarget project type for changeprojecttype.
workflowIdstring or nullOptionalWorkflow to link for linkworkflow.
projectStatusMappingarray of object or nullOptionalProject status mappings used when linking a workflow.
Show 2 properties
oldProjectStatusIdstringRequiredThe Id of the existing project status to replace.
newProjectStatusIdstringRequiredThe Id of the workflow project status to use instead.
taskStatusMappingarray of object or nullOptionalTask status mappings used when linking a workflow.
Show 2 properties
oldTaskStatusIdstringRequiredThe Id of the existing task status to replace.
newTaskStatusIdstringRequiredThe Id of the workflow task status to use instead.
keepCustomFieldsboolean or nullOptionalWhether custom fields should be kept when linking a workflow.
keepCustomAutomationsboolean or nullOptionalWhether custom automations should be kept when linking a workflow.
companyIdstring or nullOptionalCompany to assign for setclient.
responsibleUserIdstring or nullOptionalResponsible user to assign for setprojectlead.
teamIdsarray of string or nullOptionalTeam ids to add or remove for team batch operations.
newStartDatestring or nullOptionalNew start date for setdates.
newDueDatestring or nullOptionalNew due date for setdates.
removeStartDateboolean or nullOptionalWhether the start date should be removed for setdates.
removeDueDateboolean or nullOptionalWhether the due date should be removed for setdates.
daysOffsetnumber or nullOptionalDay offset for adjustdates.
tagsarray of object or nullOptionalTags to add for addtags.
Show 2 properties
namestringRequired0 maxLength: 255 The name of the tag to delete.
colorstring or nullOptionalThe color of the tag. Use one of 'red', 'coral', 'yellow', 'green', 'teal', 'arctic', 'blue', 'azure', 'purple', 'violet'.
tagsToRemovearray of object or nullOptionalTags to remove for removetags.
Show 1 properties
namestringRequired0 maxLength: 255 The name of the tag to delete.
deleteTimeTrackingsboolean or nullOptionalWhether related time trackings should be deleted for delete.
Responses
207 Multi-Status
application/json
okobjectOptionalThe entity IDs with the same batch operation outcome.
Show 1 properties
idsarray of string or nullOptionalThe affected entity IDs.
notFoundobjectOptionalThe entity IDs with the same batch operation outcome.
Show 1 properties
idsarray of string or nullOptionalThe affected entity IDs.
unauthorizedobjectOptionalThe entity IDs with the same batch operation outcome.
Show 1 properties
idsarray of string or nullOptionalThe affected entity IDs.
badRequestobjectOptionalThe entity IDs with the same batch operation outcome.
Show 1 properties
idsarray of string or nullOptionalThe affected entity IDs.
400 Bad Request
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.
401 Unauthorized
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.