---
title: "Create multiple schedules at once with optional JIRA integration"
method: POST
path: "/schedules/batch"
tags: ["Schedules"]
---

# Create multiple schedules at once with optional JIRA integration

`POST /schedules/batch`

## Request

- Base URL: `https://quads.example.com/api/v3`
- URL: `https://quads.example.com/api/v3/schedules/batch`
- Auth: HTTP bearer

Validates all hosts before creating any schedules; if any host is unavailable the entire operation fails. Creates a new assignment when assignment details are provided, otherwise reuses the existing active assignment for the cloud.

## Request body

- object
  - `cloud` string, required
  - `hostnames` string[], required
  - `start` string, required
  - `end` string, required
  - `description` string
  - `owner` string
  - `ticket` string
  - `ccuser` string
  - `vlan` integer
  - `qinq` integer
  - `wipe` boolean

## Response `201`

Schedules created

- object
  - `assignment_id` integer
  - `schedules_created` integer
  - `hostnames` string[]
  - `jira_updated` boolean

## Other responses

- `400`: Bad Request - one or more hosts unavailable

## Changes

- **2026-09-03** `2e3ea363a088`: 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `201`
- **2026-09-03** `510245a0bbf3`: 1 breaking, 1 info
  - removed the success response with the status `201`
  - added the success response with the status `200`
- **2026-09-03** `78a6babf3c1e`: 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `201`
- **2026-09-02** `66987ade4877`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quadsproject/apis/quads/changes/schedules/batch/post.md)

---

[API](https://skmtc.dev/quadsproject/apis/quads.md) - [All operations](https://skmtc.dev/quadsproject/apis/quads/llms.txt) - [OpenAPI document](https://skmtc.dev/quadsproject/apis/quads/revisions/9d9de833ae79?raw)
