---
title: "GetAttachment"
method: GET
path: "/v3/attachments/{attachmentId}/views/{viewId}"
tags: ["Attachments"]
---

# GetAttachment

`GET /v3/attachments/{attachmentId}/views/{viewId}`

Get the named view as binary content

## Path parameters

- `attachmentId` string, required
- `viewId` string, required

## Response `200`

Attachment stream

- string, binary

## Other responses

- `301` — The Location header describes where the content is now.
- `302` — The Location header describes where the content is now.
- `default` — The operation failed and the response is an error object describing the status code and failure.

---

[API](https://skmtc.net/poshbotio/apis/microsoft-bot-connector-api-v3-0.md) · [All operations](https://skmtc.net/poshbotio/apis/microsoft-bot-connector-api-v3-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/poshbotio/microsoft-bot-connector-api-v3-0/revisions/ea45ea47a3fb/schema)
