---
title: "Replaces reading list cover image and locks it with a base64 encoded image"
method: POST
path: "/api/Upload/reading-list"
tags: ["Upload"]
---

# Replaces reading list cover image and locks it with a base64 encoded image

`POST /api/Upload/reading-list`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Upload/reading-list`
- Auth: API key in header `x-api-key`

This is the only API that can be called by non-admins, but the authenticated user must have a readinglist permission

## Request body

- UploadCoverFileDto
  - `id` integer, required
  - `url` string, nullable
  - `fileName` string, nullable
  - `lockCover` boolean

## Response `200`

OK

## Changes

- **2026-05-31** `3d5b8ba8bc3b`: 6 info
  - added the new optional request property `fileName` (media type: application/json)
  - added the new optional request property `fileName` (media type: text/json)
  - added the new optional request property `fileName` (media type: application/*+json)
  - the request property `url` became optional (media type: application/json)
  - …2 more

[Operation history](https://skmtc.dev/kareadita/apis/kavita/changes/api/Upload/reading-list/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)
