block-quote On this pagechevron-down
copy Copy chevron-down
TRANSACTIONLINK API chevron-right API Reference Workflows Use workflows to automate multi-step processes
The Workflow Execution object
A Workflow Execution represents an instance of a workflow run triggered by your backend or frontend application. You can run workflows on a Transactionlink-hosted page, embed the form in your app, or execute them entirely in the background.
Use this object to initialize the flow, pass context, and retrieve completion status via webhooks or polling.
Initialise a new workflow execution
post
https://api.transactionlink.io Production chevron-down https://api.transactionlink.io https://api.sandbox.transactionlink.io
/workflows copy Initialise a new workflow execution
Authorization string Required Bearer authentication header of the form Bearer <token>.
Authorization string Required Bearer token for authentication
Example: Bearer eyJhbGciOiJub25lIn0.eyJ3b3Jrc3BhY2VJZCI6ImRmYjI0ODU5LTA0OWUtNDcwZi1hNjY5LThhNzE0ZmYzNjU2YyIsICJpYXQiOjE3NTY3Mzc3MzIsICJleHAiOjE3NTY3NDEzMzIsICJjdXN0b206dGVhbUlkIjoiZjM1ZmVhZmYtNmI5OS00YWJkLTg0ZWItMjI3MDg0MzM1NDMyIn0. Content-Type string Required Content type of the request - application/json
Example: application/json;charset=UTF-8 Body
application/json;charset=UTF-8 chevron-down application/json;charset=UTF-8
workflowDefinitionId string Required Identifier of the workflow definition to execute
locale string Required Locale for the workflow execution, e.g., 'en', 'fr'
parameters object Required Key-value pairs of parameters required for the workflow execution
expiresAt string · nullable Optional Optional expiration date-time for the workflow execution in ISO 8601 format. Must be between 30 minutes and 30 days from the current time
recordId uuid · nullable Optional Optional recordId this workflow refers to
chevron-right
application/json;charset=UTF-8
Headers object
Show Header plus
Response one of
object · InitialiseWorkflowBackgroundResponse Optional
Show properties plus
or object · InitialiseWorkflowInteractiveResponse Optional
Show properties plus
chevron-right
400 Bad Request – invalid request parameters
application/json
chevron-right
401 Unauthorized – JWT token missing or invalid
application/json
chevron-right
403 Forbidden – insufficient permissions
application/json
chevron-right
404 Not Found – resource does not exist
application/json
chevron-right
500 Internal Server Error – unexpected server error
application/json
Find a workflow execution by its ID
get
https://api.transactionlink.io Production chevron-down https://api.transactionlink.io https://api.sandbox.transactionlink.io
/workflows/ {workflowId} copy Find a workflow execution by its ID
Authorization string Required Bearer authentication header of the form Bearer <token>.
workflowId string Required Unique identifier of the workflow execution to retrieve
Authorization string Required Bearer token for authentication
Example: Bearer eyJhbGciOiJub25lIn0.eyJ3b3Jrc3BhY2VJZCI6IjNjNjdjZWNhLTU1OTctNGIyZi05OTcxLWMyZGY0NWFkYzY1NyIsICJpYXQiOjE3NTY3Mzc3MzIsICJleHAiOjE3NTY3NDEzMzIsICJjdXN0b206dGVhbUlkIjoiODVmMDU3OTctNjE1OS00Yjk1LWI4MmItNWUzZDgxYTY3Yzc0In0. chevron-right
application/json;charset=UTF-8
Headers object
Show Header plus
Response object · FindWorkflowResponse
Show properties plus
chevron-right
400 Bad Request – invalid request parameters
application/json
chevron-right
401 Unauthorized – JWT token missing or invalid
application/json
chevron-right
403 Forbidden – insufficient permissions
application/json
chevron-right
404 Not Found – resource does not exist
application/json
chevron-right
500 Internal Server Error – unexpected server error
application/json
Cancel a running workflow execution
post
https://api.transactionlink.io Production chevron-down https://api.transactionlink.io https://api.sandbox.transactionlink.io
/workflows/ {workflowId} /cancel copy Cancel a running workflow execution
Authorization string Required Bearer authentication header of the form Bearer <token>.
workflowId string Required Unique identifier of the workflow execution to cancel
Authorization string Required Bearer token for authentication
Example: Bearer eyJhbGciOiJub25lIn0.eyJ3b3Jrc3BhY2VJZCI6IjJiZDk3OGNlLTk1OGMtNDU3NS05NTUwLTFhMTk5MmUwYTYzOSIsICJpYXQiOjE3NTY3Mzc3MzMsICJleHAiOjE3NTY3NDEzMzMsICJjdXN0b206dGVhbUlkIjoiMjYyNTY0YjUtZjk5ZS00NTk0LTk4YTAtM2Y0MDQxMmQ4Y2FiIn0. chevron-right
400 Bad Request – invalid request parameters
application/json
chevron-right
401 Unauthorized – JWT token missing or invalid
application/json
chevron-right
403 Forbidden – insufficient permissions
application/json
chevron-right
404 Not Found – resource does not exist
application/json
chevron-right
500 Internal Server Error – unexpected server error
application/json
Get the result of a workflow execution
get
https://api.transactionlink.io Production chevron-down https://api.transactionlink.io https://api.sandbox.transactionlink.io
/workflows/ {workflowId} /result copy Returns the JSON result payload produced by a workflow execution. The result is retrieved from storage and reflects the final output of the workflow run.
Authorization string Required Bearer authentication header of the form Bearer <token>.
workflowId string · uuid Required Unique identifier of the workflow execution
Example: f01fd001-1456-426f-b8a1-972bc1d6218b Authorization string Required Bearer token for authentication
Example: Bearer eyJhbGciOiJub25lIn0.eyJ3b3Jrc3BhY2VJZCI6IjNjNjdjZWNhLTU1OTctNGIyZi05OTcxLWMyZGY0NWFkYzY1NyIsICJpYXQiOjE3NTY3Mzc3MzIsICJleHAiOjE3NTY3NDEzMzIsICJjdXN0b206dGVhbUlkIjoiODVmMDU3OTctNjE1OS00Yjk1LWI4MmItNWUzZDgxYTY3Yzc0In0. chevron-right
application/json;charset=UTF-8
Headers object
Show Header plus
Response object Arbitrary JSON object representing the result produced by the workflow execution. The structure depends on the workflow definition.
chevron-right
400 Bad Request – invalid request parameters
application/json
chevron-right
401 Unauthorized – JWT token missing or invalid
application/json
chevron-right
403 Forbidden – insufficient permissions
application/json
chevron-right
404 Not Found – workflow execution does not exist or result is not available
application/json
chevron-right
500 Internal Server Error – unexpected server error
application/json
Last updated 21 hours ago