---
title: "Create sprint"
method: POST
path: "/projects/{project_id}/sprints"
tags: ["project"]
---

# Create sprint

`POST /projects/{project_id}/sprints`

## Request

- Base URL: `https://api.ora.pm`
- URL: `https://api.ora.pm/projects/{project_id}/sprints`
- Auth: OAuth 2
  - Authorization code: `https://app.ora.pm/authorize`
  - Token URL: `https://api.ora.pm/oauth/token` scopes: `read`, `write`

## Request body

- CreateSprint
  - `title` string, required: Title of the sprint.
  - `duration` integer, required: Duration of the sprint in days.
  - `done_list` integer: Counter for completed tasks in the done list.

## Response `200`

OK

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

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