Skip to main content
POST
Create Workflow

Authorizations

Authorization
string
header
required

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

Body

application/json

Request shape for creating/updating a Workflow.

name
string
required

A name for this Workflow.

type
enum<string>
required

The kind of workflow.

Available options:
approval,
approval-chain,
entitlement-provisioning,
entitlement-deprovisioning,
account-provisioning,
account-deprovisioning
steps
WorkflowStepInput · object[]
required

The ordered steps of the workflow.

description
string | null

A description of this Workflow.

app_id
string | null

UUID of the app this Workflow belongs to. May be null for a shared, not-yet-associated Workflow. Immutable on update: a PUT whose app_id differs from the Workflow's current app is rejected with a 400 (workflow.app_reassignment_not_allowed).

Response

Successful Response

Response shape for a Workflow.

id
string
required

A UUID identifying this Workflow.

type
enum<string>
required

The kind of workflow.

Available options:
approval,
approval-chain,
entitlement-provisioning,
entitlement-deprovisioning,
account-provisioning,
account-deprovisioning
steps
WorkflowStepOutput · object[]
required

The ordered steps of the workflow.

name
string | null

A name for this Workflow.

description
string | null

A description of this Workflow.

app_id
string | null

UUID of the app this Workflow belongs to, if associated.