---
title: "Ensure the alias is valid to be added. For example, the alias cannot be on another person or be the same as the current person name/alias."
method: POST
path: "/api/Person/valid-alias"
tags: ["Person"]
---

# Ensure the alias is valid to be added. For example, the alias cannot be on another person or be the same as the current person name/alias.

`POST /api/Person/valid-alias`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Person/valid-alias`
- Auth: API key in header `x-api-key`

## Request body

- PersonAliasCheckDto
  - `personId` integer, required
  - `name` string, required
  - `alias` string, required

## Response `200`

OK

- boolean

## Changes

- **2025-10-25** `07751d5dca44`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kareadita/apis/kavita/changes/api/Person/valid-alias/post.md)

---

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