---
title: "Validates the external source by host is unique (for this user)"
method: POST
path: "/api/Stream/external-source-exists"
tags: ["Stream"]
---

# Validates the external source by host is unique (for this user)

`POST /api/Stream/external-source-exists`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Stream/external-source-exists`
- Auth: API key in header `x-api-key`

## Request body

- ExternalSourceDto
  - `id` integer, required
  - `name` string, nullable, required
  - `host` string, nullable, required
  - `apiKey` string, nullable, required

## Response `200`

OK

- boolean

## Changes

- **2026-01-04** `d871bfda2376`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kareadita/apis/kavita/changes/api/Stream/external-source-exists/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)
