Adds a new step to an envelope's workflow
Adds a new step to an envelope's workflow.
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
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 POST "https://example.com/v2.1/accounts/string/envelopes/string/workflow/steps" \ -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"}Updates the scheduled sending rules for an envelope's workflow PUT
Updates the scheduled sending rules for an envelope's workflow. The envelope must have an existing workflow object.
Returns a specified workflow step for a specified template GET
Returns a workflow step specified by `workflowStepId` for an envelope specified by `envelopeId`.