API reference
Platform
- Search
- Users
- Teams
- Tickets
- Tags
- Ticket tags
- Accounts
- Forms
- Comments
- Emoji actions
- Custom fields
- Custom object fields
- Custom objects
- Object records
- Views
- Views types
- Draft tickets
- Storage
- Reactions
Workflows
- Workflows
- GETAvailable filter operators and logical operators to use in workflow filters
- POSTCreate a new workflow
- DELDelete a workflow
- GETGet activity registry
- GETGet all the executions of a workflow
- GETGet all the tasks of a workflow execution
- GETGet all the workflows defined by the organization
- GETGet all the workflows defined by the organization
- GETGet event registry
- POSTToggle a workflow
- PATCHUpdate a workflow
- GET
Apps platform
- App creation
- App installation
- App uninstallation
- App reinstallation
- Incoming webhook
Workflows
Get all the workflows defined by the organization
GET
/
api
/
v1
/
workflows
/
{workflowUniqueIdentifier}
Copy
Ask AI
curl --request GET \
--url https://workflow-app.thena.ai/api/v1/workflows/{workflowUniqueIdentifier} \
--header 'x-api-key: <api-key>'
Copy
Ask AI
{
"results": [
{
"uid": "<string>",
"type": "<string>",
"subType": "<string>",
"uniqueIdentifier": "<string>",
"name": "<string>",
"version": 123,
"triggerEvent": {
"uid": "<string>",
"description": "<string>",
"eventName": "<string>",
"source": "platform_app",
"schema": {},
"metadata": {}
},
"filters": {},
"annotations": [
"<string>"
],
"workflowDefinition": [
{
"stepIdentifier": 123,
"activity": {
"name": "<string>",
"uniqueIdentifier": "<string>",
"version": 123,
"autoUpgradeToLatestVersion": true
},
"input": {},
"retryPolicy": {
"maximumAttempts": 123,
"initialInterval": 123,
"backoffCoefficient": 123
},
"onFailure": "<string>",
"isSleepActivity": true,
"executionTimeout": 123,
"approver": {
"type": "TEAM",
"uid": "<string>",
"timeout": 123
},
"dependencies": [
"<string>"
],
"filters": {},
"compensationActivity": {}
}
],
"executingAgent": "<string>",
"isActive": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"teamId": "<string>",
"metadata": {}
}
],
"total": 123
}
Authorizations
Enter your API key
Path Parameters
Query Parameters
The version of the workflow
Response
200
application/json
Operation successful
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://workflow-app.thena.ai/api/v1/workflows/{workflowUniqueIdentifier} \
--header 'x-api-key: <api-key>'
Copy
Ask AI
{
"results": [
{
"uid": "<string>",
"type": "<string>",
"subType": "<string>",
"uniqueIdentifier": "<string>",
"name": "<string>",
"version": 123,
"triggerEvent": {
"uid": "<string>",
"description": "<string>",
"eventName": "<string>",
"source": "platform_app",
"schema": {},
"metadata": {}
},
"filters": {},
"annotations": [
"<string>"
],
"workflowDefinition": [
{
"stepIdentifier": 123,
"activity": {
"name": "<string>",
"uniqueIdentifier": "<string>",
"version": 123,
"autoUpgradeToLatestVersion": true
},
"input": {},
"retryPolicy": {
"maximumAttempts": 123,
"initialInterval": 123,
"backoffCoefficient": 123
},
"onFailure": "<string>",
"isSleepActivity": true,
"executionTimeout": 123,
"approver": {
"type": "TEAM",
"uid": "<string>",
"timeout": 123
},
"dependencies": [
"<string>"
],
"filters": {},
"compensationActivity": {}
}
],
"executingAgent": "<string>",
"isActive": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"teamId": "<string>",
"metadata": {}
}
],
"total": 123
}
Assistant
Responses are generated using AI and may contain mistakes.