---
title: "Navigate through the booking flow"
method: POST
path: "/triage/navigate"
tags: ["triage"]
---

# Navigate through the booking flow

`POST /triage/navigate`

## Request

- Base URL: `https://api.mijnziekenhuis.be` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mijnziekenhuis.be/triage/navigate`
- Auth: HTTP bearer

Handles navigation between different steps in the booking process. Use action: select-specialisation, select-answer, select-slot, confirm, or previous.

## Request body

- union
  - SelectRecommendedCaregiverRequestDto (unresolved $ref)
  - SelectSpecialisationRequestDto (unresolved $ref)
  - SelectAnswerRequestDto (unresolved $ref)
  - SelectSlotRequestDto (unresolved $ref)
  - ConfirmRequestDto (unresolved $ref)
  - DisclaimerSubmitRequestDto (unresolved $ref)
  - PreviousRequestDto (unresolved $ref)
  - UpdateFiltersRequestDto (unresolved $ref)
  - ContinueFromInfoRequestDto (unresolved $ref)
  - LoadMoreSlotsRequestDto (unresolved $ref)

## Response `200`

Current step information and updated flow state

- FlowResponseDto
  - `flowState` FlowStateDto, required: The current state of the booking flow
    - `currentStep` 'recommended-caregivers' | 'specialisation-selection' | 'triage-question' | 'disclaimer' | 'specialisation-info' | 'contact' | 'emergency' | 'slot-selection' | 'confirmation' | 'success' | 'no-digital-booking' | 'other-department', required: Current step in the flow
    - `sessionId` string: Session ID for synops operations
    - `specialisationId` number: Selected specialisation - CMS ID
    - `specialisation` Specialisation: Selected specialisation
      - `id` number, required
      - `agendaId` string, nullable
      - `title` CMSTranslationDto, required
        - `nl` string
        - `en` string
      - `description` CMSTranslationDto, required
        - `nl` string
        - `en` string
      - `info` CMSTranslationDto, required
        - `nl` string
        - `en` string
      - `subspecialisms` number[], required
      - `availableForBooking` boolean, required
      - `noPreference` boolean
      - `alternativeAppointmentsExclusive` boolean
      - `searchKeywords` SpecialisationKeywords, required
        - `nl` string[], required
        - `en` string[], required
      - `doctors` object[]
    - `rootTriageNodeId` string: Root triage node ID
    - `currentTriageNodeId` string: Current triage node ID
    - `triagePath` object[]: Triage path steps (nodeId, answer pairs)
      - `nodeId` string
      - `answer` string
    - `contactLocations` string[]: Contact locations
    - `appointmentType` number: Appointment type determined by triage
    - `selectedSlot` object: Selected slot information
    - `filters` FlowFiltersDto: User-chosen active filters for slot selection
      - `fromDate` string: From date filter
      - `locations` object: Location filter - object with location data and checked status, e.g. { "1": { id: 1, name: "Location 1", address: "Address 1", checked: true } } or empty object {}
      - `doctors` object: Doctor filter - object with doctor data and checked status, e.g. { "1": { id: 1, name: "Doctor 1", agendaId: 1, checked: true } } or empty object {}
      - `preferredDates` object: Preferred dates filter - object with date data and checked status, e.g. { "1": { dayNumber: 1, startDate: "00:00", endDate: "23:59", checked: true } }
    - `numberOfActiveFilters` number: Number of active filters (filters that differ from default)
    - `recommendedCaregivers` object[]: List of recommended caregivers for the patient
      - `id` number
      - `lastName` string
      - `firstName` string
      - `agendaId` number
      - `specialisationId` number
      - `specialisationDisplay` string
    - `selectedRecommendedCaregiver` number: Selected recommended caregiver ID
    - `endNodeTitle` string: End-node title (used for contact/emergency steps when the flow is rebuilt via getCurrentStep)
    - `endNodeDescription` string: End-node description (used for contact/emergency steps when the flow is rebuilt via getCurrentStep)
    - `otherDepartmentData` object, required
      - `departmentName` string
      - `phoneNumber` string
      - `phoneNumberDisplay` string
      - `websiteUrl` string
  - `currentStep` FlowStepDto, required: The current step information
    - `type` 'recommended-caregivers' | 'specialisation-selection' | 'triage-question' | 'disclaimer' | 'specialisation-info' | 'contact' | 'emergency' | 'slot-selection' | 'confirmation' | 'success' | 'no-digital-booking' | 'other-department', required: Type of step
    - `title` string, required: Step title for UI
    - `description` string: Step description for UI
    - `isFinal` boolean, required: Whether this is a final step (no next step possible)
    - `canGoBack` boolean, required: Whether this step can be navigated back from
    - `data` object: Step-specific data

## Other responses

- `201`

## Changes

- **2026-09-03** `4311890907c0`: 2 warning, 1 info
  - added the new `other-department` enum value to the `currentStep/allOf[#/components/schemas/FlowStepDto]/type` response property for the response status `200`
  - added the new `other-department` enum value to the `flowState/allOf[#/components/schemas/FlowStateDto]/currentStep` response property for the response status `200`
  - added the required property `flowState/allOf[#/components/schemas/FlowStateDto]/otherDepartmentData` to the response with the `200` status

[Operation history](https://skmtc.dev/mijnziekenhuis/apis/healthblocks/changes/triage/navigate/post.md)

---

[API](https://skmtc.dev/mijnziekenhuis/apis/healthblocks.md) - [All operations](https://skmtc.dev/mijnziekenhuis/apis/healthblocks/llms.txt) - [OpenAPI document](https://skmtc.dev/mijnziekenhuis/apis/healthblocks/revisions/2da585b2afd2?raw)
