---
title: "Set the thumbnail image for an application element."
method: POST
path: "/thumbnails/d/{did}/{wv}/{wvid}/e/{eid}"
tags: ["Thumbnail"]
---

# Set the thumbnail image for an application element.

`POST /thumbnails/d/{did}/{wv}/{wvid}/e/{eid}`

## Request

- Base URL: `https://api.onshape.com/api/v17`
- URL: `https://api.onshape.com/api/v17/thumbnails/d/{did}/{wv}/{wvid}/e/{eid}`
- Auth: OAuth 2 (authorization code, authorization URL `/oauth/authorize`, token URL `/oauth/token`, scopes: `OAuth2Write`) and HTTP basic

* Allows 3rd-party applications to set thumbnails for their elements. 
* Application elements can have both primary and secondary thumbnails. A primary thumbnail represents the top-level of the element. A secondary thumbnail can represent sub-components of the element (e.g., a drawing sheet).
* To update one or more thumbnails, you must set the overwrite query param to `true` and supply the entire set of thumbnails. All previous thumbnails will be deleted prior to updating the element with the latest images.

## Path parameters

- `did` string, required
- `wv` 'w' | 'v', required
- `wvid` string, required
- `eid` string, required

## Query parameters

- `linkDocumentId` string
- `overwrite` boolean

## Response `default`

default response

---

[API](https://skmtc.dev/onshape/apis/onshape-rest-api.md) · [All operations](https://skmtc.dev/onshape/apis/onshape-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/onshape/apis/onshape-rest-api/revisions/a12d3ade22dd?raw)
