Skip to content

Rename / enable / pause / update trigger config

Requires ADMIN. action=enable requires a published version (else 422).

projectId
required
string

Project (tenant) identifier. Row-level tenant isolation is enforced on every query.

id
required
string

Automation (journey) identifier.

Media typeapplication/json
object
>= 1 properties
name
string
>= 1 characters <= 120 characters
description
string | null
<= 500 characters
action
string
Allowed values: enable pause
triggerEventName
string
>= 1 characters <= 120 characters
entryConditionJson
object | null
exitConditionJson
object | null
reEntryMode
string
Allowed values: once every_rematch interval
reEntryIntervalSeconds
integer | null
>= 1
maxConcurrentPerUser
integer
>= 1

Updated automation.

Media typeapplication/json
object
automation

A journey row surfaced as an automation.

object
id
string
projectId
string
name
string
description
string | null
triggerEventName
string
maxConcurrentPerUser
integer
status
string
activeVersionId
string | null
entryConditionJson
string | null
reEntryMode
string
Allowed values: once every_rematch interval
reEntryIntervalSeconds
integer | null
exitConditionJson
string | null
createdAt
string
updatedAt
string
key
additional properties
any

Missing/invalid path input (e.g. projectId) or invalid JSON body.

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Not authenticated (401 via requireAuthenticated) or insufficient project role (403).

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Resource not found (or cross-tenant — same 404).

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Param validation failed, or enable without published version (error=cannot_enable_unpublished), or interval mode missing interval seconds.

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}