---
title: "Create Schedule"
method: POST
path: "/v2/teams/{team_id}/schedules"
tags: ["Schedule API"]
---

# Create Schedule

`POST /v2/teams/{team_id}/schedules`

Create a business hours schedule for a team. Schedules define working hours used by SLA policies.

## Path parameters

- `team_id` string, required — The ID of the team to create the schedule for.

## Request body

- object
  - `name` string — The name of the schedule.
  - `timezone` string — IANA timezone identifier, e.g. "America/New_York". Defaults to "UTC" if not provided.
  - `weeklyHours` SvhelpModelsWeeklyHours — WeeklyHours defines business hours for each day of the week.
    - `sunday` SvhelpModelsTimeWindow[]
      - `start` string — HH:MM format, e.g., "09:00"
      - `end` string — HH:MM format, e.g., "17:00"
    - `monday` SvhelpModelsTimeWindow[]
      - `start` string — HH:MM format, e.g., "09:00"
      - `end` string — HH:MM format, e.g., "17:00"
    - `tuesday` SvhelpModelsTimeWindow[]
      - `start` string — HH:MM format, e.g., "09:00"
      - `end` string — HH:MM format, e.g., "17:00"
    - `wednesday` SvhelpModelsTimeWindow[]
      - `start` string — HH:MM format, e.g., "09:00"
      - `end` string — HH:MM format, e.g., "17:00"
    - `thursday` SvhelpModelsTimeWindow[]
      - `start` string — HH:MM format, e.g., "09:00"
      - `end` string — HH:MM format, e.g., "17:00"
    - `friday` SvhelpModelsTimeWindow[]
      - `start` string — HH:MM format, e.g., "09:00"
      - `end` string — HH:MM format, e.g., "17:00"
    - `saturday` SvhelpModelsTimeWindow[]
      - `start` string — HH:MM format, e.g., "09:00"
      - `end` string — HH:MM format, e.g., "17:00"

## Response `200`

Success

- SvhelpPublicapiCreateScheduleResponse
  - `data` SvhelpModelsSchedule — Schedule represents a recurring weekly time pattern. Referenced by SLA definitions (when the SLA clock runs) and change blackout schedules (when changes are blocked).
    - `id` string
    - `teamId` string
    - `name` string
    - `timezone` string — IANA timezone, e.g., "America/New_York"
    - `weeklyHours` SvhelpModelsWeeklyHours — WeeklyHours defines business hours for each day of the week.
      - `sunday` SvhelpModelsTimeWindow[]
        - `start` string — HH:MM format, e.g., "09:00"
        - `end` string — HH:MM format, e.g., "17:00"
      - `monday` SvhelpModelsTimeWindow[]
        - `start` string — HH:MM format, e.g., "09:00"
        - `end` string — HH:MM format, e.g., "17:00"
      - `tuesday` SvhelpModelsTimeWindow[]
        - `start` string — HH:MM format, e.g., "09:00"
        - `end` string — HH:MM format, e.g., "17:00"
      - `wednesday` SvhelpModelsTimeWindow[]
        - `start` string — HH:MM format, e.g., "09:00"
        - `end` string — HH:MM format, e.g., "17:00"
      - `thursday` SvhelpModelsTimeWindow[]
        - `start` string — HH:MM format, e.g., "09:00"
        - `end` string — HH:MM format, e.g., "17:00"
      - `friday` SvhelpModelsTimeWindow[]
        - `start` string — HH:MM format, e.g., "09:00"
        - `end` string — HH:MM format, e.g., "17:00"
      - `saturday` SvhelpModelsTimeWindow[]
        - `start` string — HH:MM format, e.g., "09:00"
        - `end` string — HH:MM format, e.g., "17:00"
    - `createdAt` string, date-time — A timestamp in RFC 3339 format (e.g., "2025-01-15T01:30:15Z").
    - `updatedAt` string, date-time — A timestamp in RFC 3339 format (e.g., "2025-01-15T01:30:15Z").

## Other responses

- `default` — Error

---

[API](https://skmtc.net/serval/apis/serval-public-api.md) · [All operations](https://skmtc.net/serval/apis/serval-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serval/serval-public-api/versions/0549515e9384/schema)
