# Get web journey rules GET /v3/web-journeys/{webJourneyId}/rules Retrieve all rules associated with a web journey Endpoint: GET /v3/web-journeys/{webJourneyId}/rules Security: API_Key ## Path parameters: - `webJourneyId` (integer, required) Unique identification number for web journey item Example: 107239 ## Response 200 fields (application/json): - `webJourneyRules` (array) List of rules for the web journey - `webJourneyRules.id` (integer) - `webJourneyRules.name` (string) - `webJourneyRules.accountId` (integer) - `webJourneyRules.createdBy` (integer) - `webJourneyRules.createdAt` (string) - `webJourneyRules.updatedAt` (string) - `webJourneyRules.recipients` (array) - `webJourneyRules.checkTimes` (integer) - `webJourneyRules.matchAllFilters` (boolean) - `webJourneyRules.pageFilters` (array) - `webJourneyRules.pageFilters.ruleId` (integer) - `webJourneyRules.pageFilters.value` (string) - `webJourneyRules.pageFilters.type` (integer,null) Type of the page filter. Enum: 1, 2 - `webJourneyRules.pageFilters.matchType` (string,null) Enum: "IsPresent", "Equals", "DoesNotEqual", "Contains", "DoesNotContain", "IsSet", "IsNotSet", "Regex", "GreaterThanOrEqualTo", "LessThanOrEqualTo" - `webJourneyRules.tags` (array) - `webJourneyRules.tags.tagId` (integer) - `webJourneyRules.tags.account` (string) - `webJourneyRules.tags.validationDescription` (string) - `webJourneyRules.tags.clause` (string,null) Enum: "If", "Then", "Else" - `webJourneyRules.tags.variables` (array) - `webJourneyRules.tags.variables.ruleTagId` (integer) - `webJourneyRules.tags.variables.variable` (string) - `webJourneyRules.tags.variables.valueTagId` (integer) - `webJourneyRules.tags.variables.selectorType` (string) Enum: "Empty", "String", "UrlParameter", "DataLayer", "Tag" - `webJourneyRules.labels` (array) - `webJourneyRules.labels.id` (integer, required) Label identifier Example: 223 - `webJourneyRules.fromTemplate` (boolean) - `actionRules` (array) List of action-specific rules - `actionRules.actionId` (integer) The ID of the action - `actionRules.rules` (array) List of rules for this action ## Response 401 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object) ## Response 403 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object) ## Response 404 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object)