Automations
Get all Automations
This API gives you a list of all automations for a specific platform.
get
Authorizations
Query parameters
startnumberOptionalExample:
The page No
0
limitnumber · min: 1 · max: 50OptionalExample:
The Page Size
10
platformIdstringRequiredExample:
Platform ID
622f03eb770f6bba0b8facaa
Header parameters
X-TexAu-ContextstringRequired
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Responses
200
Automations fetch successful
application/json
401
Unauthorized access
403
Your plan does not have API access
422
Requested workspace does not belongs to you
500
Error while fetching Automations
get
GET /api/v1/public/automations?platformId=622f03eb770f6bba0b8facaa HTTP/1.1
Host:
Authorization: Bearer JWT
X-TexAu-Context: text
Accept: */*
{
"success": true,
"message": "Automations fetch successful",
"total": 1,
"data": [
{
"id": "Automation ID",
"name": "Automation name",
"label": "Automation label",
"platformId": "Platform ID"
}
]
}
Get Automation By ID
This API will give you a list of inputs
and output
of specific automation.
get
Authorizations
Path parameters
automationIdstringRequired
Header parameters
X-TexAu-ContextstringRequired
Pass orgUserId and workspaceId as ‘{"orgUserId":"123","workspaceId":"123"}’
Responses
200
Automation fetched successfully
application/json
401
Unauthorized access
403
Your plan does not have API access
404
Automation does not exists
422
Requested workspace does not belongs to you
500
Error in fetching automation
get
GET /api/v1/public/automations/{automationId} HTTP/1.1
Host:
Authorization: Bearer JWT
X-TexAu-Context: text
Accept: */*
{
"success": true,
"message": "Automation fetched successfully",
"data": {
"id": "The Automation ID",
"name": "The Automation name",
"description": "The Automation description",
"shortName": "The Automation short name",
"category": "The Automation category",
"platformId": "The Platform ID",
"inputs": [
{
"name": "The input name, e.g., liProfileUrl",
"label": "The input label, e.g., Profile URL",
"description": "The input description, e.g., Linkedin Profile URL",
"type": "The input type, e.g., text",
"isRequired": true,
"choices": [
{}
]
}
],
"outputs": [
{
"name": "The output name, e.g., liProfileUrl",
"label": "The output label, e.g., Profile URL",
"description": "The output description, e.g., Linkedin Profile URL",
"type": "The output type, e.g., text"
}
]
}
}
Last updated