Skip to content
AchaduDevelopers
Operational APIGo to website
Dashboard
Developers/API/journey_update
Journeys

Update journey

Updates the graph and journey rules.

PATCH/journeys/{id}journeys:write

Request

idstring · pathResource identifier.mandatory
namestring · bodyJourney name.optional
descriptionstring · bodyObjective of the journey.optional
triggerstring · bodyInitial trigger.optional
blocksarray · bodyFlow blocks.optional
channelsarray · bodyAllowed channels.optional
segment_idstring · bodyEligible segment.optional
activeboolean · bodyActivate the journey.optional

Example

curl
curl -X PATCH 'https://achadu.com/api/v1/journeys/resource_id' \
+  -H 'Authorization: Bearer ach_live_...' \
+  -H 'Accept: application/json' \
+  -H 'Content-Type: application/json' \
+  --data '{
  "name": "My integration",
  "description": "string",
  "trigger": "string"
}'

Answer

200Operation completed
4xxError with code, message and request_id