Automations
Create Automation
Access
Member of the organization with this permission:
automations:write
An API key with scopes also needs the permission among its scopes.
POST
Creates an automation. It starts disabled. Needs automations:read (viewing) or automations:write (changing).
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
name*stringLength
1 <= length <= 120description?stringLength
length <= 500Default
""definition*OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//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" } ] }}'Example Response
null