← Back to API Reference overview

Workflow Steps

Endpoints for managing workflow steps in Linkbreakers. Workflow steps define the behavior of links, such as redirection destinations and data collection flows.

Shortcut: ⌘K

#The Workflow Step object

WorkflowStep represents a workflow step in the system.

canvasPosition

object

childStepIds

array<string>

createdAt

string (date-time)

eventAction

string (enum)
Allowed values
EVENT_ACTION_UNSPECIFIED
EVENT_ACTION_CLIENT_REDIRECT
EVENT_ACTION_QRCODE_SCAN
EVENT_ACTION_PASSWORD
EVENT_ACTION_FORM

id

string

kind

string (enum)
Allowed values
KIND_UNSPECIFIED
KIND_ENTRY
KIND_EXIT
KIND_INTERACTIVE

linkId

string

parentStepIds

array<string>

payload

object

updatedAt

string (date-time)
GET/v1/links/{linkId}/workflow-steps/{id}Requires auth

#Get workflow step details

Retrieves information about a specific workflow step.

#Parameters

path parameters

linkId

stringRequiredpath

id

stringRequiredpath

#Response

200

Everything worked as expected.

workflowStep

object

WorkflowStep represents a workflow step in the system.

#Error response

All endpoints may return an unexpected error payload when a request cannot be processed.

error

objectRequired

Wrapped error response.

POST/v1/links/{linkId}/workflow-stepsRequires auth

#Create a new workflow step

This endpoint allows users to create a new workflow step for a link. Workflow steps define the behavior of links, such as redirection destinations.

#Parameters

path parameters

linkId

stringRequiredpath

#Request body

canvasPosition

object

eventAction

string (enum)
Allowed values
EVENT_ACTION_UNSPECIFIED
EVENT_ACTION_CLIENT_REDIRECT
EVENT_ACTION_QRCODE_SCAN
EVENT_ACTION_PASSWORD
EVENT_ACTION_FORM

id

string

payload

object

#Response

200

Everything worked as expected.

workflowStep

object

WorkflowStep represents a workflow step in the system.

#Error response

All endpoints may return an unexpected error payload when a request cannot be processed.

error

objectRequired

Wrapped error response.

POST/v1/links/{linkId}/workflow-steps/{parentStepId}/relationshipsRequires auth

#Add relationship between workflow steps

Creates a parent-child relationship between two workflow steps.

#Parameters

path parameters

linkId

stringRequiredpath

parentStepId

stringRequiredpath

#Request body

childStepId

string

#Response

200

Everything worked as expected.

message

string

#Error response

All endpoints may return an unexpected error payload when a request cannot be processed.

error

objectRequired

Wrapped error response.

PATCH/v1/links/{linkId}/workflow-steps/{id}Requires auth

#Update a workflow step

Updates an existing workflow step for a link.

#Parameters

path parameters

linkId

stringRequiredpath

id

stringRequiredpath

#Request body

canvasPosition

object

payload

object

#Response

200

Everything worked as expected.

workflowStep

object

WorkflowStep represents a workflow step in the system.

#Error response

All endpoints may return an unexpected error payload when a request cannot be processed.

error

objectRequired

Wrapped error response.

DELETE/v1/links/{linkId}/workflow-steps/{id}Requires auth

#Delete a workflow step

Removes a workflow step from the link. This operation cannot be undone.

#Parameters

path parameters

linkId

stringRequiredpath

id

stringRequiredpath

#Response

200

Everything worked as expected.

No structured schema available for this section.

#Error response

All endpoints may return an unexpected error payload when a request cannot be processed.

error

objectRequired

Wrapped error response.

DELETE/v1/links/{linkId}/workflow-steps/{parentStepId}/relationships/{childStepId}Requires auth

#Remove relationship between workflow steps

Removes a parent-child relationship between two workflow steps.

#Parameters

path parameters

linkId

stringRequiredpath

parentStepId

stringRequiredpath

childStepId

stringRequiredpath

#Response

200

Everything worked as expected.

message

string

#Error response

All endpoints may return an unexpected error payload when a request cannot be processed.

error

objectRequired

Wrapped error response.