---
title: "Create Schedule"
method: POST
path: "/api/schedules/"
tags: ["schedules"]
---

# Create Schedule

`POST /api/schedules/`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/schedules/`
- Auth: HTTP bearer

Create a new schedule for a workflow

## Request body

- ScheduleCreate
  - `workflow_id` string, required
  - `schedule_type` string, required
  - `time_of_day` string
  - `days_of_week` string, nullable
  - `day_of_month` integer, nullable
  - `cron_expression` string, nullable
  - `timezone` string
  - `is_enabled` boolean
  - `notification_email` string, nullable
  - `notify_on_start` boolean
  - `notify_on_complete` boolean
  - `notify_on_failure` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
