Skip to content

Update web journey rules

Request

PUT /v3/web-journeys/{webJourneyId}/rules

Bind rules to a web journey and its actions

Security
API_Key
Path
webJourneyIdinteger, (int64)required

Unique identification number for web journey item

Example:107239
Bodyapplication/jsonrequired

Rules configuration to bind

webJourneyRulesArray of integers, unique

Set of web journey rule IDs

actionRulesArray of objects

List of action rule requests

PUT
/v3/web-journeys/{webJourneyId}/rules
curl -i -X PUT \
  https://api.observepoint.com/v3/web-journeys/107239/rules \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "webJourneyRules": [
      0
    ],
    "actionRules": [
      {
        "actionId": 0,
        "rules": [
          0
        ]
      }
    ]
  }'

Responses

Web journey rules updated successfully

Bodyapplication/json
webJourneyRulesArray of objects

List of rules for the web journey

actionRulesArray of objects

List of action-specific rules

Response
{ "webJourneyRules": [ {} ], "actionRules": [ {} ] }