Workflows
Get all workflows
get
Authorizations
Query parameters
startnumberOptionalExample:
The page No
0
limitnumber · min: 1 · max: 50OptionalExample:
The Page Size
10
Header parameters
X-TexAu-ContextstringRequired
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Responses
200
Workflows fetched successfully
application/json
401
Unauthorized access
403
Your plan does not have API access
422
Requested workspace does not belongs to you
500
Error in fetching workflows
get
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
Pause Workflow
This API will pause the workflow, which means all scheduled executions will be canceled.
post
Authorizations
Path parameters
workflowIdstringRequired
Header parameters
X-TexAu-ContextstringRequired
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Responses
200
Workflow paused successfully
application/json
401
Unauthorized access
403
Your plan does not have API access
404
Workflow not found
422
Requested workspace does not belongs to you
post
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.
get
Authorizations
Path parameters
workflowIdstringRequired
Header parameters
X-TexAu-ContextstringRequired
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Responses
200
Workflow nodes fetched successfully
application/json
401
Unauthorized access
403
Your plan does not have API access
404
Workflow not found
422
Requested workspace does not belongs to you
500
Error in fetching workflow nodes
get
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