Skip to main content
PUT
/
api
/
automations
/
{id}
Update an existing automation
curl --request PUT \
  --url https://your-instance.example.com/api/automations/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "event": "<string>",
  "actions": {},
  "sourceStatuses": [
    "<string>"
  ],
  "maxTransitions": 123,
  "enabled": true,
  "triggerType": "<string>",
  "conditions": [
    {}
  ],
  "triggerLogicType": "<string>",
  "timerLogic": {
    "enabled": true,
    "delay": 2,
    "unit": "<string>"
  },
  "schedule": {
    "start": "<string>",
    "end": "<string>"
  },
  "maxFollowUpCount": 2
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
name
string
description
string
event
string
actions
object
sourceStatuses
string[]
maxTransitions
number
enabled
boolean
triggerType
string
conditions
object[]
triggerLogicType
string

Either "event" or "timer"

timerLogic
object
schedule
object
maxFollowUpCount
number | null
Required range: x >= 1

Response

Automation updated successfully

Generic response envelope. Endpoint-specific fields are intentionally open.