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

# GetAttachmentInfo

`GET /v3/attachments/{attachmentId}`

Get AttachmentInfo structure describing the attachment views

## Path parameters

- `attachmentId` string, required

## Response `200`

An attachmentInfo object is returned which describes the:
* type of the attachment
* name of the attachment


and an array of views:
* Size - size of the object
* ViewId - View Id which can be used to fetch a variation on the content (ex: original or thumbnail)

- AttachmentInfo — Metdata for an attachment
  - `name` string — Name of the attachment
  - `type` string — ContentType of the attachment
  - `views` AttachmentView[] — attachment views
    - `viewId` string — Content type of the attachment
    - `size` integer — Name of the attachment

## Other responses

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