Skip to main content
PATCH
Rename a journey, switch it on or off, or replace its moments

Authorizations

Authorization
string
header
required

Company secret API key.

Path Parameters

id
string<ObjectId>
required

Body

application/json
authHeader
string
deprecated
write-only

Legacy body API key. Prefer Authorization: Bearer. Consumed by authentication and never forwarded to journey commands.

authoringVersion
enum<number>

Use 2 for the business-form contract. Existing v1 definitions keep their execution rules.

Available options:
1,
2
startMode
enum<string>

Who starts the first moment. Response means a saved first answer, not opening its link.

Available options:
operator,
response,
webhook
recipients
object
name
string
Example:

"Viaje de ventas"

enabled
boolean
moments
object[]

Response

Journey updated

id
string
required
enabled
boolean
required
version
number
required
moments
object[]
required
key
string
name
string
authoringVersion
enum<number>
Available options:
1,
2
startMode
enum<string>
Available options:
operator,
response,
webhook
recipients
object
routing
object
createdAt
string<date-time>
updatedAt
string<date-time>