---
title: "saveSchedule"
method: POST
path: "/core/api/v1/coaching/settings/schedules"
tags: ["coaching-schedule-controller"]
---

# saveSchedule

`POST /core/api/v1/coaching/settings/schedules`

## Request

- Base URL: `https://api.freshlearn.com`
- URL: `https://api.freshlearn.com/core/api/v1/coaching/settings/schedules`
- Auth: none declared

## Query parameters

- `userId` integer

## Headers

- `Authorization` string
- `domain` string
- `api-key` string

## Request body

- CoachingAvailabilityScheduleDTO
  - `blackouts` CoachingAvailabilityBlackoutDTO[]
    - `blackoutDate` string
    - `id` integer
    - `reason` string
  - `default` boolean
  - `id` integer
  - `name` string
  - `timezone` string
  - `usedByCount` integer
  - `userId` integer
  - `windows` CoachingAvailabilityWindowDTO[]
    - `dayOfWeek` integer
    - `endTime` string
    - `id` integer
    - `slotOrder` integer
    - `startTime` string

## Response `200`

OK

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/freshlearn/apis/freshlearn-api.md) · [All operations](https://skmtc.dev/freshlearn/apis/freshlearn-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freshlearn/apis/freshlearn-api/revisions/8a82ee14b586?raw)
