Updates the specified workflow step for an envelope
Updates the workflow step specified by workflowStepId for an envelope.
You can use this endpoint to add or update delayed routing for a draft envelope. You can add or update delayed routing for a sent envelope as long as the previous workflow step has not been completed.
Authorization
OAuth2 OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.
In: header
Path Parameters
The external account number (int) or account ID GUID.
The envelope's GUID.
Example: 93be49ab-xxxx-xxxx-xxxx-f752070d71ec
The ID of the workflow step.
Request Body
application/json
Describes a single step in a workflow.
Indicates the action to perform. Valid values:
pause_before: The workflow should pause before the trigger described bytriggerOnItemis reached.
The timestamp of when the workflow step transitioned to completed status.
This property is read-only.
A complex element that specifies the delayed routing settings for the workflow step.
The unique ID of the item being triggered.
Describes the recipient routing rules.
The status of the step. Valid values:
inactivein_progresspausedpendingcompleted
This property is read-only.
The timestamp of when the workflow step transitioned to in_progress status.
This property is read-only.
The type of item that triggers this workflow step. Valid values:
routing_order
A unique identifier for this workflow step.
This property is read-only.
Response Body
application/json
application/json
curl -X PUT "https://example.com/v2.1/accounts/string/envelopes/string/workflow/steps/string" \ -H "Content-Type: application/json" \ -d '{}'{ "action": "string", "completedDate": "string", "delayedRouting": { "resumeDate": "string", "rules": [ { "delay": "string", "resumeDate": "string" } ], "status": "string" }, "itemId": "string", "recipientRouting": { "rules": { "conditionalRecipients": [ { "conditions": [ { "filters": [ { "operator": "string", "recipientId": "string", "scope": "string", "tabId": "string", "tabLabel": "string", "tabType": "string", "value": "string" } ], "order": "string", "recipientLabel": "string" } ], "order": "string", "recipientGroup": { "groupMessage": "string", "groupName": "string", "recipients": [ { "email": "string", "name": "string", "recipientLabel": "string", "roleName": "string", "signingGroupId": "string" } ] }, "recipientId": "string" } ] } }, "status": "string", "triggeredDate": "string", "triggerOnItem": "string", "workflowStepId": "string"}Deletes a workflow step from an envelope's workflow definition DELETE
Deletes the workflow step specified by `workflowStepId` from an envelope specified by `envelopeId`.
Returns the delayed routing rules for an envelope's workflow step definition GET
Given an envelope and a workflow step, returns the delayed routing rules for that workflow step. **Note:** If the workflow step does not have a delayed routing object, this method returns a 404.