Skip to content

Update custom headers for a web journey

Request

PUT /v3/web-journeys/{webJourneyId}/custom-headers
Security
API_Key
Path
webJourneyIdinteger, (int64)required

Unique identification number for web journey item

Example:107239
Bodyapplication/jsonrequired

The Web Journey Custom Headers to update

assignedCustomHttpHeadersArray of objectsrequired
PUT
/v3/web-journeys/{webJourneyId}/custom-headers
curl -i -X PUT \
  https://api.observepoint.com/v3/web-journeys/107239/custom-headers \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "assignedCustomHttpHeaders": [
      {
        "groupId": 0,
        "isApplyToAll": true
      }
    ]
  }'

Responses

Successfully updated the custom headers for the web journey

Bodyapplication/json
assignedCustomHttpHeadersArray of objectsrequired
Response
{ "assignedCustomHttpHeaders": [ {} ] }