---
title: "Imports a MAL Stack into Kavita"
method: POST
path: "/api/Collection/import-stack"
tags: ["Collection"]
---

# Imports a MAL Stack into Kavita

`POST /api/Collection/import-stack`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Collection/import-stack`
- Auth: API key in header `x-api-key`

## Request body

- MalStackDto
  - `title` string, nullable, required
  - `stackId` integer, required
  - `url` string, nullable, required
  - `author` string, nullable, required
  - `seriesCount` integer, required
  - `restackCount` integer, required
  - `existingId` integer

## Response `200`

OK

---

[API](https://skmtc.dev/kareadita/apis/kavita.md) - [All operations](https://skmtc.dev/kareadita/apis/kavita/llms.txt) - [OpenAPI document](https://skmtc.dev/kareadita/apis/kavita/revisions/d266465eeb67?raw)
