---
title: "List courses"
method: GET
path: "/api/business/{businessId}/branch/{branchId}/course"
tags: ["Course"]
---

# List courses

`GET /api/business/{businessId}/branch/{branchId}/course`

Get a list of courses for the specified business id and branch id. There is a possibility to include archived courses

## Path parameters

- `businessId` string, required
- `branchId` string, required

## Query parameters

- `includeArchived` boolean

## Response `200`

Courses listed

- DataPagedModelCourse
  - `_embedded` object
    - `courses` Course[]
      - `courseId` string
      - `courseName` string
      - `availableOnline` boolean
      - `archived` boolean
      - `multiBranchCourse` boolean
      - `minDaysBetweenSessions` integer
      - `maxDaysBetweenSessions` integer
      - `totalPrice` number
      - `courseItems` CourseItem[]
        - `courseItemId` string
        - `unitType` 'SESSIONS' | 'MINUTES'
        - `totalUnits` integer
        - `totalPrice` number
        - `serviceId` string
  - `page` PageMetadata
    - `size` integer
    - `totalElements` integer
    - `totalPages` integer
    - `number` integer

## Other responses

- `400` — Bad Request
- `404` — Business or branch with the specified ids don't exist
- `429` — Request rate limit exceeded. Current limit set to 100 rps.
- `500` — Internal Server Error

---

[API](https://skmtc.net/phorest/apis/third-party-api.md) · [All operations](https://skmtc.net/phorest/apis/third-party-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phorest/third-party-api/versions/2218bc90d39c/schema)
