v1

latestSwagger 2.02026-07-134146194.6 MB
EnvelopeWorkflowDefinition

Adds a new step to a template's workflow.

Adds a new step to a template's workflow.

post/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps

Path parameters

accountIdstring required

The external account number (int) or account ID GUID.

templateIdstring required

The ID of the template.

Request body

actionstring

Indicates the action to perform. Valid values:

  • pause_before: The workflow should pause before the trigger described by triggerOnItem is reached.
completedDatestring

The timestamp of when the workflow step transitioned to completed status.

This property is read-only.

itemIdstring

The unique ID of the item being triggered.

statusstring

The status of the step. Valid values:

  • inactive
  • in_progress
  • paused
  • pending
  • completed

This property is read-only.

triggeredDatestring

The timestamp of when the workflow step transitioned to in_progress status.

This property is read-only.

triggerOnItemstring

The type of item that triggers this workflow step. Valid values:

  • routing_order
workflowStepIdstring

A unique identifier for this workflow step.

This property is read-only.

Response

Successful response.