Workflows
Get all workflows
The page No
0
The Page Size
10
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Workflows fetched successfully
Unauthorized access
Your plan does not have API access
Requested workspace does not belongs to you
Error in fetching workflows
GET /api/v1/public/workflows HTTP/1.1
Host:
Authorization: Bearer JWT
X-TexAu-Context: text
Accept: */*
{
"success": true,
"message": "Workflows fetched successfully",
"total": 1,
"data": [
{
"id": "The Workflow ID",
"name": "The Workflow name"
}
]
}
Get workflow by ID
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Workflow fetched successfully
Unauthorized access
Your plan does not have API access
Workflow not found
Requested workspace does not belongs to you
Error in fetching workflow
GET /api/v1/public/workflows/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
X-TexAu-Context: text
Accept: */*
{
"success": true,
"message": "Workflow fetched successfully",
"data": {
"id": "The Workflow ID",
"name": "The Workflow name",
"description": "The Workflow description",
"isScheduled": false,
"inputSource": "direct-input"
}
}
Pause Workflow
This API will pause the workflow, which means all scheduled executions will be canceled.
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Workflow paused successfully
Unauthorized access
Your plan does not have API access
Workflow not found
Requested workspace does not belongs to you
POST /api/v1/public/workflows/{workflowId}/pause HTTP/1.1
Host:
Authorization: Bearer JWT
X-TexAu-Context: text
Accept: */*
{
"success": true,
"message": "text",
"data": {
"workflowId": "text",
"isActive": true,
"isInternalSchedule": true,
"isScheduled": true,
"isJobAddedOnQueue": true
}
}
Get workflow nodes by workflow ID
This API will give you a list of all nodes in the workflow.
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Workflow nodes fetched successfully
Unauthorized access
Your plan does not have API access
Workflow not found
Requested workspace does not belongs to you
Error in fetching workflow nodes
GET /api/v1/public/workflows/{workflowId}/nodes HTTP/1.1
Host:
Authorization: Bearer JWT
X-TexAu-Context: text
Accept: */*
{
"success": true,
"message": "Workflow nodes fetched successfully",
"total": 1,
"data": [
{
"id": "The workflow node ID",
"label": "The workflow node label",
"nextNode": "The next node ID",
"previousNode": "The previous node ID",
"connectedAccountId": "The social account ID",
"inputs": "The inputs for this node"
}
]
}
Last updated