Skip to main content
POST
Create a new automation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Organization-Id
string

ID da organização para contexto (opcional). Quando presente, filtra recursos da org.

Body

application/json
name
string
required

Nome da automação

trigger
object
required

Configuração do gatilho

actions
object[]
required

Lista de ações

conditions
object[]

Condições opcionais

enabled
boolean
default:true

Automação ativa

Response

Automation created

id
integer
name
string
trigger
object
conditions
object[]
actions
object[]
enabled
boolean
user_id
string
org_id
string | null
created_at
string<date-time>