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
Bearer token for authentication
Bearer eyJhbGciOiJub25lIn0.eyJ3b3Jrc3BhY2VJZCI6ImI0YmJlNzVhLWY1OTMtNGJlMS04MWViLTNlMDZiYThjZGIxYiIsICJpYXQiOjE3NTY0NTk5NjYsICJleHAiOjE3NTY0NjM1NjYsICJjdXN0b206dGVhbUlkIjoiMzU4Nzg5NDYtMzY1NS00NzgzLTlhYWQtNWZhN2YwOGFiMjAzIn0.
Content type of the request - application/json
application/json;charset=UTF-8
Identifier of the workflow definition to execute
Locale for the workflow execution, e.g., 'en', 'fr'
Key-value pairs of parameters required for the workflow execution
Optional expiration date-time for the workflow execution in ISO 8601 format
200
POST /workflows HTTP/1.1
Host: api.sandbox.transactionlink.io
Authorization: text
Content-Type: application/json;charset=UTF-8
Accept: */*
Content-Length: 126
"{\n \"workflowDefinitionId\" : \"c7c0a346-ee1f-4d11-898b-5cfd812c8029\",\n \"locale\" : \"uk\",\n \"parameters\" : { }\n}"
200
{
"id" : "0fc2dd2b-3c0c-448a-a514-96f5e02caa6a",
"workspaceId" : "b4bbe75a-f593-4be1-81eb-3e06ba8cdb1b",
"workflowDefinitionId" : "c7c0a346-ee1f-4d11-898b-5cfd812c8029",
"parameters" : { },
"name" : "workflow-name",
"revision" : "abc",
"status" : "RUNNING",
"locale" : "uk",
"expiresAt" : "2025-08-29T10:32:46.288669Z",
"uiOptions" : { },
"executionType" : "BACKGROUND",
"executionVersion" : 1
}
Find a workflow execution by its ID
Unique identifier of the workflow execution to retrieve
Bearer token for authentication
Bearer eyJhbGciOiJub25lIn0.eyJ3b3Jrc3BhY2VJZCI6ImY3Yzc0ZWY0LTk4NmItNDFhMS1hZTA2LWYyN2EwYTgzOTM3NyIsICJpYXQiOjE3NTY0NTk5NjYsICJleHAiOjE3NTY0NjM1NjYsICJjdXN0b206dGVhbUlkIjoiOTk3N2MyYjktNTAzYi00YmY0LWJmYzUtNWZlNTI1MmZmODc1In0.
200
GET /workflows/{workflowId} HTTP/1.1
Host: api.sandbox.transactionlink.io
Authorization: text
Accept: */*
200
{
"id" : "5d75e598-2d94-46db-9c19-158bc9149159",
"workspaceId" : "f7c74ef4-986b-41a1-ae06-f27a0a839377",
"workflowDefinitionId" : "76ebf1d0-66cc-4498-9fe5-be0aba5eafbc",
"parameters" : { },
"name" : "workflow-name",
"revision" : "abc",
"status" : "RUNNING",
"locale" : "uk",
"expiresAt" : "2025-08-29T10:32:46.242361Z",
"uiOptions" : { },
"executionType" : "BACKGROUND",
"executionVersion" : 1
}
Cancel a running workflow execution
Unique identifier of the workflow execution to cancel
Bearer token for authentication
Bearer eyJhbGciOiJub25lIn0.eyJ3b3Jrc3BhY2VJZCI6IjdhNWZkNTllLWE2MjktNDBmYy1iMTU3LTYzZjc5ZDczOThkNiIsICJpYXQiOjE3NTY0NTk5NjYsICJleHAiOjE3NTY0NjM1NjYsICJjdXN0b206dGVhbUlkIjoiMGZjZWIxNGQtOWEyNC00MzU1LTg1OGUtYjNjNmNlMWI2ZDBjIn0.
200
No content
POST /workflows/{workflowId}/cancel HTTP/1.1
Host: api.sandbox.transactionlink.io
Authorization: text
Accept: */*
200
No content
Last updated
Was this helpful?