Skip to main content
PUT
Update approval workflow

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Approval workflow update payload.

name
string

Approval workflow name.

Minimum string length: 1
Example:

"Enterprise quote approval"

description
string | null

Approval workflow description.

Example:

"Requires approval for high-value subscription quotes."

applicable_flows
enum<string>[]

Quote or subscription flows where the workflow applies.

Minimum array length: 1
Available options:
quote_subscription,
quote_subscription_update,
quote_one_off,
subscription_update
Example:
is_active
boolean

Whether the workflow is active.

Example:

true

priority
integer

Workflow priority. Lower values are evaluated first when multiple workflows match.

Example:

10

step_execution
enum<string>

How workflow steps execute. Sequential steps run by order; parallel steps run together.

Available options:
sequential,
parallel
Example:

"sequential"

email_notification_enabled
boolean

Whether approvers receive email notifications for this workflow.

Example:

true

rules
object[]

Rules that determine when the workflow applies.

Minimum array length: 1
steps
object[]

Approval steps required by the workflow.

Minimum array length: 1

Response

id
string
required

Approval workflow ID.

Example:

"apw_DKL4Xcb5VSa8CQ"

name
string
required

Approval workflow name.

Example:

"Enterprise quote approval"

description
string | null
required

Approval workflow description.

Example:

"Requires approval for high-value subscription quotes."

applicable_flows
enum<string>[]
required

Quote or subscription flows where the workflow applies.

Available options:
quote_subscription,
quote_subscription_update,
quote_one_off,
subscription_update
Example:
is_active
boolean
required

Whether the workflow is active.

Example:

true

priority
integer
required

Workflow priority. Lower values are evaluated first when multiple workflows match.

Example:

10

rules
object[]
required

Rules that determine when the workflow applies.

step_execution
enum<string>
required

How workflow steps execute. Sequential steps run by order; parallel steps run together.

Available options:
sequential,
parallel
Example:

"sequential"

email_notification_enabled
boolean
required

Whether approvers receive email notifications for this workflow.

Example:

true

steps
object[]
required

Approval steps required by the workflow.

version
integer
required

Workflow version number.

Example:

1

original_workflow_id
string | null
required

Original workflow ID when this workflow is an archived version.

Example:

null

created_at
string<date-time>
required

Approval workflow creation date. UTC date time string in the ISO 8601 format.

Example:

"2024-12-20T16:04:11Z"