---
title: "Retrieve Attachment Thumbnail"
method: GET
path: "/odata/proposals({proposalId})/attachments({attachmentId})/Service.GetThumbnail(width={width},height={height},mode={mode},imageFormat={imageFormat})"
tags: ["Attachments"]
---

# Retrieve Attachment Thumbnail

`GET /odata/proposals({proposalId})/attachments({attachmentId})/Service.GetThumbnail(width={width},height={height},mode={mode},imageFormat={imageFormat})`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/odata/proposals({proposalId})/attachments({attachmentId})/Service.GetThumbnail(width={width},height={height},mode={mode},imageFormat={imageFormat})`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/odata/proposals(:proposalId)/attachments(:attachmentId)/Service.GetThumbnail(width=:width,height=:height,mode=:mode,imageFormat=:imageFormat)/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve Attachment Thumbnail

## Path parameters

- `imageFormat` string, required
- `mode` string, required
- `height` integer, required
- `width` integer, required
- `attachmentId` integer, required
- `proposalId` integer, required

## Query parameters

- `$expand` string
- `$select` string
- `$filter` string
- `$orderby` string
- `$top` integer
- `$skip` integer
- `$count` boolean

## Response `200`

Indicates that the request succeeded and that the requested information is in the response.

- SystemNetHttpByteArrayContent
  - `Headers` SystemCollectionsGenericKeyValuePairSystemStringSystemCollectionsGenericIEnumerableSystemString[]
    - `Key` string
    - `Value` string[]

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
