projects/{projectId}/workflows
Creates a new approval workflow in the specified project.
The workflow defines the steps, reviewers, durations, approval statuses, and post-review actions, and it can include customized configuration options. You can optionally attach custom attributes to the workflow using the attachedAttributes field, and control attribute update behavior via updateAttributesOptions.
For more details about approval workflows, see the Help documentation.
The Authorization header token can be obtained through either the three-legged OAuth flow or the two-legged OAuth flow with user impersonation, which requires the x-user-id header.
Resource Information
| Method and URI | POST https://developer.api.autodesk.com/construction/reviews/v1/projects/{projectId}/workflows |
| Authentication Context | Application or user-delegated (accepts both two-legged and three-legged access tokens) |
| Required OAuth Scopes | data:write |
| Data Format | JSON |
Request
Headers
| Authorization* string | Must be Bearer <token>, where <token> is a two-legged access token obtained via a Client Credentials Grant flow, or a three-legged access token obtained via an Authorization Code flow or a Secure Service Account (SSA) flow.
The SSA flow is designed for headless server-to-server operations. While it functions like a two-legged flow (no user interaction), it is classified as three-legged because it preserves user context. |
| x-user-id string | The Autodesk ID of the user on whose behalf the request is made. Use this header to specify which user should be affected by the request. Your application must be configured to act on behalf of that user.
This header is only required when using two-legged authentication. It is not needed for three-legged authentication. Only the user’s Autodesk ID ( |
| x-ads-region string | The region to which your request should be routed. If not set, the request is routed automatically but may incur a small latency increase.
Possible values: |
| Content-Type* string | Must be application/json |
Request
URI Parameters
| projectId string | The ID of the project.
Use the Data Management API to retrieve the project ID. For more information, see the Retrieve a Project ID tutorial. You can provide the project ID with or without the “b." prefix.
|
Request
Body Structure
| name* string | The name of the workflow. It must be unique within the project.
Max length: 255 |
| description string | A description of the workflow.
Max length: 4096 |
| notes string | A custom note associated with the workflow. Visible to all reviewers during the review process.
Max length: 4096 |
| additionalOptions object | Workflow-level settings that control additional edit permissions for initiators and approvers. |
| allowInitiatorToEdit boolean | Deprecated Supported for backward compatibility. Use initiatorEditPermissions with value REVIEWER_ASSIGNMENTS_AND_DURATION instead, which provides the same behavior.
|
| initiatorEditPermissions array: string | An optional array of values that grant the initiator additional edit permissions. Replaces the deprecated allowInitiatorToEdit field. If omitted or empty, the initiator has no additional edit permissions. Default: [].
Possible values:
|
| approverEditPermissions array: string | An optional array of values that grant approvers additional edit permissions in the UI. If omitted or empty, approvers have no additional edit permissions. Default: [] (empty array).
Possible values:
|
| additionalApprovalStatusOptions array: object | Custom approval statuses in addition to the built-in statuses (APPROVED, REJECTED). Maximum 48 items. |
| label* string | The display name shown in the UI. It must be unique across all status options (built-in and custom).
Max length: 255 |
| value* enum:string | The value representing the approval outcome. Possible values: APPROVED, REJECTED. |
| steps* array: object | Defines the sequence of steps in the workflow. Steps run in the order they appear. |
| name* string | The name of the step, as defined in the workflow. It appears in the UI and is used in workflow configuration.
Max length: 255 |
| type* enum:string | Indicates the step type in the workflow. Possible values:
|
| duration int | (Time allowed in the UI) The number of days allocated to complete this step.
This field applies only to Valid range: |
| dueDateType enum:string | Specifies how the due date is calculated for this step. It works together with duration.
This field applies only to Possible values:
|
| groupReview object | (Reviewer Type in the UI) Defines whether multiple reviewers can participate in this step and how their responses are handled. It applies only to REVIEWER steps. |
| enabled* boolean | Indicates whether group review is enabled for this step.
|
| type enum:string | (Displayed under More options in the UI) Specifies the group review rule for this step.
Possible values:
|
| min int | The minimum number of reviewers required for this step. This field is set automatically when the group review type is set to MINIMUM. It is not independently configurable. Valid range: 1–30. |
| candidates* object | (Displayed in the UI when selecting Reviewers/Approvers for a step) Defines the users, roles, or companies to specify for this step of the approval workflow. At least one of the fields (users, roles, or companies) must be provided. |
| users array: object | A list of individual users assigned as candidates for this step. |
| autodeskId* string | The Autodesk ID of the user. To find the Autodesk IDs of users for a project, call GET projects/users. |
| roles array: object | A list of project roles assigned as candidates for this step. |
| autodeskId* string | The Autodesk ID of the role. Note that we do not currently support finding details about roles for a project. |
| companies array: object | A list of companies assigned as candidates for this step. |
| autodeskId* string | The Autodesk ID of the company. To find the Autodesk IDs of companies for a project, call GET companies. |
| copyFilesOptions* object | (Copy approved files in the UI) The configuration for copying approved files to a target folder when the review is complete. |
| enabled* boolean | Indicates whether approved files should be copied to a target folder after the review is complete.
|
| allowOverride boolean | (Allow the initiator to change the target folder in the UI) Allows the initiator to change the target folder when creating a review.
|
| condition enum:string | (All/Any files in the review have been approved in the UI)
Specifies the condition under which approved files will be copied.
Possible values:
|
| folderUrn string | (Then copy approved files to in the UI)
The URN of the target folder where approved files will be copied. |
| includeMarkups boolean | (Include all published markups on approved files in the UI)
Indicates whether published markups should be included when copying files.
|
| disableOverrideMarkupSetting boolean | (Allow approvers to change whether or not markups are included in the UI)
Controls whether approvers or admins can change the markup inclusion setting when starting the review.
|
| attachedAttributes array: object | (Update Attributes in the UI)
An optional list of custom attribute IDs to attach to the workflow.
These attributes will be applied to the approved files in the target folder (or optionally also in the source folder) after the review is completed. |
| id* int | The ID of the custom attribute definition to attach to the workflow.
To find the definition for an ID, call GET custom-attribute-definitions and match the id field. |
| required boolean | (Attribute – Required by approver in the UI)
Indicates whether the approver must enter a value for this attribute to submit the review.
|
| updateAttributesOptions object | The configuration for applying attribute updates when a review is completed.
This applies only if the workflow includes a file copy action and the Update Attributes action is enabled. |
| enableAttachedAttributes boolean | (Update attributes in the UI)
Indicates whether the Update Attributes action is enabled.
|
| updateSourceAndCopiedFiles boolean | (Update attributes both for target folder and source folder or Update attributes only for target folder in the UI)
Determines whether attributes are updated only for files in the target folder, or for both the target and source folders.
Only available when the approval workflow includes a copy post-action. |
| allowApproverToUpdateRejectedFiles boolean | (Allow approvers to choose if the attributes of rejected files are updated for the source folder in the UI)
Determines whether approvers can choose to update attributes for rejected files in the source folder when submitting a review.
Only applicable when
|
Response
HTTP Status Code Summary
| 201 Created | The workflow was created successfully. |
| 400 Bad Request | Bad request. The input parameters were invalid. |
| 401 Unauthorized | Authentication failed. Required authentication headers are missing or invalid. |
| 403 Forbidden | Forbidden. The user does not have permission to access this resource. |
| 409 Conflict | A workflow with the same name already exists in the project. |
| 429 Too Many Requests | Rate limit exceeded. Retry after the number of seconds in the Retry-After response header. |
| 500 Internal Server Error | An unexpected server error occurred. |
Response
Header (429)
| Retry-After integer | Seconds to wait before retrying the request. |
Response
Body Structure (201)
| name string | The name of the workflow. It must be unique within the project.
Max length: 255 |
| description string | A description of the workflow.
Max length: 4096 |
| notes string | A custom note associated with the workflow. Visible to all reviewers during the review process.
Max length: 4096 |
| additionalOptions object | Workflow-level settings that control additional edit permissions for initiators and approvers. |
| allowInitiatorToEdit boolean | Deprecated Supported for backward compatibility. Use initiatorEditPermissions with value REVIEWER_ASSIGNMENTS_AND_DURATION instead, which provides the same behavior.
|
| initiatorEditPermissions array: string | An optional array of values that grant the initiator additional edit permissions. Replaces the deprecated allowInitiatorToEdit field. If omitted or empty, the initiator has no additional edit permissions. Default: [].
Possible values:
|
| approverEditPermissions array: string | An optional array of values that grant approvers additional edit permissions in the UI. If omitted or empty, approvers have no additional edit permissions. Default: [] (empty array).
Possible values:
|
| id string: UUID | The unique identifier of the approval workflow returned in the response. This ID can be used in subsequent API calls to reference this workflow. |
| status enum:string | The current status of the approval workflow. Possible values:
|
| approvalStatusOptions array: object | A list of approval status options defined for this workflow.
It includes two built-in options by default (typically APPROVED and REJECTED), and may also include custom statuses added by the user. |
| label string | The display name shown in the UI. It must be unique across all status options (built-in and custom).
Max length: 255 |
| value enum:string | The value representing the approval outcome. Possible values: APPROVED, REJECTED. |
| id string: UUID | The unique identifier of this approval status entry in the workflow. |
| builtIn boolean | Indicates whether the approval status is a built-in option.
|
| steps array: object | A list of steps defined in the approval workflow. Each step defines who reviews the files, how long they have, and whether it involves multiple reviewers. |
| name string | The name of the step, as defined in the workflow. It appears in the UI and is used in workflow configuration.
Max length: 255 |
| type enum:string | Indicates the step type in the workflow. Possible values:
|
| duration int | (Time allowed in the UI) The number of days allocated to complete this step.
This field applies only to Valid range: |
| dueDateType enum:string | Specifies how the due date is calculated for this step. It works together with duration.
This field applies only to Possible values:
|
| groupReview object | (Reviewer Type in the UI) Defines whether multiple reviewers can participate in this step and how their responses are handled. It applies only to REVIEWER steps. |
| enabled boolean | Indicates whether group review is enabled for this step.
|
| type enum:string | (Displayed under More options in the UI) Specifies the group review rule for this step.
Possible values:
|
| min int | The minimum number of reviewers required for this step. This field is set automatically when the group review type is set to MINIMUM. It is not independently configurable. Valid range: 1–30. |
| id string | The ID of the step. |
| candidates object | (Displayed in the UI when selecting reviewers for a step)
Lists the users, roles, or companies that were configured as reviewers for this step.
These candidates are defined during workflow setup and determine who will be invited to participate in the step during a review. |
| roles array: object | A list of project roles assigned as candidates for this step. |
| autodeskId string | The Autodesk ID of the role. |
| name string | The name of the role. |
| users array: object | A list of individual users assigned as candidates for this step. |
| autodeskId string | The Autodesk ID of the user. |
| name string | The name of the user. |
| companies array: object | A list of companies assigned as candidates for this step. |
| autodeskId string | The Autodesk ID of the company. |
| name string | The name of the company. |
| copyFilesOptions object | (Copy approved files in the UI) The configuration for copying approved files to a target folder when the review is complete. |
| enabled boolean | Indicates whether approved files should be copied to a target folder after the review is complete.
|
| allowOverride boolean | (Allow the initiator to change the target folder in the UI) Allows the initiator to change the target folder when creating a review.
|
| condition enum:string | (All/Any files in the review have been approved in the UI)
Specifies the condition under which approved files will be copied.
Possible values:
|
| folderUrn string | (Then copy approved files to in the UI)
The URN of the target folder where approved files will be copied. |
| includeMarkups boolean | (Include all published markups on approved files in the UI)
Indicates whether published markups should be included when copying files.
|
| disableOverrideMarkupSetting boolean | (Allow approvers to change whether or not markups are included in the UI)
Controls whether approvers or admins can change the markup inclusion setting when starting the review.
|
| attachedAttributes array: object | (Update Attributes in the UI)
The list of attributes added in the Update Attributes action.
These attributes will be applied to the approved files in the target folder, or optionally also in the source folder depending on the configuration. |
| id int | The ID of the custom attribute definition to be applied after review completion.
To find the definition for an ID, call GET custom-attribute-definitions and match the id field. |
| required boolean | (Attribute – Required by approver in the UI)
Indicates whether the approver must enter a value for this attribute to submit the review.
|
| updateAttributesOptions object | The configuration for applying attribute updates when a review is completed.
This applies only if the workflow includes a file copy action and the Update Attributes action is enabled. |
| enableAttachedAttributes boolean | (Update attributes in the UI)
Indicates whether the Update Attributes action is enabled.
|
| updateSourceAndCopiedFiles boolean | (Update attributes both for target folder and source folder or Update attributes only for target folder in the UI)
Determines whether attributes are updated only for files in the target folder, or for both the target and source folders.
Only available when the approval workflow includes a copy post-action. |
| allowApproverToUpdateRejectedFiles boolean | (Allow approvers to choose if the attributes of rejected files are updated for the source folder in the UI)
Determines whether approvers can choose to update attributes for rejected files in the source folder when submitting a review.
Only applicable when
|
| createdAt datetime: ISO 8601 | The date and time when the workflow was created. |
| updatedAt datetime: ISO 8601 | The date and time when the workflow was last updated. |
Example
The workflow was created successfully.
Request
curl -v 'https://developer.api.autodesk.com/construction/reviews/v1/projects/563a4c30-e30d-4869-ac02-2a18b6447abe/workflows' \
-X 'POST' \
-H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a' \
-H 'Content-Type: application/json' \
-d '{
"name": "Final Structural Review",
"description": "Used to review structural plans before finalizing IFC drawings.",
"notes": "Please check all rebar annotations before approving. Include markup if changes are required.",
"additionalOptions": {
"allowInitiatorToEdit": true,
"initiatorEditPermissions": [
"REVIEWER_ASSIGNMENTS_AND_DURATION",
"APPROVERS"
],
"approverEditPermissions": [
"APPROVERS"
]
},
"additionalApprovalStatusOptions": [
{
"label": "Approved w/ comments",
"value": "APPROVED"
}
],
"steps": [
{
"name": "Reviewer",
"type": "REVIEWER",
"duration": 3,
"dueDateType": "CALENDAR_DAY",
"groupReview": {
"enabled": true,
"type": "MINIMUM",
"min": 1
},
"candidates": {
"users": [
{
"autodeskId": "HWUBNU689CRU"
}
],
"roles": [
{
"autodeskId": "1473817"
}
],
"companies": [
{
"autodeskId": "26980302"
}
]
}
}
],
"copyFilesOptions": {
"enabled": true,
"allowOverride": false,
"condition": "ANY",
"folderUrn": "urn:adsk.wipprod:fs.folder:co.CplBAmvXRWGqsvN1Nabvd2",
"includeMarkups": false,
"disableOverrideMarkupSetting": false
},
"attachedAttributes": [
{
"id": 10272,
"required": false
}
],
"updateAttributesOptions": {
"enableAttachedAttributes": false,
"updateSourceAndCopiedFiles": false,
"allowApproverToUpdateRejectedFiles": false
}
}'
Response
{
"name": "Final Structural Review",
"description": "Used to review structural plans before finalizing IFC drawings.",
"notes": "Please check all rebar annotations before approving. Include markup if changes are required.",
"additionalOptions": {
"allowInitiatorToEdit": true,
"initiatorEditPermissions": [
"REVIEWER_ASSIGNMENTS_AND_DURATION",
"APPROVERS"
],
"approverEditPermissions": [
"APPROVERS"
]
},
"id": "4e609369-e950-4097-b7d3-e6cf1c3c5415",
"status": "ACTIVE",
"approvalStatusOptions": [
{
"label": "Approved w/ comments",
"value": "APPROVED",
"id": "b2a3c3b7-4fef-40a4-868b-981b23e7182f",
"builtIn": false
}
],
"steps": [
{
"name": "Reviewer",
"type": "REVIEWER",
"duration": 3,
"dueDateType": "CALENDAR_DAY",
"groupReview": {
"enabled": true,
"type": "MINIMUM",
"min": 1
},
"id": "Lane_uJtTI3vjaF",
"candidates": {
"roles": [
{
"autodeskId": "1473817",
"name": "Architect"
}
],
"users": [
{
"autodeskId": "HWUBNU689CRU",
"name": "James Smith"
}
],
"companies": [
{
"autodeskId": "26980302",
"name": "Autodesk Co. Ltd."
}
]
}
}
],
"copyFilesOptions": {
"enabled": true,
"allowOverride": false,
"condition": "ANY",
"folderUrn": "urn:adsk.wipprod:fs.folder:co.CplBAmvXRWGqsvN1Nabvd2",
"includeMarkups": false,
"disableOverrideMarkupSetting": false
},
"attachedAttributes": [
{
"id": 10272,
"required": false
}
],
"updateAttributesOptions": {
"enableAttachedAttributes": false,
"updateSourceAndCopiedFiles": false,
"allowApproverToUpdateRejectedFiles": false
},
"createdAt": "2024-07-07T09:21:17.577Z",
"updatedAt": "2025-01-07T08:43:10.189Z"
}