Automations
Manage automated workflows
Get all automations
Retrieves a list of all automations for the current project
Authorization
Authorization
RequiredBearer <token>Requires a Bearer token in the Authorization header. Format: Authorization: Bearer YOUR_API_KEY
In: header
Response Body
A list of automations
TypeScript Definitions
Use the response body type in TypeScript.
meta
objectdata
array<object>links
objectCreate a new automation
Creates a new automation for the current project
Authorization
Authorization
RequiredBearer <token>Requires a Bearer token in the Authorization header. Format: Authorization: Bearer YOUR_API_KEY
In: header
Request Body
application/json
RequiredAutomation definition to create.
body
RequiredunknownResponse Body
Automation created successfully
TypeScript Definitions
Use the response body type in TypeScript.
meta
objectdata
objectlinks
objectGet automation by ID
Retrieves a specific automation by its ID
Authorization
Authorization
RequiredBearer <token>Requires a Bearer token in the Authorization header. Format: Authorization: Bearer YOUR_API_KEY
In: header
Path Parameters
id
RequiredstringThe automation ID
Response Body
Automation details
TypeScript Definitions
Use the response body type in TypeScript.
meta
objectdata
objectlinks
objectDelete an automation
Deletes an automation by its ID
Authorization
Authorization
RequiredBearer <token>Requires a Bearer token in the Authorization header. Format: Authorization: Bearer YOUR_API_KEY
In: header
Path Parameters
id
RequiredstringThe automation ID
Response Body
Automation deleted successfully
Update an automation
Updates an existing automation by its ID
Authorization
Authorization
RequiredBearer <token>Requires a Bearer token in the Authorization header. Format: Authorization: Bearer YOUR_API_KEY
In: header
Request Body
application/json
RequiredAutomation definition properties to update.
name
Requiredstringdescription
stringtrigger
objectDefines the trigger event and conditions. To clear/remove a trigger, provide null. To update, provide the new trigger object.
workflow
array<object>The updated sequence of tasks for the automation.
Path Parameters
id
RequiredstringThe ID of the automation to update.
Response Body
Automation updated successfully
TypeScript Definitions
Use the response body type in TypeScript.
meta
objectdata
objectlinks
object