---
title: "Create new stories"
method: POST
path: "/api/sync/{mapId}/stories"
tags: ["Sync"]
---

# Create new stories

`POST /api/sync/{mapId}/stories`

## Request

- Base URL: `https://intentdocs.com`
- URL: `https://intentdocs.com/api/sync/{mapId}/stories`
- Auth: none declared

Bulk create new user stories for a story map.

## Path parameters

- `mapId` string, required

## Request body

- object
  - `stories` object[], required
    - `title` string, required
    - `activity` string
    - `as_a` string
    - `i_want` string
    - `so_that` string
    - `priority` 'must' | 'should' | 'could'
    - `effort` 'XS' | 'S' | 'M' | 'L' | 'XL'
    - `release_order` number
    - `acceptance_criteria` union[]
      - union
        - string
        - AcceptanceCriterion
          - `id` string
          - `text` string
          - `done` boolean
          - `given` string, nullable
          - `when` string, nullable
          - `then` string, nullable
          - `priority` string, nullable
          - `verification` string, nullable
          - `last_result` string, nullable

## Response `201`

Stories created successfully

- object
  - `created` number
  - `stories` object[]
    - `id` string
    - `title` string
    - `activity` string

## Other responses

- `400`: Invalid request
- `401`: No CLI bearer, or no standing on the map's project

---

[API](https://skmtc.dev/intentdocs/apis/intentdocs-api.md) · [All operations](https://skmtc.dev/intentdocs/apis/intentdocs-api/llms.txt) · [OpenAPI document](https://skmtc.dev/intentdocs/apis/intentdocs-api/revisions/28abdea021d0?raw)
