Automation2
Cancel an automation execution
A UUID string identifying this automation execution.
No response body
No content
POST /api/automation2/automation-execution/{id}/cancel HTTP/1.1
X-API-KEY: YOUR_API_KEY
X-BUSINESS-ID: YOUR_BUSINESS_ID
X-USER-ID: YOUR_USER_ID
Accept: */*
No response body
No content
Resume automation execution
A UUID string identifying this automation execution.
No response body
No content
POST /api/automation2/automation-execution/{id}/play HTTP/1.1
X-API-KEY: YOUR_API_KEY
X-BUSINESS-ID: YOUR_BUSINESS_ID
X-USER-ID: YOUR_USER_ID
Accept: */*
No response body
No content
Returns a filtered list of automations. When 'include_subfolders' is set to true, it returns a paginated list of automations in a specified folder and its subfolders.
Filters automations by folder_id. Will be set to root when include_subfolder is toggled on.
Displays folders without matching automations, by default they are hidden
falseReturns folder structure instead of a list. If folder_id query parameter is not set, root folder will be used by default.
falseWhich field to use when ordering the results. Prepend with '-' for descending order.
A page number within the paginated result set.
Number of results to return per page.
A search term.
123http://api.example.org/accounts/?page=4http://api.example.org/accounts/?page=2["error message"]GET /api/automation2/automations HTTP/1.1
X-API-KEY: YOUR_API_KEY
X-BUSINESS-ID: YOUR_BUSINESS_ID
X-USER-ID: YOUR_USER_ID
Accept: */*
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2",
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"api_name": "text",
"created": "2026-01-01T00:00:00.000Z",
"active": true,
"type": "record_based",
"revision": 1,
"number_active": 1,
"number_paused": 1,
"number_completed": 1,
"custom_object": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"entity_name": "text",
"object_name": "text",
"object_class": "text",
"object_type": "pipeline",
"default_on_activities": true,
"deleted": true
},
"folder": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
},
"created_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"display_name": "text"
},
"updated_by": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"display_name": "text"
},
"user_description": "text",
"ai_description": "text"
}
],
"errors": [
"error message"
]
}Start automation
Which field to use when ordering the results. Prepend with '-' for descending order.
No response body
No content
POST /api/automation2/automations/{automation_identifier}/start HTTP/1.1
X-API-KEY: YOUR_API_KEY
X-BUSINESS-ID: YOUR_BUSINESS_ID
X-USER-ID: YOUR_USER_ID
Content-Type: application/json
Accept: */*
Content-Length: 166
{
"client_id": "123e4567-e89b-12d3-a456-426614174000",
"record_id": "123e4567-e89b-12d3-a456-426614174000",
"variable_overrides": [
{
"variable_name": "text",
"value": "text"
}
]
}No response body
No content
Last updated
Was this helpful?