---
title: "Set Thumbnail"
method: POST
path: "/library/{libraryId}/videos/{videoId}/thumbnail"
tags: ["Manage Videos"]
---

# Set Thumbnail

`POST /library/{libraryId}/videos/{videoId}/thumbnail`

## Path parameters

- `libraryId` integer, required
- `videoId` string, required

## Query parameters

- `thumbnailUrl` string, nullable

## Response `200`

The thumbnail was successfully set

- StatusModel
  - `success` boolean — Determines if the request was successful
  - `message` string, nullable — Response message description
  - `statusCode` integer — The response status code

## Other responses

- `400` — The request or URL was invalid
- `401` — The request authentication failed
- `403` — The request authorization failed
- `404` — The requested video was not found
- `422` — Unable to fetch thumbnail from origin
- `500` — Internal Server Error

---

[API](https://skmtc.net/bunny/apis/bunny-net-cdn-logging.md) · [All operations](https://skmtc.net/bunny/apis/bunny-net-cdn-logging/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bunny/bunny-net-cdn-logging/revisions/9e622620664b/schema)
