Automations

Create Automation

POST
/orgs/{organizationId}/automations

Creates an automation. It starts disabled. Needs automations:read (viewing) or automations:write (changing).

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

application/json
  1. body
name*string
Length1 <= length <= 120
description?string
Lengthlength <= 500
Default""
definition*

Response Body

OK

application/json
  1. response
curl -X POST 'https://api.tillor.eu/orgs/string/automations' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "definition": {    "nodes": [      {        "id": "string",        "type": "trigger",        "label": "string",        "position": {          "x": 0,          "y": 0        },        "config": {          "property1": "string",          "property2": "string"        }      }    ],    "edges": [      {        "id": "string",        "source": "string",        "target": "string",        "sourceHandle": "string"      }    ]  }}'
null