---
title: "Create tasks for a story"
method: POST
path: "/projects/{appId}/stories/{storyId}/tasks"
tags: ["tasks"]
---

# Create tasks for a story

`POST /projects/{appId}/stories/{storyId}/tasks`

## Request

- Base URL: `https://epics-api.mendix.com/v1`
- URL: `https://epics-api.mendix.com/v1/projects/{appId}/stories/{storyId}/tasks`
- Auth: API key in header `Authorization`

Returns an array of created tasks.

## Path parameters

- `appId` string, uuid, required
- `storyId` string, required

## Request body

- object[]
  - `title` string
  - `isDone` boolean

## Response `200`

Successful operation

- object
  - `items` object[]
    - `code` integer
    - `task` object
      - `uuid` string

## Other responses

- `207`: Partial successful operation
- `400`: The request likely contains invalid data or is missing data. The error response gives additional feedback.
- `401`: No usable authentication credentials were found. The error response gives additional feedback.
- `404`: The required item could not be found. The error response gives additional feedback.

---

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