---
title: "Creates a new Device"
method: POST
path: "/api/Device/create"
tags: ["Device"]
---

# Creates a new Device

`POST /api/Device/create`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Device/create`
- Auth: API key in header `x-api-key`

## Request body

- CreateEmailDeviceDto
  - `name` string, required
  - `platform` 0 | 1 | 2 | 3, required: Members: - `0` — Custom - `1` — PocketBook - `2` — Kindle - `3` — Kobo
  - `emailAddress` string, required

## Response `200`

OK

- EmailDeviceDto
  - `id` integer
  - `name` string, nullable
  - `emailAddress` string, nullable
  - `platform` 0 | 1 | 2 | 3: Members: - `0` — Custom - `1` — PocketBook - `2` — Kindle - `3` — Kobo

---

[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)
