---
title: "GET /workorders/{workorderId}/attachments/{attachmentId}/thumbnail"
method: GET
path: "/workorders/{workorderId}/attachments/{attachmentId}/thumbnail"
tags: ["Attachments"]
---

# GET /workorders/{workorderId}/attachments/{attachmentId}/thumbnail

`GET /workorders/{workorderId}/attachments/{attachmentId}/thumbnail`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/workorders/{workorderId}/attachments/{attachmentId}/thumbnail`
- 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/workorders/:workorderId/attachments/:attachmentId/thumbnail/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `workorderId` integer, required
- `attachmentId` integer, required

## Query parameters

- `width` integer
- `height` integer
- `mode` 'None' | 'Max' | 'Pad' | 'Crop' | 'Carve' | 'Stretch'
- `imageFormat` string

## Response `200`

OK

- SystemObject

---

[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)
